/* ==========================================================================
   AGUSON INDUSTRIAL EQUIPMENT CATALOGUE STYLESHEET
   Brand Colors: Industrial Blue (#0f2b48) & Burgundy (#800020)
   Brand Requirement: Strict Square Corners (border-radius: 0)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@600;700&display=swap');

:root {
    --brand-blue: #0f2b48;
    --brand-blue-dark: #091a2d;
    --brand-blue-light: #163e68;
    --brand-blue-soft: #eaf1f7;
    --brand-burgundy: #800020;
    --brand-burgundy-dark: #5e0018;
    --brand-burgundy-light: #9e1134;
    --brand-burgundy-soft: #f9eef1;

    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Space Grotesk', var(--font-sans);

    --border-color: #d1d5db;
    --header-height: 76px;
    --container-max: 1320px;
}

/* --------------------------------------------------------------------------
   RESET & BRAND FOUNDATION: STRICT SQUARE CORNERS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0 !important; /* Strict square corners per requirement */
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: var(--slate-50);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* --------------------------------------------------------------------------
   LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* --------------------------------------------------------------------------
   TOP INDUSTRIAL BAR
   -------------------------------------------------------------------------- */
.top-bar {
    background-color: var(--brand-blue-dark);
    color: var(--slate-300);
    font-size: 0.8125rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--brand-burgundy);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar-item svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.top-bar-link:hover {
    color: var(--white);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   MAIN NAVBAR COMPONENT (Same component across all public pages)
   -------------------------------------------------------------------------- */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--slate-200);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--brand-blue);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.brand-badge {
    background-color: var(--brand-burgundy);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-block;
}

.brand-icon {
    width: 34px;
    height: 34px;
    background-color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    border-left: 3px solid var(--brand-burgundy);
}

/* Nav Menu Links */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--slate-700);
    transition: color 0.15s ease, background-color 0.15s ease;
    border: 1px solid transparent;
}

.nav-link:hover, .nav-link:focus-visible {
    color: var(--brand-blue);
    background-color: var(--slate-100);
    outline: none;
}

.nav-link.active {
    color: var(--brand-burgundy);
    border-bottom: 2px solid var(--brand-burgundy);
    font-weight: 700;
}

.nav-link svg.dropdown-arrow {
    width: 12px;
    height: 12px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

/* --------------------------------------------------------------------------
   PRODUCTS DROPDOWN MENU
   - Mouse hover & click support on desktop
   - Tap on mobile
   - Keyboard accessible
   - Square corners
   - Highlight current category
   -------------------------------------------------------------------------- */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background-color: var(--white);
    border: 1px solid var(--slate-300);
    border-top: 3px solid var(--brand-burgundy);
    box-shadow: 0 8px 16px rgba(15, 43, 72, 0.12);
    list-style: none;
    z-index: 100;
    padding: 0.5rem 0;
    margin-top: 0;
}

/* Open states */
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.is-open .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu {
    display: block;
}

.nav-item.dropdown:hover .nav-link svg.dropdown-arrow,
.nav-item.dropdown.is-open .nav-link svg.dropdown-arrow,
.nav-item.dropdown:focus-within .nav-link svg.dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-header-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-blue);
    background-color: var(--slate-100);
    border-bottom: 1px solid var(--slate-200);
    margin-bottom: 0.25rem;
}

.dropdown-header-link:hover, .dropdown-header-link:focus-visible {
    background-color: var(--brand-blue-soft);
    color: var(--brand-blue-dark);
}

.dropdown-item {
    display: block;
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
    color: var(--brand-blue);
    background-color: var(--slate-100);
    border-left-color: var(--brand-blue);
    outline: none;
    padding-left: 1.25rem;
}

/* Category Highlight: when browsing a category */
.dropdown-link.current-category {
    color: var(--brand-burgundy);
    background-color: var(--brand-burgundy-soft);
    border-left-color: var(--brand-burgundy);
    font-weight: 700;
}

