/* MESIN TECHNOVATION - Mockup Design Styles */
:root {
    --primary: #002147;
    --primary-dark: #001530;
    --primary-light: #003366;
    --accent: #1e88e5;
    --accent-hover: #1565c0;
    --accent-light: #e3f2fd;
    --hero-bg: #eef6fc;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-400: #adb5bd;
    --gray-600: #6c757d;
    --gray-800: #333333;
    --footer-bg: #001a33;
    --footer-bottom: #000d1a;
    --font-primary: 'Open Sans', sans-serif;
    --font-display: 'Montserrat', sans-serif;
    --shadow: 0 2px 15px rgba(0, 33, 71, 0.08);
    --shadow-card: 0 4px 20px rgba(0, 33, 71, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary);
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }
img.brand-logo-img { max-width: none; }

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.8rem;
}
.top-bar-left {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}
.top-bar-left span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.top-bar-left i { color: var(--accent); font-size: 0.75rem; }
.top-bar-social { display: flex; gap: 12px; }
.top-bar-social a {
    color: var(--white);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}
.top-bar-social a:hover { color: var(--accent); }

/* ========== MAIN NAVBAR (WHITE) ========== */
.main-navbar {
    background: var(--white) !important;
    padding: 12px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.main-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}
.brand-logo {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: transparent;
}
.brand-logo-img {
    width: 72px;
    height: 72px;
    max-width: none;
    object-fit: contain;
    display: block;
}
.footer-logo {
    width: 58px;
    height: 58px;
}
.footer-logo .brand-logo-img {
    width: 58px;
    height: 58px;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.brand-text strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}
.main-navbar .navbar-brand {
    padding: 4px 0;
}
.brand-text small {
    font-size: 0.7rem;
    color: var(--gray-600);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.main-navbar .nav-link {
    color: var(--gray-800) !important;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    padding: 10px 12px !important;
    position: relative;
    text-transform: uppercase;
}
.main-navbar .nav-link:hover { color: var(--accent) !important; }
.main-navbar .nav-link.active {
    color: var(--accent) !important;
}
.main-navbar .nav-link.active:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--accent);
}
.main-navbar .navbar-toggler {
    border-color: var(--primary);
}
/* ========== PRODUCTS DROPDOWN (colour + smooth animation) ========== */
.products-nav-toggle {
    border: 2px solid transparent;
    border-radius: 6px;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav-dropdown-hover:hover .products-nav-toggle,
.nav-dropdown-hover .products-nav-toggle[aria-expanded="true"],
.nav-dropdown-hover .products-nav-toggle.active {
    color: var(--accent) !important;
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(30, 136, 229, 0.2);
}
.nav-dropdown-hover .dropdown-toggle::after {
    transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
    vertical-align: 0.15em;
}
.nav-dropdown-hover:hover .dropdown-toggle::after,
.nav-dropdown-hover .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.products-dropdown-menu {
    border: none !important;
    border-radius: 10px !important;
    padding: 0 !important;
    min-width: 280px !important;
    overflow: hidden;
    background: var(--white) !important;
    box-shadow: 0 12px 40px rgba(0, 33, 71, 0.15), 0 0 0 1px rgba(30, 136, 229, 0.08) !important;
    margin-top: 8px !important;
}

.products-dropdown-menu::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, #64b5f6 100%);
}