.dropdown-link.current-category::after {
    content: "●";
    color: var(--brand-burgundy);
    font-size: 0.65rem;
    margin-left: 0.5rem;
}

/* Mobile Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--slate-300);
    padding: 0.5rem 0.75rem;
    color: var(--slate-800);
    cursor: pointer;
}

.mobile-nav-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* --------------------------------------------------------------------------
   PAGE HERO / BANNER COMPONENT
   -------------------------------------------------------------------------- */
.page-banner {
    background-color: var(--brand-blue);
    color: var(--white);
    padding: 2.5rem 0;
    border-bottom: 4px solid var(--brand-burgundy);
    position: relative;
}

.page-banner-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.page-banner-desc {
    color: var(--slate-300);
    font-size: 1rem;
    max-width: 700px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--slate-400);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.breadcrumbs a {
    color: var(--slate-300);
}

.breadcrumbs a:hover {
    color: var(--white);
    text-decoration: underline;
}

.breadcrumbs span.current {
    color: var(--brand-burgundy-soft);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   CATEGORY PILL BAR / SUBNAV FOR FAST SWITCHING
   -------------------------------------------------------------------------- */
.category-filter-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--slate-200);
    padding: 0.875rem 0;
    margin-bottom: 2rem;
}

.category-filter-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.category-filter-item a {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--slate-700);
    background-color: var(--slate-100);
    border: 1px solid var(--slate-300);
    transition: all 0.15s ease;
}

.category-filter-item a:hover {
    background-color: var(--brand-blue-soft);
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.category-filter-item a.active {
    background-color: var(--brand-burgundy);
    color: var(--white);
    border-color: var(--brand-burgundy);
}

/* --------------------------------------------------------------------------
   PRODUCT GRID & DISPLAY-ONLY PRODUCT CARDS
   - 4 cols on wide desktop
   - 3 cols on standard desktop
   - 2 cols on tablet
   - 1 col on mobile
   - Clean 4:3 image ratio
   - Strict display only: NOT clickable, NO links, NO modals, NO buttons
   -------------------------------------------------------------------------- */
.product-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    margin-bottom: 2.5rem;
}

/* Tablets (>= 640px) */
@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Standard Desktop (>= 992px) */
@media (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Wide Desktop (>= 1200px) */
@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Display-Only Product Card */
.product-card {
    background-color: var(--white);
    border: 1px solid var(--slate-200);
    display: flex;
    flex-direction: column;
    /* Explicitly prevent clickable visual hints */
    cursor: default;
    user-select: text;
    transition: border-color 0.15s ease;
}

.product-card:hover {
    border-color: var(--slate-400);
}

/* 4:3 Aspect Ratio Image Container */
.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #f8fafc;
    border-bottom: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.75rem;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevents industrial equipment from being cropped */
    display: block;
    pointer-events: none; /* Product images must not be clickable */
}

/* Product Info / Typography: ONLY Product Name */
.product-info {
    padding: 1rem 1.125rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1 0 auto;
}

.product-name {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--slate-900);
    pointer-events: none; /* Product names must not be clickable */
    user-select: text;
}

/* --------------------------------------------------------------------------
   EMPTY STATE COMPONENT
   -------------------------------------------------------------------------- */
.empty-state {
    text-align: center;
    padding: 4.5rem 1.5rem;
    background-color: var(--white);
    border: 1px solid var(--slate-200);
    border-left: 4px solid var(--brand-burgundy);
    margin: 2rem 0;
}

.empty-state-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    fill: var(--slate-400);
}

.empty-state-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.5rem;
}

.empty-state-message {
    color: var(--slate-500);
    font-size: 0.9375rem;
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

.btn-empty-return {
    display: inline-block;
    background-color: var(--brand-blue);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border: 1px solid var(--brand-blue);
}

.btn-empty-return:hover {
    background-color: var(--brand-blue-dark);
}

/* --------------------------------------------------------------------------
   PAGINATION STYLING (Blue & Burgundy brand colors, square corners)
   -------------------------------------------------------------------------- */
.pagination-list {
    display: inline-flex;
    list-style: none;
    border: 1px solid var(--slate-300);
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-blue);
    background-color: var(--white);
    border-right: 1px solid var(--slate-300);
    transition: all 0.15s ease;
}

.pagination-list li:last-child .pagination-link {
    border-right: none;
}

.pagination-link:hover:not(.pagination-link-disabled):not(.pagination-link-current) {
    background-color: var(--brand-blue-soft);
    color: var(--brand-blue-dark);
}

.pagination-link-current {
    background-color: var(--brand-burgundy);
    color: var(--white) !important;
    font-weight: 700;
    cursor: default;
}

.pagination-link-disabled {
    color: var(--slate-400);
    background-color: var(--slate-100);
    cursor: not-allowed;
}

.pagination-link-dots {
    color: var(--slate-500);
    cursor: default;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--slate-300);
}

.pagination-btn-active {
    background-color: var(--brand-blue);
    color: var(--white);
    border-color: var(--brand-blue);
}

.pagination-btn-disabled {
    background-color: var(--slate-100);
    color: var(--slate-400);
    cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   SITE FOOTER COMPONENT
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--brand-blue-dark);
    color: var(--slate-300);
    padding: 3.5rem 0 0;
    border-top: 3px solid var(--brand-burgundy);
    margin-top: 0 !important;
}

/* Call to Action Banner (Directly Joins to Footer Without Gap) */
.cta-dispatch-banner {
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
    color: var(--white);
    padding: 4.5rem 0;
    border-top: 4px solid var(--brand-burgundy);
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-dispatch-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-dispatch-text {
    max-width: 660px;
    flex: 1 1 340px;
}

.cta-dispatch-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 640px) {
    .cta-dispatch-banner {
        padding: 3rem 0;
    }

    .cta-dispatch-actions {
        width: 100%;
        flex-direction: column;
    }

    .cta-dispatch-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1.5fr 1fr 1fr;
    }
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--slate-400);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.footer-section-title {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    border-left: 3px solid var(--brand-burgundy);
    padding-left: 0.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--slate-300);
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    padding: 1.25rem 0;
    font-size: 0.8125rem;
    color: var(--slate-500);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --------------------------------------------------------------------------
   ADMIN LAYOUT & DASHBOARD STYLES
   -------------------------------------------------------------------------- */
.admin-body {
    background-color: #f1f5f9;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.admin-sidebar {
    width: 260px;
    background-color: var(--brand-blue-dark);
    color: var(--white);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
}

.admin-brand {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 65px;
    box-sizing: border-box;
}

.admin-sidebar-mobile-close {
    display: none;
    background: transparent;
    border: none;
    color: var(--slate-400);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.35rem;
    border-radius: 0;
}

.admin-sidebar-mobile-close:hover {
    color: var(--white);
}

.admin-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(2px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.admin-nav {
    list-style: none;
    padding: 1rem 0;
    flex: 1 0 auto;
}

.admin-nav-item a, .admin-nav-item button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--slate-300);
    font-size: 0.875rem;
    font-weight: 500;
    width: 100%;
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
    background: transparent;
    border-top: none;
    border-right: none;
    border-bottom: none;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
}

.admin-nav-item a:hover, .admin-nav-item button:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.admin-nav-item a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-left-color: var(--brand-burgundy);
    font-weight: 600;
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    min-width: 0;
}

.admin-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--slate-200);
    padding: 0.875rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 65px;
    box-sizing: border-box;
}

/* 3-Dash Menu Toggle Button (Hamburger) */
.admin-hamburger-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    padding: 7px;
    background-color: var(--white);
    border: 1px solid var(--slate-300);
    border-radius: 0 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    flex-shrink: 0;
}

.admin-hamburger-btn:hover {
    background-color: #f1f5f9;
    border-color: var(--brand-blue);
}

.admin-hamburger-btn:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 1px;
}