.dropdown-menu-label {
    list-style: none;
    padding: 14px 20px 10px;
    margin: 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fc 100%);
    border-bottom: 1px solid #d4e8f7;
}
.dropdown-menu-label span {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.dropdown-menu-label i {
    color: var(--accent);
    font-size: 0.9rem;
}

.products-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px !important;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-800);
    border-left: 3px solid transparent;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, padding-left 0.25s ease;
}
.products-dropdown-menu .dropdown-item i {
    width: 28px;
    height: 28px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.products-dropdown-menu .dropdown-item:hover,
.products-dropdown-menu .dropdown-item:focus {
    background: linear-gradient(90deg, #e3f2fd 0%, #f5fbff 100%);
    color: var(--accent);
    border-left-color: var(--accent);
    padding-left: 24px !important;
}
.products-dropdown-menu .dropdown-item:hover i {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.08);
}

.products-dropdown-menu .dropdown-divider {
    margin: 6px 16px;
    border-color: #d4e8f7;
    opacity: 1;
}

.products-dropdown-menu .dropdown-item-all {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white) !important;
    margin: 8px 12px 12px;
    border-radius: 8px;
    border-left: none !important;
    padding: 12px 18px !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    justify-content: space-between;
}
.products-dropdown-menu .dropdown-item-all:hover {
    background: linear-gradient(135deg, var(--accent) 0%, #1565c0 100%) !important;
    color: var(--white) !important;
    padding-left: 18px !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 136, 229, 0.35);
}
.products-dropdown-menu .dropdown-item-all i {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: auto;
    height: auto;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Dropdown open/close animation */
@keyframes dropdownPanelIn {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes dropdownItemSlide {
    0% {
        opacity: 0;
        transform: translateX(-12px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (min-width: 992px) {
    .nav-dropdown-hover {
        position: relative;
    }
    .nav-dropdown-hover .products-dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(12px) scale(0.95);
        transform-origin: top center;
        transition:
            opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0.35s;
        pointer-events: none;
    }
    .nav-dropdown-hover:hover .products-dropdown-menu,
    .nav-dropdown-hover .products-dropdown-menu.show {
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
        animation: dropdownPanelIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .nav-dropdown-hover:hover .products-dropdown-menu .dropdown-item,
    .nav-dropdown-hover .products-dropdown-menu.show .dropdown-item {
        animation: dropdownItemSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
        animation-delay: var(--item-delay, 0s);
    }
    .nav-dropdown-hover:hover .products-dropdown-menu .dropdown-menu-label,
    .nav-dropdown-hover .products-dropdown-menu.show .dropdown-menu-label {
        animation: dropdownItemSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    }
    .nav-dropdown-hover:hover .products-dropdown-menu .dropdown-item-all,
    .nav-dropdown-hover .products-dropdown-menu.show .dropdown-item-all {
        animation: dropdownItemSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.32s backwards;
    }
}

/* Mobile: coloured dropdown when expanded */
@media (max-width: 991.98px) {
    .products-dropdown-menu {
        margin-top: 4px !important;
        box-shadow: none !important;
        border: none !important;
        background: rgba(255, 255, 255, 0.85) !important;
        border-radius: 12px !important;
        padding: 8px !important;
        animation: mobileSubMenuIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-dropdown-hover .products-nav-toggle[aria-expanded="true"] {
        background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
        border-color: #f97316 !important;
        color: #ea580c !important;
    }
    .products-dropdown-menu .dropdown-item {
        border-radius: 8px;
        margin-bottom: 2px;
    }
}

/* ========== MOBILE NAV (colourful + animated) ========== */
@keyframes mobileNavPanelIn {
    from { opacity: 0; transform: translateY(-12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes mobileNavItemIn {
    from { opacity: 0; transform: translateX(-18px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes mobileSubMenuIn {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 600px; }
}

@media (max-width: 991.98px) {
    .mobile-menu-toggle {
        border: none !important;
        padding: 8px 10px;
        border-radius: 10px;
        background: linear-gradient(135deg, #eff6ff, #fef3c7);
        box-shadow: 0 2px 10px rgba(30, 136, 229, 0.15);
        transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    }
    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:focus {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(30, 136, 229, 0.25);
    }
    .mobile-menu-toggle[aria-expanded="true"] {
        background: linear-gradient(135deg, #1e88e5, #f97316);
    }
    .mobile-toggle-bars {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 22px;
    }
    .mobile-toggle-bars span {
        display: block;
        height: 2.5px;
        border-radius: 3px;
        background: var(--primary);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s, background 0.3s;
    }
    .mobile-menu-toggle[aria-expanded="true"] .mobile-toggle-bars span {
        background: #fff;
    }
    .mobile-menu-toggle[aria-expanded="true"] .mobile-toggle-bars span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    .mobile-menu-toggle[aria-expanded="true"] .mobile-toggle-bars span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .mobile-menu-toggle[aria-expanded="true"] .mobile-toggle-bars span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    .main-navbar .mobile-nav-panel {
        background: linear-gradient(165deg, #eff6ff 0%, #ffffff 45%, #fff7ed 100%);
        padding: 14px 12px 16px;
        margin-top: 12px;
        border-radius: 16px;
        border: 1px solid rgba(30, 136, 229, 0.15);
        box-shadow: 0 12px 40px rgba(0, 33, 71, 0.12);
    }
    .main-navbar .mobile-nav-panel.mobile-nav-open,
    .main-navbar .mobile-nav-panel.show {
        animation: mobileNavPanelIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .mobile-nav-list .mobile-nav-icon {
        display: none;
    }
    .mobile-nav-list .mobile-nav-label {
        display: inline;
    }

    .mobile-nav-list .mobile-nav-item .nav-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px !important;
        margin-bottom: 6px;
        border-radius: 12px;
        border: 1px solid transparent;
        font-size: 0.82rem !important;
        transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    }
    .mobile-nav-list .mobile-nav-item .nav-link:not(.dropdown-toggle)::after {
        display: none !important;
    }
    .mobile-nav-list .mobile-nav-item .dropdown-toggle::after {
        margin-left: auto;
    }
    .mobile-nav-list .mobile-nav-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 1rem;
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }
    .mobile-nav-list .mobile-nav-item .nav-link:active {
        transform: scale(0.98);
    }
    .mobile-nav-list .mobile-nav-item .nav-link:hover .mobile-nav-icon,
    .mobile-nav-list .mobile-nav-item .nav-link.active .mobile-nav-icon {
        transform: scale(1.1) rotate(-4deg);
    }

    .nav-color-home .mobile-nav-icon { background: linear-gradient(135deg, #dbeafe, #93c5fd); color: #1d4ed8; }
    .nav-color-home .nav-link.active,
    .nav-color-home .nav-link:hover { background: #eff6ff; color: #1d4ed8 !important; border-color: #bfdbfe; }

    .nav-color-about .mobile-nav-icon { background: linear-gradient(135deg, #ede9fe, #c4b5fd); color: #6d28d9; }
    .nav-color-about .nav-link.active,
    .nav-color-about .nav-link:hover { background: #f5f3ff; color: #6d28d9 !important; border-color: #ddd6fe; }

    .nav-color-products .mobile-nav-icon { background: linear-gradient(135deg, #ffedd5, #fdba74); color: #ea580c; }
    .nav-color-products .nav-link.active,
    .nav-color-products .nav-link:hover { background: #fff7ed; color: #ea580c !important; border-color: #fed7aa; }

    .nav-color-solutions .mobile-nav-icon { background: linear-gradient(135deg, #ccfbf1, #5eead4); color: #0f766e; }
    .nav-color-solutions .nav-link.active,
    .nav-color-solutions .nav-link:hover { background: #f0fdfa; color: #0f766e !important; border-color: #99f6e4; }

    .nav-color-services .mobile-nav-icon { background: linear-gradient(135deg, #dcfce7, #86efac); color: #15803d; }
    .nav-color-services .nav-link.active,
    .nav-color-services .nav-link:hover { background: #f0fdf4; color: #15803d !important; border-color: #bbf7d0; }

    .nav-color-gallery .mobile-nav-icon { background: linear-gradient(135deg, #fce7f3, #f9a8d4); color: #be185d; }
    .nav-color-gallery .nav-link.active,
    .nav-color-gallery .nav-link:hover { background: #fdf2f8; color: #be185d !important; border-color: #fbcfe8; }

    .nav-color-videos .mobile-nav-icon { background: linear-gradient(135deg, #fee2e2, #fca5a5); color: #dc2626; }
    .nav-color-videos .nav-link.active,
    .nav-color-videos .nav-link:hover { background: #fef2f2; color: #dc2626 !important; border-color: #fecaca; }

    .nav-color-contact .mobile-nav-icon { background: linear-gradient(135deg, #e0f2fe, #7dd3fc); color: #0369a1; }
    .nav-color-contact .nav-link.active,
    .nav-color-contact .nav-link:hover { background: #f0f9ff; color: #0369a1 !important; border-color: #bae6fd; }

    .mobile-nav-open .mobile-nav-item {
        animation: mobileNavItemIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    }
    .mobile-nav-open .mobile-nav-item:nth-child(1) { animation-delay: 0.04s; }
    .mobile-nav-open .mobile-nav-item:nth-child(2) { animation-delay: 0.08s; }
    .mobile-nav-open .mobile-nav-item:nth-child(3) { animation-delay: 0.12s; }
    .mobile-nav-open .mobile-nav-item:nth-child(4) { animation-delay: 0.16s; }
    .mobile-nav-open .mobile-nav-item:nth-child(5) { animation-delay: 0.20s; }
    .mobile-nav-open .mobile-nav-item:nth-child(6) { animation-delay: 0.24s; }
    .mobile-nav-open .mobile-nav-item:nth-child(7) { animation-delay: 0.28s; }
    .mobile-nav-open .mobile-nav-item:nth-child(8) { animation-delay: 0.32s; }

    .mobile-nav-footer {
        margin-top: 10px;
        padding-top: 12px;
        border-top: 1px dashed rgba(30, 136, 229, 0.2);
        animation: mobileNavItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.36s backwards;
    }
    .mobile-nav-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 20px;
        border-radius: 12px;
        background: linear-gradient(135deg, #1e88e5 0%, #1565c0 50%, #f97316 100%);
        background-size: 200% auto;
        color: #fff !important;
        font-weight: 700;
        font-size: 0.88rem;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        text-decoration: none;
        box-shadow: 0 6px 20px rgba(30, 136, 229, 0.35);
        transition: background-position 0.4s ease, transform 0.25s ease;
    }
    .mobile-nav-cta:hover {
        background-position: right center;
        transform: translateY(-2px);
        color: #fff !important;
    }
}

@media (min-width: 992px) {
    .mobile-nav-icon,
    .mobile-nav-footer {
        display: none !important;
    }
    .mobile-nav-list .nav-link {
        display: block;
    }
    .mobile-nav-label {
        display: inline;
    }
}

/* ========== HERO SECTION ========== */
.hero-mockup {
    background: linear-gradient(135deg, #eef6fc 0%, #f5fafd 50%, #e8f4fc 100%);
    padding: 50px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at right, rgba(30, 136, 229, 0.06) 0%, transparent 70%);
}
.hero-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.hero-title .highlight {
    color: var(--accent);
}
.hero-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 30px;
    max-width: 480px;
}
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.hero-feature-item {
    text-align: center;
    max-width: 90px;
}
.hero-feature-icon {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    margin: 0 auto 8px;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.35);
}
.hero-feature-item span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
    display: block;
}
.hero-image-wrap {
    position: relative;
    z-index: 1;
}
.hero-main-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
}

/* ========== HOME PRODUCTS (reference mockup) ========== */
.home-products-ref {
    padding: 40px 0 50px;
    background: #f4f6f8;
}
.home-products-ref::before {
    display: none;
}
.home-ref-product-card {
    flex: 0 0 280px;
    width: 280px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: 4px;
    border-top: 3px solid var(--accent);
    box-shadow: 0 2px 14px rgba(0, 33, 71, 0.08);
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.home-ref-product-card:hover {
    box-shadow: 0 6px 24px rgba(0, 33, 71, 0.12);
    transform: translateY(-4px);
}
.home-ref-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}
.home-ref-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.home-ref-card-head h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    line-height: 1.35;
}
.home-ref-card-desc {
    font-size: 0.82rem;
    color: #5a6570;
    line-height: 1.65;
    margin: 0 0 14px;
    flex: 1;
}
.home-ref-card-image {
    background: #eef2f5;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 14px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-ref-card-image img {
    max-height: 150px;
    width: 100%;
    object-fit: contain;
    border-radius: 2px;
}
.home-ref-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent) !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-top: auto;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
.home-ref-card-link:hover {
    color: var(--accent-hover) !important;
    gap: 10px;
}
.home-ref-card-link i {
    font-size: 0.9rem;
    transition: transform 0.25s ease;
}
.home-ref-card-link:hover i {
    transform: translateX(3px);
}
.home-products-section {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 50%, #eef6fb 100%);
    position: relative;
}
.home-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent), #42a5f5);
}

.home-product-card {
    --card-accent: #1e88e5;
    --card-accent-light: #eef6fb;
    --card-accent-dark: #1565c0;
    background: var(--white);
    border: 1px solid rgba(30, 136, 229, 0.18);
    border-radius: 24px;
    padding: 0;
    min-height: 430px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(12, 75, 146, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}
.home-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 60px rgba(12, 75, 146, 0.14);
    border-color: rgba(30, 136, 229, 0.25);
}
.home-product-card-bar {
    height: 6px;
    background: linear-gradient(90deg, var(--card-accent-dark), var(--card-accent), #64b5f5);
}
.home-product-card.theme-blue {
    --card-accent: #1e88e5;
    --card-accent-light: #eef6fb;
    --card-accent-dark: #1565c0;
}
.home-product-card.theme-cyan {
    --card-accent: #00acc1;
    --card-accent-light: #e8f6f8;
    --card-accent-dark: #00838f;
}
.home-product-card.theme-indigo {
    --card-accent: #5c6bc0;
    --card-accent-light: #eef1fc;
    --card-accent-dark: #3949ab;
}
.home-product-card.theme-navy {
    --card-accent: #002147;
    --card-accent-light: #ecf1f8;
    --card-accent-dark: #001530;
}

.home-product-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 26px 26px 0;
    margin-bottom: 12px;
}
.home-product-badge {
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--white);
    background: linear-gradient(135deg, var(--card-accent-dark), var(--card-accent));
    padding: 6px 12px;
    border-radius: 999px;
    flex-shrink: 0;
}
.home-product-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--card-accent-light) 0%, #ffffff 100%);
    color: var(--card-accent);
    border: 2px solid rgba(30, 136, 229, 0.18);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.home-product-card:hover .home-product-icon {
    background: linear-gradient(135deg, var(--card-accent), var(--card-accent-dark));
    color: var(--white);
    border-color: transparent;
    transform: scale(1.05);
}
.home-product-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    line-height: 1.25;
    flex: 1;
}
.home-product-card > p {
    font-size: 0.95rem;
    color: #526475;
    margin: 0 26px 18px;
    line-height: 1.75;
    padding-left: 0;
    border-left: none;
}
.home-product-image {
    position: relative;
    margin: 0 24px 22px;
    padding: 18px;
    background: linear-gradient(145deg, var(--card-accent-light) 0%, #ffffff 100%);
    border-radius: 18px;
    overflow: hidden;
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-product-image img {
    max-height: 210px;
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.5s ease;
}
.home-product-card:hover .home-product-image img {
    transform: scale(1.05);
}
.home-product-image-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}
.home-product-card:hover .home-product-image-shine {
    left: 150%;
}
.read-more-btn {
    margin: 0 26px 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    background: linear-gradient(135deg, var(--card-accent) 0%, var(--card-accent-dark) 100%);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(30, 136, 229, 0.15);
    align-self: flex-start;
}
.read-more-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    color: var(--white) !important;
    gap: 12px;
}
.read-more-btn i {
    transition: transform 0.3s ease;
}
.read-more-btn:hover i {
    transform: translateX(4px);
}

/* Home products horizontal slider */
.home-products-slider-wrap {
    position: relative;
    margin: 0 -12px;
    padding: 0 48px;
}
.home-products-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 136, 229, 0.45) transparent;
    padding: 8px 4px 20px;
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.home-products-slider::-webkit-scrollbar {
    height: 6px;
}
.home-products-slider::-webkit-scrollbar-thumb {
    background: rgba(30, 136, 229, 0.35);
    border-radius: 999px;
}
.home-products-track {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 4px 8px;
}
.home-products-track .home-product-card {
    flex: 0 0 300px;
    width: 300px;
    scroll-snap-align: start;
    min-height: 430px;
}
.home-products-track .home-ref-product-card {
    flex: 0 0 280px;
    width: 280px;
}
.home-products-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary), #1565c0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 33, 71, 0.25);
    transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.home-products-nav:hover:not(.disabled) {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 28px rgba(0, 33, 71, 0.35);
}
.home-products-nav.disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.home-products-nav--prev { left: 0; }
.home-products-nav--next { right: 0; }
.home-products-scroll-hint {
    text-align: center;
    font-size: 0.82rem;
    color: #64748b;
    margin: 4px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.home-products-scroll-hint i {
    color: var(--accent);
}

/* ========== FEATURE BAR ========== */
.feature-bar {
    background: linear-gradient(90deg, #002147 0%, #003366 50%, #004080 100%);
    padding: 32px 0;
}
.feature-bar-item {
    text-align: center;
    color: var(--white);
}
.feature-bar-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    opacity: 0.95;
}
.feature-bar-item span {
    font-size: 0.82rem;
    font-weight: 600;
    display: block;
    line-height: 1.3;
}

/* ========== TRIPLE SECTION (Gallery/Video/Services) ========== */
.home-triple-section {
    padding: 50px 0;
    background: var(--gray-100);
}
.triple-block {
    background: var(--white);
    padding: 20px;
    border-radius: 4px;
    height: 100%;
    box-shadow: var(--shadow);
}
.triple-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-light);
}
.triple-block-header h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    letter-spacing: 0.5px;
}
.view-more {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.view-more:hover { color: var(--accent-hover); }

/* Photo Grid 2x3 */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.photo-grid-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}
.photo-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.photo-grid-item:hover img { transform: scale(1.08); }
.photo-grid-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 18px 6px 6px;
    background: linear-gradient(to top, rgba(0, 33, 71, 0.9), transparent);
    color: var(--white);
    font-size: 0.62rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    display: block;
    pointer-events: none;
}

/* Video Gallery Home */
.video-gallery-home .video-main {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    cursor: pointer;
    aspect-ratio: 16/10;
}
.video-gallery-home .video-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 33, 71, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-play-overlay i {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.video-thumbs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.video-thumb-item {
    cursor: pointer;
    text-align: center;
}
.video-thumb-item img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 4px;
}
.video-thumb-item span {
    font-size: 0.72rem;
    font-weight: 500;
    color: #64748b;
    display: block;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

/* Services List */
.services-list-home {
    list-style: none;
    padding: 0;
    margin: 0;
}
.services-list-home li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 4px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.25s ease, padding-left 0.25s ease;
}
.services-list-home li:hover {
    color: var(--accent);
    padding-left: 6px;
}
.services-list-home li:last-child { border-bottom: none; }
.service-list-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(145deg, #001530 0%, #002147 55%, #003366 100%);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 21, 48, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.services-list-home li:hover .service-list-icon {
    background: linear-gradient(145deg, #002147 0%, #003366 50%, #004080 100%);
    box-shadow: 0 6px 16px rgba(0, 33, 71, 0.35);
    transform: scale(1.05);
}
.triple-block-header {
    border-bottom-color: #cbd5e1;
}

/* ========== GET IN TOUCH — compact colourful ========== */
.home-contact-compact {
    padding: 38px 0 42px;
    background: linear-gradient(180deg, #eef6fc 0%, #f8fafc 100%);
}
.home-contact-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(0, 33, 71, 0.12);
    border: 1px solid rgba(30, 136, 229, 0.15);
}
.contact-info-compact {
    background: linear-gradient(160deg, #001530 0%, #002147 40%, #1e88e5 100%);
    padding: 28px 24px;
    height: 100%;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contact-info-compact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.contact-compact-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}
.contact-compact-text {
    font-size: 0.85rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.contact-compact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}
.contact-compact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.86rem;
    line-height: 1.45;
}
.contact-compact-list li:last-child { margin-bottom: 0; }
.contact-compact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.contact-compact-icon.icon-phone { background: linear-gradient(135deg, #059669, #10b981); }
.contact-compact-icon.icon-email { background: linear-gradient(135deg, #d97706, #f59e0b); }
.contact-compact-icon.icon-location { background: linear-gradient(135deg, #dc2626, #ef4444); }
.contact-compact-list a,
.contact-compact-list span {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    word-break: break-word;
}
.contact-compact-list a:hover { color: #fff; text-decoration: underline; }

.contact-form-compact {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    padding: 24px 26px;
    height: 100%;
}
.contact-form-compact .form-control {
    border: 1.5px solid #c5d9ef;
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 0.86rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form-compact .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
    background: #fff;
}
.contact-form-compact textarea.form-control {
    min-height: 96px;
    resize: vertical;
}
.btn-send-compact {
    padding: 11px 24px !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(30, 136, 229, 0.35) !important;
}

/* Legacy contact styles (other pages) */
.home-contact-ref {
    padding: 55px 0 65px;
    background: var(--white);
}

.home-contact-section {
    padding: 70px 0;
    background: var(--white);
}
.home-contact-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 33, 71, 0.1);
    border: 1px solid #e8f0f6;
}

/* Contact info — simple layout (matches reference image) */
.contact-info-simple {
    background: var(--white);
    padding: 48px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-simple-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: #2b7cd3;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.contact-simple-text {
    color: var(--gray-800);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 340px;
}
.contact-simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-simple-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    font-size: 0.95rem;
    color: var(--gray-800);
    line-height: 1.5;
}
.contact-simple-list li:last-child {
    margin-bottom: 0;
}
.contact-simple-list li > i {
    color: #2b7cd3;
    font-size: 1.15rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.contact-simple-list a {
    color: var(--gray-800);
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}
.contact-simple-list a:hover {
    color: #2b7cd3;
}
.contact-simple-list span {
    color: var(--gray-800);
}

.contact-form-panel {
    background: var(--white);
    padding: 48px 44px;
    height: 100%;
}
.form-panel-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--accent), #64b5f6, var(--primary)) 1;
}
.form-panel-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}
.form-panel-header p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}
.form-label-pro {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-label-pro i {
    color: var(--accent);
    font-size: 0.9rem;
}

.home-contact-form .form-control {
    border: 2px solid #e8f0f6;
    border-radius: 10px;
    padding: 13px 18px;
    font-size: 0.92rem;
    background: #fafcfe;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.home-contact-form .form-control:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.12);
}
.home-contact-form textarea {
    resize: vertical;
    min-height: 130px;
}
.btn-send-message {
    background: linear-gradient(135deg, var(--accent) 0%, #1565c0 50%, var(--primary) 100%);
    color: var(--white);
    border: none;
    padding: 16px 36px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 1px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.35s ease;
    box-shadow: 0 6px 22px rgba(30, 136, 229, 0.35);
}
.btn-send-message:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30, 136, 229, 0.45);
    color: var(--white);
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.85);
}
.footer-main {
    padding: 50px 0 35px;
}
.footer-brand-block { max-width: 280px; }
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.footer-brand-text {
    display: flex;
    flex-direction: column;
}
.footer-brand-text strong {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.3px;
}
.footer-brand-text small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.68rem;
}
.footer-about {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}
.footer-social-box {
    display: flex;
    gap: 8px;
}
.footer-social-box a {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-social-box a:hover {
    background: var(--accent);
    color: var(--white);
}
.footer-title {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}
.footer-contact-list {
    list-style: none;
    padding: 0;
}
.footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    align-items: flex-start;
}
.footer-contact-list i {
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-contact-list a {
    color: rgba(255, 255, 255, 0.7);
}
.footer-contact-list a:hover { color: var(--accent); }
.footer-bottom-bar {
    background: var(--footer-bottom);
    padding: 18px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 8px;
}
.footer-legal a:hover { color: var(--accent); }
.footer-legal span { opacity: 0.5; }

/* Footer mobile compact */
@media (max-width: 767.98px) {
    .footer-main {
        padding: 28px 0 18px;
    }
    .footer-col-brand {
        margin-bottom: 4px;
    }
    .footer-brand-block {
        max-width: none;
    }
    .footer-brand {
        margin-bottom: 10px;
        gap: 10px;
    }
    .footer-about {
        display: none;
    }
    .footer-social-box a {
        width: 30px;
        height: 30px;
        font-size: 0.82rem;
    }
    .footer-title {
        font-size: 0.72rem;
        margin-bottom: 8px;
        letter-spacing: 0.3px;
    }
    .footer-links li {
        margin-bottom: 4px;
    }
    .footer-links a {
        font-size: 0.72rem;
        line-height: 1.35;
    }
    .footer-col-services,
    .footer-col-contact {
        margin-top: 2px;
    }
    .footer-col-services .footer-links a,
    .footer-col-contact .footer-contact-list li {
        font-size: 0.68rem;
        line-height: 1.35;
    }
    .footer-contact-list li {
        gap: 7px;
        margin-bottom: 7px;
        align-items: flex-start;
    }
    .footer-contact-list i {
        font-size: 0.72rem;
        margin-top: 2px;
        width: 14px;
    }
    .footer-contact-list span,
    .footer-contact-list a {
        word-break: break-word;
    }
    .footer-contact-company span {
        font-weight: 600;
    }
    .footer-bottom-bar {
        padding: 12px 0;
        font-size: 0.68rem;
        text-align: center;
    }
    .footer-bottom-bar .d-flex {
        flex-direction: column;
        gap: 6px;
        align-items: center !important;
    }
    .footer-legal {
        margin-top: 0 !important;
    }
    .footer-legal a {
        margin: 0 5px;
    }
    /* Shorter quick links list on mobile */
    .footer-col-links .footer-links li:nth-child(n+7) {
        display: none;
    }
    .footer-col-products .footer-links li:nth-child(n+5) {
        display: none;
    }
}

@media (min-width: 768px) {
    .footer-contact-list li.footer-contact-person {
        display: flex !important;
    }
}

/* WhatsApp & Back to Top */
.whatsapp-btn {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
}
.whatsapp-btn:hover { transform: scale(1.1); color: var(--white); }
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--accent); }

/* ========== INNER PAGES (shared) ========== */
.page-header {
    position: relative;
    overflow: hidden;
    padding: 28px 0 24px;
    color: var(--white);
    text-align: center;
    background: linear-gradient(120deg, #001530 0%, #002147 25%, #1e88e5 55%, #00acc1 85%, #5c6bc0 100%);
    background-size: 320% 320%;
    animation: pageHeaderGradient 10s ease infinite;
}
.page-header-animated::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%, rgba(0, 0, 0, 0.08) 100%);
    pointer-events: none;
    z-index: 1;
}
.page-header.page-header-banner {
    background-image:
        linear-gradient(120deg, rgba(0, 21, 48, 0.92) 0%, rgba(0, 33, 71, 0.85) 30%, rgba(30, 136, 229, 0.78) 60%, rgba(0, 172, 193, 0.72) 100%),
        var(--banner-image, none);
    background-size: 320% 320%, cover;
    background-position: 0% 50%, center;
    background-repeat: no-repeat, no-repeat;
    animation: pageHeaderGradient 10s ease infinite;
}
.page-header-inner {
    position: relative;
    z-index: 2;
}
.page-header-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.ph-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.35;
    animation: phFloat 7s ease-in-out infinite;
}
.ph-shape-1 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #ef4444, #dc2626);
    top: -35px;
    left: 8%;
    animation-delay: 0s;
}
.ph-shape-2 {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, #fbbf24, #f59e0b);
    bottom: -25px;
    right: 12%;
    animation-delay: 1.2s;
}
.ph-shape-3 {
    width: 55px;
    height: 55px;
    background: radial-gradient(circle, #34d399, #10b981);
    top: 15%;
    right: 6%;
    animation-delay: 2.4s;
}
.ph-shape-4 {
    width: 45px;
    height: 45px;
    background: radial-gradient(circle, #a78bfa, #7c3aed);
    bottom: 10%;
    left: 18%;
    animation-delay: 0.8s;
}
@keyframes pageHeaderGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes phFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    33% { transform: translate(12px, -8px) scale(1.08); opacity: 0.45; }
    66% { transform: translate(-8px, 6px) scale(0.95); opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
    .page-header,
    .page-header.page-header-banner {
        animation: none;
    }
    .ph-shape,
    .page-header h1,
    .page-header-subtitle,
    .page-header .breadcrumb {
        animation: none;
    }
}
@keyframes phTitleIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.page-header h1 {
    color: var(--white);
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
    animation: phTitleIn 0.55s ease-out;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.page-header-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 6px;
    font-size: 0.88rem;
    font-weight: 500;
    animation: phTitleIn 0.55s ease-out 0.08s both;
}
.page-header .breadcrumb {
    justify-content: center;
    margin: 8px 0 0;
    padding: 0;
    animation: phTitleIn 0.55s ease-out 0.15s both;
}
.page-header .breadcrumb-item {
    font-size: 0.8rem;
}
.page-header .breadcrumb-item a {
    color: #93c5fd;
    font-weight: 600;
    transition: color 0.2s;
}
.page-header .breadcrumb-item a:hover {
    color: #fff;
}
.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.75);
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.45);
}

.section { padding: 70px 0; }
.section-gray { background: var(--gray-100); }

.btn-accent {
    background: var(--accent);
    border: none;
    color: var(--white);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 4px;
}
.btn-accent:hover {
    background: var(--accent-hover);
    color: var(--white);
}
.btn-outline-accent {
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 4px;
}
.btn-outline-accent:hover {
    background: var(--accent);
    color: var(--white);
}

.section-header { text-align: center; margin-bottom: 40px; }
.section-header .subtitle {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}
.section-header h2 { font-size: 2rem; margin-bottom: 10px; }

.product-card, .category-card, .service-card, .why-card, .testimonial-card,
.contact-form, .filter-sidebar, .gallery-item, .video-card {
    /* kept for inner pages */
}
.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.product-card .card-img { height: 200px; overflow: hidden; }
.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card .card-body { padding: 20px; }
.product-card h5 a { color: var(--primary); }
.product-card .card-link { color: var(--accent); font-weight: 600; }

.filter-sidebar {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.filter-list { list-style: none; padding: 0; }
.filter-list a {
    display: block;
    padding: 8px 15px;
    border-radius: 4px;
    color: var(--gray-800);
}
.filter-list a:hover, .filter-list a.active {
    background: var(--accent-light);
    color: var(--accent);
}

.contact-info-card {
    background: var(--primary);
    color: var(--white);
    padding: 35px;
    border-radius: 8px;
    height: 100%;
}
.contact-info-card h4 { color: var(--white); }
.contact-info-item { display: flex; gap: 15px; margin-bottom: 20px; }
.contact-info-item .icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
}
.contact-form {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
}
.map-container { height: 400px; border-radius: 8px; overflow: hidden; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

.gallery-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid #e8eef3;
    height: 100%;
    transition: box-shadow 0.3s, transform 0.3s;
}
.gallery-card:hover {
    box-shadow: 0 8px 28px rgba(0, 33, 71, 0.12);
    transform: translateY(-4px);
}
.gallery-card-desc {
    margin: 0;
    padding: 10px 14px 14px;
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.5;
    border-top: 1px solid #f0f4f8;
}
.gallery-item {
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 28px 12px 12px;
    background: linear-gradient(to top, rgba(0, 33, 71, 0.92) 0%, rgba(0, 33, 71, 0.55) 55%, transparent 100%);
    pointer-events: none;
}
.gallery-item-title {
    display: block;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    letter-spacing: 0.3px;
}
.gallery-item .overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: rgba(0, 33, 71, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: var(--white);
    font-size: 1.75rem;
}
.gallery-item:hover .overlay { opacity: 1; }

.video-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; }
.video-card .thumb { position: relative; aspect-ratio: 16/9; }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card .play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 55px; height: 55px; background: var(--accent); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.video-card .card-body {
    padding: 12px 14px 14px;
    border-top: 1px solid #eef2f6;
}
.video-card .card-body h5 {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin: 0 0 4px;
    line-height: 1.45;
    letter-spacing: 0.01em;
}
.video-card .card-body p {
    font-size: 0.78rem;
    line-height: 1.5;
    color: #94a3b8 !important;
}
.video-card:hover .card-body h5 {
    color: var(--accent);
}
.pagination .page-link { color: var(--primary); }
.pagination .page-item.active .page-link { background: var(--accent); border-color: var(--accent); }

.alert-custom { border-radius: 6px; }

/* Legal pages */
.legal-page-section { padding-top: 50px; padding-bottom: 70px; }
.legal-page-card {
    background: var(--white);
    border: 1px solid #e3edf5;
    border-radius: 14px;
    padding: 40px 44px;
    box-shadow: var(--shadow-card);
    max-width: 900px;
    margin: 0 auto;
}
.legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--gray-600);
    background: var(--accent-light);
    padding: 8px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
}
.legal-updated i { color: var(--accent); }
.legal-page-card h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-light);
}
.legal-page-card p,
.legal-page-card li {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 0.95rem;
}
.legal-page-card ul {
    margin: 0 0 16px;
    padding-left: 1.25rem;
}
.legal-page-card ul li { margin-bottom: 8px; }
.legal-contact-list { list-style: none; padding-left: 0 !important; }
.legal-contact-list li { margin-bottom: 6px; }
.legal-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #e8eef3;
}
@media (max-width: 767px) {
    .legal-page-card { padding: 28px 22px; }
}
.cms-page-content h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 24px 0 12px;
}
.cms-page-content p { line-height: 1.8; color: var(--gray-600); }
.cms-about-content p { margin-bottom: 1rem; }
.page-header-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 6px;
    font-size: 0.88rem;
}

/* Form submit popup */
.form-feedback-modal .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 33, 71, 0.2);
    overflow: hidden;
}
.form-feedback-modal.popup-success .modal-content {
    border-top: 5px solid #43a047;
}
.form-feedback-modal.popup-error .modal-content {
    border-top: 5px solid #e53935;
}
.form-popup-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.form-feedback-modal.popup-success .form-popup-icon {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
}
.form-feedback-modal.popup-error .form-popup-icon {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    color: #c62828;
}
.form-popup-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}
.form-popup-message {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 24px;
}
.btn-form-popup-close {
    background: linear-gradient(135deg, var(--accent) 0%, #1565c0 100%);
    border: none;
    color: var(--white) !important;
    font-weight: 700;
    padding: 12px 36px;
    border-radius: 8px;
    min-width: 140px;
}
.btn-form-popup-close:hover {
    color: var(--white) !important;
    opacity: 0.92;
    transform: translateY(-1px);
}
.form-feedback-modal.popup-error .btn-form-popup-close {
    background: linear-gradient(135deg, #e53935, #c62828);
}

/* ========== ABOUT PAGE — Values, Stats, CTA ========== */
.section-header-pro {
    margin-bottom: 50px;
}
.section-header-pro .section-label {
    display: inline-block;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-header-pro h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-header-pro .section-desc {
    color: var(--gray-600);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
}

.about-values-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}
.about-values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), #64b5f6);
}

.value-card-pro {
    background: var(--white);
    border: 1px solid #e3edf5;
    border-radius: 12px;
    padding: 32px 28px 28px;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 33, 71, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.value-card-pro:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(30, 136, 229, 0.15);
    border-color: #b3d9f7;
}
.value-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.value-card-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(30, 136, 229, 0.12);
    line-height: 1;
}
.value-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent) 0%, #1565c0 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
    transition: transform 0.35s ease;
}
.value-card-pro:hover .value-card-icon {
    transform: scale(1.08) rotate(-3deg);
}
.value-card-pro h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
}
.value-card-pro p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 0;
}
.value-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.value-card-pro:hover .value-card-accent {
    transform: scaleX(1);
}

.about-impact-section {
    padding: 0 0 80px;
    background: linear-gradient(180deg, #f4f8fb 0%, #eef4f9 100%);
}
.stats-grid-pro {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.stat-box-pro {
    background: var(--white);
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 20px rgba(0, 33, 71, 0.08);
    border: 1px solid #e8f0f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-box-pro:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 136, 229, 0.12);
}
.stat-icon-pro {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}
.stat-content-pro {
    display: flex;
    flex-direction: column;
}
.stat-number-pro {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}
.stat-label-pro {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-cta-pro {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 55%, #1a4a7a 100%);
    border-radius: 16px;
    padding: 48px 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 33, 71, 0.25);
}
.partner-cta-pro::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.2) 0%, transparent 70%);
    pointer-events: none;
}
.partner-cta-pro::after {
    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='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.partner-cta-pro .row { position: relative; z-index: 1; }
.partner-cta-pro h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.partner-cta-pro p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 0;
    max-width: 520px;
}
.partner-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}
.btn-partner-primary {
    background: var(--white);
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.btn-partner-primary:hover {
    background: var(--accent-light);
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.btn-partner-outline {
    background: transparent;
    color: var(--white) !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.btn-partner-outline:hover {
    background: var(--white);
    color: var(--primary) !important;
    border-color: var(--white);
    transform: translateY(-3px);
}

/* ========== SOLUTIONS PAGE ========== */
.solutions-intro-section {
    padding: 70px 0 50px;
    background: var(--white);
}
.solutions-intro-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    line-height: 1.25;
}
.solutions-intro-text {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}
.solutions-intro-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.solutions-intro-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 50px;
    border: 1px solid #c5e3f7;
}
.solutions-intro-badges i { color: var(--accent); }
.solutions-intro-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 33, 71, 0.15);
}
.solutions-intro-visual img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}
.solutions-intro-visual-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    padding: 18px 22px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-left: 4px solid var(--accent);
}
.solutions-intro-visual-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.solutions-intro-visual-badge span {
    font-size: 0.82rem;
    color: var(--gray-600);
    font-weight: 600;
}