.hamburger-dash {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--brand-blue);
    border-radius: 0 !important;
    transition: background-color 0.2s ease;
}

.admin-hamburger-btn:hover .hamburger-dash {
    background-color: var(--brand-burgundy);
}

/* Desktop Collapsed Sidebar State (>= 992px) */
@media (min-width: 992px) {
    .admin-wrapper.sidebar-collapsed .admin-sidebar {
        width: 68px;
    }

    .admin-wrapper.sidebar-collapsed .admin-brand {
        padding: 1.25rem 0.5rem;
        justify-content: center;
    }

    .admin-wrapper.sidebar-collapsed .brand-text,
    .admin-wrapper.sidebar-collapsed .brand-logo-img {
        display: none !important;
    }

    .admin-wrapper.sidebar-collapsed .admin-nav-item a,
    .admin-wrapper.sidebar-collapsed .admin-nav-item button {
        padding: 0.85rem 0;
        justify-content: center;
        gap: 0;
    }

    .admin-wrapper.sidebar-collapsed .nav-text {
        display: none !important;
    }

    .admin-wrapper.sidebar-collapsed .admin-user-info {
        display: none !important;
    }
}

/* Responsive Off-Canvas Drawer (< 992px) */
@media (max-width: 991px) {
    .admin-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -280px;
        width: 280px;
        box-shadow: none;
        overflow-y: auto;
    }

    .admin-sidebar-mobile-close {
        display: block;
    }

    .admin-sidebar-backdrop {
        display: block;
    }

    .admin-wrapper.sidebar-mobile-open .admin-sidebar {
        left: 0;
        box-shadow: 10px 0 25px rgba(0, 0, 0, 0.45);
    }

    .admin-wrapper.sidebar-mobile-open .admin-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }
}

.admin-content {
    padding: 1.75rem;
    flex: 1 0 auto;
}

/* Admin Data Tables */
.admin-card {
    background-color: var(--white);
    border: 1px solid var(--slate-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.admin-card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--slate-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--slate-50);
}

.admin-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-800);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    text-align: left;
}

.admin-table th {
    background-color: var(--slate-100);
    color: var(--slate-600);
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--slate-200);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.admin-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--slate-200);
    color: var(--slate-700);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background-color: var(--slate-50);
}

/* Badges */
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-badge-published, .status-badge-active {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-badge-unpublished, .status-badge-inactive {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Admin Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

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

.btn-primary:hover {
    background-color: var(--brand-blue-dark);
}

.btn-burgundy {
    background-color: var(--brand-burgundy);
    color: var(--white);
    border-color: var(--brand-burgundy);
}

.btn-burgundy:hover {
    background-color: var(--brand-burgundy-dark);
}

.btn-secondary {
    background-color: var(--slate-100);
    color: var(--slate-700);
    border-color: var(--slate-300);
}

.btn-secondary:hover {
    background-color: var(--slate-200);
    color: var(--slate-900);
}

.btn-danger {
    background-color: #dc2626;
    color: var(--white);
    border-color: #dc2626;
}

.btn-danger:hover {
    background-color: #b91c1c;
}

.btn-sm {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
}

/* Admin Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 0.35rem;
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--slate-300);
    background-color: var(--white);
    color: var(--slate-800);
}

.form-control:focus {
    border-color: var(--brand-blue);
    outline: none;
    box-shadow: 0 0 0 1px var(--brand-blue);
}

.form-help {
    font-size: 0.75rem;
    color: var(--slate-500);
    margin-top: 0.25rem;
}

.form-error {
    font-size: 0.8125rem;
    color: #dc2626;
    margin-top: 0.25rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Flash Alerts */
.alert {
    padding: 0.875rem 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 4px solid transparent;
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border-left-color: #10b981;
}

.alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border-left-color: #ef4444;
}

/* --------------------------------------------------------------------------
   MOBILE RESPONSIVENESS OVERRIDES
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .navbar {
        height: 64px;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        border-bottom: 2px solid var(--brand-blue);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 0.5rem 0;
        align-items: stretch;
    }

    .nav-menu.mobile-open {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--slate-200);
        box-shadow: none;
        background-color: var(--slate-50);
        padding: 0;
    }

    .nav-item.dropdown.is-open .dropdown-menu {
        display: block;
    }
}

/* ==========================================================================
   ENHANCED 100VH HERO SLIDER & INDUSTRIAL SERVICE SECTIONS
   ========================================================================== */

/* 100vh Hero Slider */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    background-color: var(--brand-blue-dark);
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.9s ease;
    z-index: 1;
}

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

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