.solutions-pillars-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4f9 100%);
}
.solution-pillar-card {
    background: var(--white);
    border: 1px solid #e3edf5;
    border-radius: 14px;
    padding: 32px 28px 28px;
    height: 100%;
    box-shadow: 0 4px 24px rgba(0, 33, 71, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}
.solution-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pillar-color, var(--accent));
}
.solution-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 33, 71, 0.12);
}
.solution-pillar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.solution-pillar-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--pillar-color, var(--accent)) 0%, var(--primary) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.solution-pillar-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(0, 33, 71, 0.08);
}
.solution-pillar-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}
.solution-pillar-card > p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 18px;
}
.solution-pillar-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.solution-pillar-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--gray-800);
    margin-bottom: 8px;
    font-weight: 500;
}
.solution-pillar-features li i {
    color: var(--pillar-color, var(--accent));
    margin-top: 2px;
    flex-shrink: 0;
}

.solutions-categories-section {
    padding: 80px 0;
    background: var(--white);
}
.solution-category-card {
    display: block;
    background: var(--white);
    border: 1px solid #e3edf5;
    border-radius: 12px;
    padding: 28px 24px;
    height: 100%;
    transition: all 0.35s ease;
    box-shadow: 0 4px 20px rgba(0, 33, 71, 0.06);
    color: inherit;
}
.solution-category-card:hover {
    transform: translateY(-6px);
    border-color: #b3d9f7;
    box-shadow: 0 14px 36px rgba(30, 136, 229, 0.15);
    color: inherit;
}
.solution-category-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent-light) 0%, #bbdefb 100%);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
}
.solution-category-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}
.solution-category-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 16px;
}
.solution-category-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.solution-category-card:hover .solution-category-link { gap: 10px; }

.solutions-industries-section {
    padding: 70px 0;
    background: var(--primary);
}
.solutions-industries-section .section-header-pro h2,
.solutions-industries-section .section-header-pro .section-desc { color: var(--white); }
.solutions-industries-section .section-label { color: #64b5f6; }
.solutions-industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.solution-industry-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease;
}
.solution-industry-item:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
}
.solution-industry-item i {
    display: block;
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 12px;
}
.solution-industry-item span {
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    display: block;
}

.solutions-process-section {
    padding: 80px 0;
    background: var(--gray-100);
}
.solutions-process-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.solutions-process-track::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #64b5f6, var(--accent));
    z-index: 0;
}
.solution-process-step {
    background: var(--white);
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
    border: 1px solid #e3edf5;
    box-shadow: 0 4px 20px rgba(0, 33, 71, 0.06);
    position: relative;
    z-index: 1;
}
.solution-process-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--accent) 0%, #1565c0 100%);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(30, 136, 229, 0.35);
}
.solution-process-step h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}
.solution-process-step p {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.65;
}

/* ========== SERVICES PAGE ========== */
.services-offer-section {
    padding: 70px 0;
    background: var(--white);
}
.service-card-pro {
    background: var(--white);
    border: 1px solid #e3edf5;
    border-radius: 14px;
    padding: 32px 28px 28px;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 33, 71, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}