/* Rich Dark Industrial Gradient Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(9, 26, 45, 0.96) 0%,
        rgba(9, 26, 45, 0.88) 42%,
        rgba(9, 26, 45, 0.5) 75%,
        rgba(9, 26, 45, 0.25) 100%
    );
    z-index: 3;
}

.hero-content-wrapper {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
}

/* Content Box on One Side */
.hero-text-card {
    max-width: 680px;
    background: rgba(15, 43, 72, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-left: 5px solid var(--brand-burgundy);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 3rem 2.5rem;
    color: var(--white);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: heroFadeIn 0.8s ease-out;
}

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

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--brand-burgundy);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--slate-200);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Slider Controls (Bottom Right / Center) */
.hero-controls {
    position: absolute;
    bottom: 2.5rem;
    right: 3rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(9, 26, 45, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 0.75rem;
}

.hero-nav-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.hero-nav-btn:hover {
    background: var(--brand-burgundy);
    border-color: var(--brand-burgundy);
}

.hero-nav-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.hero-indicators {
    display: flex;
    gap: 0.4rem;
}

.hero-indicator-dot {
    width: 28px;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    padding: 0;
}

.hero-indicator-dot.active {
    background: var(--brand-burgundy);
    width: 44px;
}

/* Category Cards with Photos (No DIV-01) */
.category-card {
    background-color: var(--white);
    border: 1px solid var(--slate-200);
    border-top: 4px solid var(--brand-blue);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
    border-top-color: var(--brand-burgundy);
    box-shadow: 0 12px 24px -8px rgba(15, 43, 72, 0.15);
    transform: translateY(-3px);
}

.category-card-img-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background-color: var(--slate-100);
}

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

.category-card:hover .category-card-img {
    transform: scale(1.05);
}

.category-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: var(--brand-blue-dark);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-left: 2px solid var(--brand-burgundy);
}

.category-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 0 auto;
}

.category-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.category-card-text {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

/* Feature & Facility Showcase Section */
.facility-feature-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .facility-feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.facility-img-wrap {
    position: relative;
    border: 1px solid var(--slate-300);
    box-shadow: 0 10px 30px rgba(15, 43, 72, 0.1);
}

.facility-img-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.facility-img-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--brand-burgundy);
    color: var(--white);
    padding: 1rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 2px solid var(--white);
}

/* Process Steps Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.process-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    padding: 2rem 1.5rem;
    position: relative;
    border-top: 3px solid var(--brand-blue);
    transition: all 0.2s ease;
}

.process-card:hover {
    border-top-color: var(--brand-burgundy);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(15, 43, 72, 0.08);
}

.process-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--slate-300);
    line-height: 1;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.process-card:hover .process-number {
    color: var(--brand-burgundy);
}

.process-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 0.75rem;
}

.process-desc {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.5;
}

/* Service Stats Bar */
.stats-banner {
    background-color: var(--brand-blue);
    color: var(--white);
    padding: 3rem 0;
    border-top: 3px solid var(--brand-burgundy);
    border-bottom: 3px solid var(--brand-burgundy);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.4rem;
}

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

@media (max-width: 768px) {
    .hero-slider-section {
        height: auto;
        min-height: 520px;
    }

    .hero-text-card {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 1.95rem;
    }

    .hero-controls {
        right: 1.5rem;
        bottom: 1.5rem;
    }
}