.service-card-pro:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(30, 136, 229, 0.14);
    border-color: #b3d9f7;
}
.service-card-pro-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.service-card-pro-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(30, 136, 229, 0.1);
    line-height: 1;
}
.service-card-pro-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent) 0%, #1565c0 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.55rem;
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
    transition: transform 0.35s ease;
}
.service-card-pro:hover .service-card-pro-icon {
    transform: scale(1.08) rotate(-3deg);
}
.service-card-pro h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}
.service-card-pro > p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 0;
    flex-grow: 1;
}
.service-card-pro-extra {
    font-size: 0.85rem !important;
    margin-top: 10px !important;
    color: var(--gray-400) !important;
}
.service-card-pro-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent);
}
.service-card-pro-link:hover { gap: 10px; color: var(--accent-hover); }
.service-card-pro-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card-pro:hover .service-card-pro-accent { transform: scaleX(1); }

.services-why-section {
    padding: 48px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef4f9 100%);
}
.services-why-section .section-label {
    font-size: 0.72rem;
    margin-bottom: 6px;
}
.services-why-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.25;
}
.services-why-desc {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 520px;
}
.feature-list-pro {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-list-pro li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #e2e8f0;
}
.feature-list-pro li:last-child { border-bottom: none; }
.feature-list-pro-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(145deg, #001530 0%, #002147 55%, #003366 100%);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(0, 21, 48, 0.22);
}
.feature-list-pro strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}
.feature-list-pro p {
    margin: 0;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.5;
}

.services-image-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 33, 71, 0.12);
    border: 1px solid rgba(30, 136, 229, 0.12);
    background: #e2e8f0;
}
.services-image-frame img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
}
.services-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 21, 48, 0.94) 0%, rgba(0, 33, 71, 0.4) 55%, transparent 100%);
    padding: 48px 16px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}
.services-image-caption-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: linear-gradient(135deg, var(--accent), #1565c0);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.35);
}
.services-image-caption strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.services-image-caption span {
    font-size: 0.75rem;
    opacity: 0.88;
    line-height: 1.35;
}

.services-cta-pro { margin-bottom: 0; }
.services-cta-section {
    padding: 0 0 50px;
}
.services-cta-pro {
    padding: 22px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 33, 71, 0.18);
}
.services-cta-pro::before {
    width: 220px;
    height: 220px;
    top: -40%;
    right: -10%;
}
.services-cta-pro h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.services-cta-pro p {
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 480px;
}
.services-cta-pro .btn-partner-compact {
    font-size: 0.82rem;
    padding: 10px 20px;
    border-radius: 6px;
}
.services-cta-pro .partner-cta-buttons {
    gap: 10px;
}

/* ========== PRODUCTS PAGE — top category row ========== */
.products-page-section {
    padding-top: 36px;
}
.products-filter-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 33, 71, 0.06);
}
.category-row-wrap {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.category-row-wrap.is-scrollable {
    cursor: grab;
}
.category-row-wrap.is-scrollable:active {
    cursor: grabbing;
}
.category-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: max-content;
    max-width: none;
    padding: 2px 0;
}
.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 8px;
    border-radius: 50px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}
.category-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: #eef6fc;
}
.category-chip.active {
    background: linear-gradient(135deg, var(--accent), #1565c0);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(30, 136, 229, 0.3);
}
.category-chip-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 136, 229, 0.12);
    flex-shrink: 0;
    overflow: hidden;
    font-size: 0.95rem;
    color: var(--accent);
}
.category-chip.active .category-chip-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.category-chip-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.products-search-bar {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    min-width: 220px;
    max-width: 280px;
}
.products-search-bar .form-control {
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 8px 14px;
    font-size: 0.85rem;
}
.products-search-bar .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.12);
}
.products-search-bar .btn-accent {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.category-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 22px;
    background: linear-gradient(135deg, #eef6fc 0%, #f8fafc 100%);
    border-radius: 12px;
    border: 1px solid rgba(30, 136, 229, 0.12);
}
.category-header-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 33, 71, 0.1);
    flex-shrink: 0;
}
.category-header-content h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    color: var(--primary);
}
.category-header-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
}
@media (max-width: 991px) {
    .products-filter-top {
        flex-direction: column;
        align-items: stretch;
    }
    .category-row-wrap {
        width: 100%;
    }
    .products-search-bar {
        max-width: none;
        width: 100%;
        min-width: 0;
    }
}
@media (max-width: 767px) {
    .products-page-section {
        padding-top: 24px;
    }
    .products-page-section > .container {
        padding-left: 14px;
        padding-right: 14px;
    }
    .products-filter-top {
        padding: 12px;
        gap: 12px;
        margin-bottom: 20px;
    }
    .category-row-wrap {
        overflow: visible;
        margin: 0;
        padding: 0;
        scroll-snap-type: none;
    }
    .category-row {
        flex-wrap: wrap;
        width: 100%;
        gap: 8px;
    }
    .category-chip {
        flex: 0 1 auto;
        max-width: 100%;
        scroll-snap-align: none;
        font-size: 0.76rem;
        padding: 7px 12px 7px 7px;
    }
    .category-chip-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    .products-search-bar .form-control {
        font-size: 16px;
    }
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 16px;
        gap: 14px;
    }
    .category-header-img {
        width: 100%;
        max-width: 200px;
        height: auto;
        aspect-ratio: 4 / 3;
        align-self: center;
    }
    .category-header-content h2 {
        font-size: 1.1rem;
    }
    .category-header-content p {
        font-size: 0.84rem;
        line-height: 1.7;
    }
}

/* Products list — image left, details right */
.products-list-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.product-card-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 33, 71, 0.06);
    transition: box-shadow 0.3s ease;
}
.product-card-row:hover {
    box-shadow: 0 10px 28px rgba(0, 33, 71, 0.1);
}
.product-card-row-image {
    flex: 0 0 36%;
    max-width: 380px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e8f0f7 100%);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-card-main-img {
    flex: 1;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}
.product-card-main-img img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
}
.product-card-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.product-card-row-body {
    flex: 1;
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.product-card-lead {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 14px;
}
.product-card-block {
    margin-bottom: 12px;
}
.product-card-block h5 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin: 0 0 6px;
}
.product-card-block p {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}
.product-card-row-actions .btn-outline-accent {
    border: 1.5px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    background: transparent;
    text-decoration: none;
}
.product-card-row-actions .btn-outline-accent:hover {
    background: var(--accent);
    color: #fff;
}
.product-card-row-cat {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 8px;
}
.product-card-row-body h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.3;
    color: var(--primary);
}
.product-card-row-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
}
.product-inline-thumb {
    width: 52px;
    height: 52px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}
.product-inline-thumb.active,
.product-inline-thumb:hover {
    border-color: var(--accent);
}
.product-inline-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 767px) {
    .product-card-row {
        flex-direction: column;
    }
    .product-card-row-image {
        flex: none;
        max-width: none;
        width: 100%;
        padding: 12px;
    }
    .product-card-main-img {
        min-height: 160px;
        max-height: 220px;
    }
    .product-card-main-img img {
        max-height: 200px;
    }
    .product-card-row-body {
        padding: 16px;
    }
    .product-card-row-body h3 {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
    .product-card-lead {
        font-size: 0.88rem;
    }
    .product-card-block p {
        font-size: 0.84rem;
        line-height: 1.7;
    }
    .product-card-row-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .product-card-row-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .related-products-block {
        padding: 0 4px;
    }
    .related-products-row {
        flex-direction: column;
    }
    .related-product-chip {
        width: 100%;
        justify-content: space-between;
    }
}

/* ========== LIGHTBOX STYLES ========== */
#imageLightbox .modal-dialog {
    margin: 0;
    max-width: 100%;
}

#imageLightbox .modal-content {
    position: relative;
    background: rgba(0, 0, 0, 0.92);
    min-height: 100vh;
}

#imageLightbox .modal-backdrop {
    background: rgba(0, 0, 0, 0.92);
}

#imageLightbox .lightbox-image {
    max-height: 90vh;
    max-width: 95vw;
    object-fit: contain;
}

.lightbox-close-btn {
    position: fixed;
    top: 18px;
    right: 22px;
    z-index: 1065;
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lightbox-close-btn:hover {
    background: #1565c0;
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(30, 136, 229, 0.5);
}

.lightbox-close-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5), 0 4px 20px rgba(0, 0, 0, 0.45);
}

#imageLightbox .btn-close {
    display: none;
}

/* Optional: Add smooth zoom-in effect */
#imageLightbox.show .modal-dialog {
    animation: lightboxZoomIn 0.3s ease-out;
}

@keyframes lightboxZoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ========== PRODUCT DETAIL PAGE ========== */
.product-detail-section {
    padding-top: 40px;
    padding-bottom: 80px;
}

.product-gallery-wrapper {
    position: sticky;
    top: 100px;
}

.product-main-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: 0 4px 20px rgba(0, 33, 71, 0.08);
}

.product-main-image img {
    width: 100%;
    height: 520px;
    object-fit: contain;
    display: block;
    padding: 32px;
    background: #f8fafc;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding: 0 5px;
}

.product-thumb {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 33, 71, 0.05);
}

.product-thumb:hover {
    border-color: rgba(30, 136, 229, 0.3);
}

.product-thumb.active {
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.2);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-wrapper {
    padding: 20px 0;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.product-breadcrumb a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s;
}

.product-breadcrumb a:hover {
    color: var(--accent);
}

.product-breadcrumb span {
    color: var(--gray-400);
}

.product-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.product-meta-item i {
    color: var(--accent);
}

.product-short-desc {
    margin-bottom: 30px;
}

.product-short-desc .lead {
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.product-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.2), transparent);
    margin: 30px 0;
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-description {
    margin-bottom: 35px;
}

.product-description p {
    color: var(--gray-700);
    line-height: 1.8;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 10px;
}

.product-actions .btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #1976d2 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.product-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
}

.product-actions .btn-outline-primary {
    border-color: var(--accent);
    color: var(--accent);
}

.product-actions .btn-outline-primary:hover {
    background: var(--accent);
    color: white;
}

.mt-6 {
    margin-top: 5rem;
}

.specifications-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 33, 71, 0.08);
    border: 1px solid #e8eef3;
}

.specs-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, #0d47a1 100%);
    padding: 25px 30px;
}

.specs-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.specs-title i {
    font-size: 1.6rem;
}

.specs-content {
    padding: 30px;
}

.specs-text {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 1.02rem;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 991px) {
    .stats-grid-pro { grid-template-columns: repeat(2, 1fr); }
    .partner-cta-buttons { justify-content: flex-start; }
    .partner-cta-pro { padding: 36px 30px; }
    .services-cta-pro { padding: 20px 22px; }
    .services-cta-pro h2 { font-size: 1.15rem; }
    .solutions-industries-grid { grid-template-columns: repeat(3, 1fr); }
    .solutions-process-track { grid-template-columns: repeat(2, 1fr); }
    .solutions-process-track::before { display: none; }
    .solutions-intro-visual img { height: 320px; }
    .hero-title { font-size: 1.8rem; }
    .feature-bar .col-lg { flex: 0 0 33.333%; max-width: 33.333%; }
}
@media (max-width: 991px) {
    .contact-info-simple,
    .contact-form-panel {
        padding: 36px 28px;
    }
    .contact-info-compact {
        padding: 24px 22px;
    }
    .contact-form-compact {
        padding: 22px 20px;
    }
    .home-contact-wrapper .row > [class*="col-"]:first-child {
        border-bottom: 1px solid #e8f0f6;
    }
}
@media (max-width: 575px) {
    .top-bar {
        padding: 8px 0;
    }
    .top-bar .container {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }
    .top-bar-left {
        gap: 8px;
        font-size: 0.68rem;
    }
    .top-bar-left span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
@media (max-width: 767px) {
    .brand-logo,
    .brand-logo-img {
        width: 56px;
        height: 56px;
    }
    .footer-logo,
    .footer-logo .brand-logo-img {
        width: 48px;
        height: 48px;
    }
    .home-products-slider-wrap { padding: 0 36px; margin: 0 -8px; }
    .home-products-track .home-ref-product-card { flex: 0 0 78vw; width: 78vw; max-width: 280px; }
    .home-products-nav { width: 36px; height: 36px; font-size: 1rem; }
    .hero-title { font-size: 1.5rem; }
    .page-header { padding: 22px 0 18px; }
    .page-header h1 { font-size: 1.35rem; }
    .page-header .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 2px;
    }
    .page-header .breadcrumb-item {
        font-size: 0.72rem;
    }
    .products-page-section.section {
        padding-top: 28px;
        padding-bottom: 48px;
    }
    .ph-shape-1 { width: 70px; height: 70px; }
    .ph-shape-2 { width: 50px; height: 50px; }
    .stats-grid-pro { grid-template-columns: 1fr; }
    .stat-box-pro { padding: 20px; }
    .partner-cta-pro h2 { font-size: 1.6rem; }
    .partner-cta-buttons { flex-direction: column; }
    .partner-cta-buttons .btn { width: 100%; justify-content: center; }
    .section-header-pro h2 { font-size: 1.75rem; }
    .solutions-intro-title { font-size: 1.65rem; }
    .solutions-industries-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-process-track { grid-template-columns: 1fr; }
    .services-image-frame img { height: 240px; }
    .services-why-section { padding: 36px 0; }
    .services-why-title { font-size: 1.25rem; }
    .top-bar-left { gap: 10px; font-size: 0.72rem; }
    .hero-title { font-size: 1.5rem; }
    .hero-features { gap: 15px; }
    .hero-feature-icon { width: 48px; height: 48px; font-size: 1.1rem; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-legal { margin-top: 10px; }
    .feature-bar .col-6 { flex: 0 0 50%; max-width: 50%; }
    
    /* Product detail responsive */
    .product-gallery-wrapper {
        position: static;
    }
    
    .product-main-image img {
        height: 300px;
        padding: 20px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .product-thumbnails {
        overflow-x: auto;
        padding-bottom: 5px;
    }
}

/* ========== Site enhancements ========== */
.clients-section { padding: 50px 0; background: #fff; }
.clients-logo-row {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px;
}
.client-logo-item {
    flex: 0 0 auto; padding: 12px 20px; background: #f8fafc; border-radius: 10px;
    border: 1px solid #e8eef3; min-width: 120px; text-align: center;
}
.client-logo-item img { max-height: 48px; max-width: 140px; object-fit: contain; filter: grayscale(30%); transition: filter 0.3s; }
.client-logo-item:hover img { filter: none; }
.client-name-fallback { font-size: 0.85rem; font-weight: 700; color: #64748b; }

.testimonials-section { padding: 60px 0; background: linear-gradient(180deg, #f4f8fb 0%, #fff 100%); }
.testimonials-section--pre-footer {
    padding: 48px 0 44px;
    margin-bottom: 0;
    border-bottom: 1px solid #e8f0f6;
}

.testimonials-slider-wrap {
    position: relative;
}

.testimonials-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonials-slider {
    overflow: visible;
}

.testimonials-nav {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 33, 71, 0.15);
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.testimonials-nav:hover:not(.disabled) {
    background: var(--accent);
    color: var(--white);
}
.testimonials-nav.disabled {
    opacity: 0.35;
    cursor: default;
}
.testimonials-nav--prev { left: -4px; }
.testimonials-nav--next { right: -4px; }

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 33, 71, 0.08);
    border: 1px solid #e8f0f6;
    display: flex;
    flex-direction: column;
}
.testimonial-stars { color: #f59e0b; margin-bottom: 12px; font-size: 0.9rem; }
.testimonial-text {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
    flex: 1;
}
.testimonial-author strong { display: block; color: var(--primary); font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: #94a3b8; }

@media (max-width: 767.98px) {
    .testimonials-section--pre-footer {
        padding: 32px 0 28px;
    }
    .testimonials-section--pre-footer .section-header-pro h2 {
        font-size: 1.35rem;
    }
    .testimonials-slider-wrap {
        padding: 0 28px;
        margin: 0 -8px;
    }
    .testimonials-nav {
        display: flex;
    }
    .testimonials-slider {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .testimonials-slider::-webkit-scrollbar {
        display: none;
    }
    .testimonials-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 14px;
        width: max-content;
    }
    .testimonials-track .testimonial-card {
        flex: 0 0 calc(100vw - 88px);
        max-width: 320px;
        min-height: 220px;
        scroll-snap-align: start;
        padding: 20px 18px;
    }
    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

.home-blog-section .view-more-link {
    display: inline-flex; align-items: center; gap: 6px; color: var(--accent);
    font-weight: 600; font-size: 0.9rem; margin-top: 8px;
}

.blog-card {
    background: #fff; border-radius: 12px; overflow: hidden; height: 100%;
    box-shadow: 0 4px 20px rgba(0, 33, 71, 0.08); border: 1px solid #e8eef3;
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0, 33, 71, 0.12); }
.blog-card-image { display: block; height: 180px; overflow: hidden; background: #eef2f5; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-placeholder {
    height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: #94a3b8;
}
.blog-card-body { padding: 20px; }
.blog-card-date { font-size: 0.78rem; color: #94a3b8; }
.blog-card-body h3 { font-size: 1rem; margin: 8px 0 10px; }
.blog-card-body h3 a { color: var(--primary); text-decoration: none; }
.blog-card-body p { font-size: 0.85rem; color: #64748b; margin-bottom: 12px; }
.blog-card-link {
    font-size: 0.82rem; font-weight: 700; color: var(--accent); text-transform: uppercase;
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}

.faq-page-section { padding: 60px 0 80px; }
.faq-group-title { font-size: 1.2rem; color: var(--primary); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.faq-accordion .accordion-item { border: 1px solid #e8eef3; border-radius: 8px !important; margin-bottom: 10px; overflow: hidden; }
.faq-accordion .accordion-button { font-weight: 600; font-size: 0.95rem; color: var(--primary); }
.faq-accordion .accordion-button:not(.collapsed) { background: #eff6ff; color: var(--accent); }
.faq-cta { padding: 30px; background: #f8fafc; border-radius: 12px; }

.blog-post-card { background: #fff; padding: 32px; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,33,71,0.08); }
.blog-post-featured { border-radius: 10px; max-height: 400px; object-fit: cover; }
.blog-post-meta { font-size: 0.85rem; }

.related-products-block {
    margin: -10px 0 30px; padding: 16px 20px; background: #f8fafc;
    border-radius: 10px; border-left: 4px solid var(--accent);
}
.related-products-block h4 { font-size: 0.9rem; margin: 0 0 10px; color: var(--primary); }
.related-products-row { display: flex; flex-wrap: wrap; gap: 10px; }
.related-product-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
    background: #fff; border: 1px solid #dbe3ec; border-radius: 20px;
    font-size: 0.82rem; font-weight: 600; color: var(--primary); text-decoration: none;
}
.related-product-chip:hover { border-color: var(--accent); color: var(--accent); }

.cookie-consent {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: rgba(0, 33, 71, 0.96); color: #fff; padding: 16px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-consent-inner {
    max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap;
    align-items: center; justify-content: space-between; gap: 16px;
}
.cookie-consent p { margin: 0; font-size: 0.88rem; flex: 1; min-width: 200px; }
.cookie-consent-actions { display: flex; align-items: center; gap: 12px; }
.cookie-link { color: #93c5fd; font-size: 0.85rem; }

@media (max-width: 767px) {
    .cookie-consent-inner { flex-direction: column; text-align: center; }
}
