/* ==========================================================================
   Siddhivinayak Engineering - Premium Modern Master Stylesheet
   ========================================================================== */

:root {
    /* Primary Brand Color */
    --primary-color: #4476a9;       /* Steel Blue — Client Specified */
    --primary-dark: #335d8a;        /* Darker shade for hovers */
    --primary-gradient: linear-gradient(135deg, #4476a9 0%, #335d8a 100%);
    --secondary-color: #f25b22;     /* Energetic Orange Accent */
    --accent-light: #eaf2fa;        /* Soft Blue Tint */
    
    --bg-main: #f8fafc;             /* Slate 50 */
    --bg-card: #ffffff;             /* Crisp White */
    --bg-dark: #1a2a3e;             /* Deep Navy */
    
    --text-color: #1e293b;         /* Slate 800 */
    --text-light: #64748b;         /* Slate 500 */
    --white: #ffffff;
    
    --border-color: #e2e8f0;        /* Slate 200 */
    --border-hover: #4476a9;        /* Primary on hover */
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Box Shadows */
    --shadow-sm: 0 2px 8px rgba(68, 118, 169, 0.06);
    --shadow-md: 0 10px 30px rgba(68, 118, 169, 0.08);
    --shadow-lg: 0 20px 45px rgba(68, 118, 169, 0.14);
    --shadow-glow: 0 8px 32px rgba(68, 118, 169, 0.18);

    /* Spacing Design Tokens */
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 55px;

    /* Typography Design Tokens */
    --font-size-sm: 0.88rem;
    --font-size-base: 1rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

p {
    margin-bottom: 1.2rem;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-white h2 { color: var(--white); }
.bg-light { background-color: var(--bg-main); }
.bg-dark { background-color: var(--bg-dark); }
.w-100 { width: 100%; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(68, 118, 169, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(242, 91, 34, 0.2);
}

.btn-secondary:hover {
    background-color: #d64714;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(242, 91, 34, 0.3);
    color: var(--white);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

/* Sections */
section {
    padding: 80px 0;
}

/* =========================================================
   LEIBINGER-INSPIRED DESIGN SYSTEM COMPONENTS
   ========================================================= */

/* Section Tag — small coloured label above headings */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--secondary-color);
    background: rgba(242, 91, 34, 0.08);
    border: 1px solid rgba(242, 91, 34, 0.25);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.section-tag.tag-blue {
    color: var(--primary-color);
    background: rgba(68, 118, 169, 0.08);
    border-color: rgba(68, 118, 169, 0.25);
}

/* Section heading — left-aligned Leibinger style */
.section-title {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-color);
}

.section-title.centered {
    text-align: center;
}

.section-title::after {
    content: none;
}

.section-subtitle {
    text-align: left;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 48px;
    max-width: 600px;
    line-height: 1.7;
}

.section-subtitle.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* 50/50 Split Layout */
.lb-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.lb-split.reverse {
    direction: rtl;
}

.lb-split.reverse > * {
    direction: ltr;
}

.lb-split-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(68, 118, 169, 0.12);
}

.lb-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 400px;
}

.lb-split-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Clean Industrial Card */
.lb-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.lb-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(68, 118, 169, 0.1);
    transform: translateY(-4px);
}

.lb-card-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f7f8fa;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-card-img img {
    max-height: 180px;
    width: 100%;
    object-fit: contain;
}

.lb-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lb-card-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
}

.lb-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
    margin: 0;
    font-family: var(--font-heading);
}

.lb-card-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lb-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 8px;
    transition: gap 0.2s ease;
}

.lb-card-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* Icon Feature Row */
.lb-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lb-feature-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.lb-feature-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(68, 118, 169, 0.08);
    transform: translateY(-3px);
}

.lb-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.lb-feature-icon svg {
    width: 22px;
    height: 22px;
}

.lb-feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    font-family: var(--font-heading);
}

.lb-feature-text {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}

/* Page Hero (used on inner pages) */
.page-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.92)), url('assets/images/hero-bg.png') center/cover no-repeat;
    padding: 110px 0 70px;
    color: #ffffff;
}

.page-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.page-hero-breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

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

.page-hero-breadcrumb span {
    color: var(--secondary-color);
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0;
    max-width: 700px;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0;
    line-height: 1.7;
}

.hero-slide-grid {
    grid-template-columns: 1.2fr 0.8fr;
}

.products-shell {
    grid-template-columns: 260px 1fr;
}

/* Full-Bleed CTA Band */
.cta-band {
    background: var(--secondary-color);
    padding: 70px 0;
    color: #ffffff;
}

.cta-band h2 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-band p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 580px;
}

.cta-band .btn-white {
    background: #ffffff;
    color: var(--secondary-color);
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 40px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.cta-band .btn-white:hover {
    background: #fff8f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* Stats Row */
.lb-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
}

.lb-stat-item {
    padding: 32px 24px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

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

.lb-stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1;
}

.lb-stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Alternating section backgrounds */
.bg-offwhite {
    background: #f7f8fa;
}

.divider-line {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0;
}

/* Industry Pill Tags */
.industry-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.industry-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
    text-decoration: none;
}

.industry-pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* Header & Nav */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(68, 118, 169, 0.06);
    z-index: 99999;
    transition: box-shadow 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    padding: 0;
}

.logo a {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    padding: 6px 0;
    border-radius: 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: transparent;
}

.nav-links a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 6px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    box-shadow: 0 4px 12px rgba(242, 91, 34, 0.2);
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.btn-header-cta:hover {
    background-color: #d64714;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(242, 91, 34, 0.3);
    color: var(--white);
}

.cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-header-cta:hover .cta-arrow {
    transform: rotate(45deg);
}

.hamburger-circle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.hamburger-circle:hover {
    border-color: var(--primary-color);
    background: rgba(68, 118, 169, 0.05);
}

.hamburger-circle .hamburger {
    display: flex;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* Multi-Level Navigation Dropdown */
.nav-links li {
    position: relative;
}

.nav-links .arrow {
    font-size: 0.65rem;
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.25s ease;
    vertical-align: middle;
}

.nav-links .has-dropdown:hover .arrow {
    transform: rotate(180deg);
}

/* First Level Dropdown (Categories) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    min-width: 270px;
    padding: 10px 0;
    margin-top: 12px;
    list-style: none;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1100;
}

/* Hover bridge gap - first level */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu li {
    position: relative;
    width: 100%;
}

.dropdown-menu li a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px !important;
    border-radius: 0 !important;
    color: var(--text-color) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    background: transparent !important;
    transition: var(--transition-fast) !important;
}

.dropdown-menu li a:hover {
    background: rgba(68, 118, 169, 0.08) !important;
    color: var(--primary-color) !important;
}

.arrow-right {
    font-size: 0.65rem;
    color: var(--text-light);
    transition: transform 0.2s;
}

.dropdown-menu li:hover > a .arrow-right {
    color: var(--primary-color);
    transform: translateX(3px);
}

/* Second Level Submenu (Products) */
.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    min-width: 250px;
    padding: 10px 0;
    margin-left: 8px;
    list-style: none;
    display: none;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1200;
}

/* Hover bridge gap - second level */
.submenu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -12px;
    width: 12px;
    height: 100%;
    background: transparent;
}

.has-submenu:hover .submenu {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.submenu li a {
    padding: 10px 24px !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
}

/* Desktop Mega Menu (Grid Type Design) */
@media (min-width: 993px) {
    .site-header .has-dropdown {
        position: static;
    }

    .dropdown-menu {
        left: 50% !important;
        right: auto !important;
        top: 100% !important;
        width: 800px !important;
        min-width: auto;
        display: grid;
        visibility: hidden;
        opacity: 0;
        transform: translateX(-50%) translateY(15px) !important;
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
        grid-template-columns: repeat(3, 1fr) !important; /* 3 columns grid of categories */
        gap: 20px !important;
        padding: 30px !important;
        border-radius: 24px !important;
        margin-top: 15px !important;
        box-shadow: 0 20px 50px rgba(9, 21, 35, 0.12) !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        z-index: 10000 !important;
        overflow: visible !important;
    }

    /* Hover bridge gap - spans the space from navbar bottom to dropdown menu */
    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -35px !important;
        left: 0;
        width: 100%;
        height: 35px !important;
        background: transparent;
    }

    .has-dropdown:hover .dropdown-menu {
        display: grid !important;
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(0) !important;
    }

    .dropdown-menu li {
        width: auto;
        position: relative;
    }

    /* Style each category as a beautiful rounded box */
    .dropdown-menu > li.has-submenu {
        width: 100% !important;
        margin: 0 !important;
        background: #f8fafc !important;
        border-radius: 16px !important;
        border: 1px solid #e2e8f0 !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .dropdown-menu > li.has-submenu:hover {
        background: #ffffff !important;
        transform: translateY(-4px) !important;
        box-shadow: 0 12px 28px rgba(68, 118, 169, 0.12) !important;
        border-color: var(--primary-color) !important;
        z-index: 99999 !important;
    }

    /* Anchor layout within the category box */
    .dropdown-menu > li.has-submenu > a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        padding: 20px 16px !important;
        width: 100% !important;
        height: 100% !important;
        background: transparent !important;
        border-radius: 16px !important;
        color: #1e293b !important;
        font-family: var(--font-heading) !important;
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.04em;
        text-decoration: none !important;
        transition: color 0.3s ease !important;
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }

    .dropdown-menu > li.has-submenu:hover > a {
        color: var(--primary-color) !important;
    }

    /* Hide arrow-right on category link */
    .dropdown-menu .arrow-right {
        display: none !important;
    }

    /* Category Icon styling */
    .cat-icon {
        color: #64748b;
        transition: color 0.3s ease, transform 0.3s ease;
        flex-shrink: 0;
    }

    .dropdown-menu > li.has-submenu:hover .cat-icon {
        color: var(--primary-color);
        transform: scale(1.08);
    }

    /* Submenu Product Popout Grid Styling */
    .products-grid-submenu {
        display: grid !important;
        visibility: hidden;
        opacity: 0;
        position: absolute !important;
        top: 100% !important;
        background: #ffffff !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 20px !important;
        box-shadow: 0 15px 35px rgba(9, 21, 35, 0.15) !important;
        padding: 12px !important;
        width: 100% !important;
        min-width: 340px !important;
        z-index: 999999 !important;
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columns grid of products */
        gap: 12px !important;
        transform: translateY(10px);
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s !important;
    }

    /* Submenu position adjustments based on grid column position to prevent overflow */
    .col-left .products-grid-submenu {
        left: 0 !important;
        right: auto !important;
        margin-top: 10px !important;
    }

    .col-left .products-grid-submenu::before {
        content: '';
        position: absolute;
        top: -15px;
        left: 0;
        width: 100%;
        height: 15px;
        background: transparent;
    }

    .col-right .products-grid-submenu {
        right: 0 !important;
        left: auto !important;
        margin-top: 10px !important;
    }

    .col-right .products-grid-submenu::before {
        content: '';
        position: absolute;
        top: -15px;
        right: 0;
        width: 100%;
        height: 15px;
        background: transparent;
    }

    /* Show submenu on hover of category box */
    .dropdown-menu > li.has-submenu:hover .products-grid-submenu {
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Individual Product Card inside Submenu */
    .submenu-product-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 12px !important;
        background: #ffffff !important;
        border-radius: 14px !important;
        border: 1px solid #edf2f7 !important;
        transition: all 0.25s ease !important;
        text-decoration: none !important;
    }

    .submenu-product-card:hover {
        background: #f8fafc !important;
        border-color: var(--primary-color) !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 20px rgba(68, 118, 169, 0.08) !important;
    }

    /* Product image container */
    .submenu-product-img {
        width: 100% !important;
        height: 70px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f8fafc !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        margin-bottom: 6px !important;
        transition: background-color 0.25s ease !important;
    }

    .submenu-product-card:hover .submenu-product-img {
        background: #ffffff !important;
    }

    .submenu-product-img img {
        max-width: 90% !important;
        max-height: 90% !important;
        object-fit: contain !important;
        transition: transform 0.3s ease !important;
    }

    .submenu-product-card:hover .submenu-product-img img {
        transform: scale(1.06) !important;
    }

    .submenu-product-placeholder {
        font-size: 0.7rem !important;
        color: var(--text-light) !important;
        font-weight: 500;
    }

    /* Product title inside Submenu */
    .submenu-product-title {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        color: var(--text-color) !important;
        text-align: center !important;
        line-height: 1.3 !important;
        display: block !important;
        transition: color 0.2s ease !important;
    }

    .submenu-product-card:hover .submenu-product-title {
        color: var(--primary-color) !important;
    }

    /* Keep parent menu item highlighted when dropdown is active */
    .nav-links li:hover > a {
        color: var(--primary-color) !important;
        background: rgba(68, 118, 169, 0.08) !important;
    }
}

/* Mobile responsive accordion fallback styles */
@media (max-width: 992px) {
    .nav-links .products-grid-submenu {
        position: static !important;
        display: none !important;
        box-shadow: none !important;
        border-left: 2px solid var(--primary-color) !important;
        background: rgba(68, 118, 169, 0.03) !important;
        border-radius: 0 12px 12px 0 !important;
        min-width: 0 !important;
        padding: 5px 0 !important;
        margin: 5px 15px !important;
        width: calc(100% - 20px) !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        display: none !important;
    }

    .nav-links .has-submenu.mobile-active > .products-grid-submenu {
        display: block !important;
    }

    .submenu-product-card {
        display: block !important;
        padding: 10px 20px !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        text-align: left !important;
        transform: none !important;
    }

    .submenu-product-card:hover {
        background: rgba(68, 118, 169, 0.08) !important;
    }

    .submenu-product-img {
        display: none !important; /* Hide image grids on mobile for a clean accordion list */
    }

    .submenu-product-title {
        font-size: 0.88rem !important;
        font-weight: 500 !important;
        color: var(--text-color) !important;
        text-align: left !important;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(9, 21, 35, 0.85), rgba(9, 21, 35, 0.85)), url('../images/hero-bg.png') center/cover;
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 60px 0;
}

.hero-content h1 {
    font-size: 3.8rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.7rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-desc {
    font-size: 1.2rem;
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e2e8f0;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.stat-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 220px;
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Responsive Grid Helpers */
.hero-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.about-grid-equal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-grid-left-slim {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.about-grid-left-wide {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
}

.industries-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.features-list {
    list-style: none;
    margin-top: 24px;
}

.features-list li {
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    color: var(--secondary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.about-img-box {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
}

.about-img-box:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-glow);
}

.about-img-box strong {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    display: block;
    margin-bottom: 12px;
    color: var(--white);
    font-weight: 800;
}

.about-img-box p {
    font-size: 1.15rem;
    color: #e2e8f0;
}

/* Products Section */
.product-tabs {
    margin-top: 30px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(68, 118, 169, 0.25);
    transform: translateY(-2px);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

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

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

.product-img {
    height: 220px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-info {
    padding: 24px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--accent-light);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.95rem;
    height: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-info .btn {
    margin-right: 8px;
    margin-bottom: 8px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 35px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover .icon {
    transform: scale(1.15);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card .icon {
    font-size: 3.2rem;
    margin-bottom: 24px;
    text-align: center;
    display: block;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 18px;
    text-align: center;
    color: var(--primary-color);
}

.service-card ul {
    list-style: none;
    text-align: left;
    padding-left: 0;
}

.service-card li {
    font-size: 0.92rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: var(--text-light);
}

.service-card li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-block;
    position: absolute;
    left: 4px;
    top: -2px;
}

.support-promise {
    margin-top: 50px;
    padding: 35px;
    background: var(--white);
    border-left: 4px solid var(--secondary-color);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
}

/* Industries */
.industry-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.industry-item {
    background: var(--bg-card);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
    transition: var(--transition);
}

.industry-item:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 270px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-block {
    margin-bottom: 24px;
}

.info-block h4 {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 45px;
    border-radius: 16px;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.contact-form-wrapper:hover {
    box-shadow: var(--shadow-glow);
}

.contact-form-wrapper h3 {
    margin-bottom: 24px;
    font-size: 1.6rem;
}

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

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    width: 50%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    background: #f8fafc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(68, 118, 169, 0.15);
}

.form-status {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
}

.form-status.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.form-status.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

/* ============================================================================
   REDESIGNED CONTACT FORM (MATCHING REFERENCE UI)
   ============================================================================ */
.contact-redesign-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
}

.contact-redesign-header {
    margin-bottom: 35px;
}

.contact-subtitle-accent {
    color: var(--secondary-color);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.contact-main-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
    text-transform: uppercase;
}

.salutation-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: #475569;
}

.salutation-label {
    font-weight: 600;
    color: #334155;
}

.salutation-options {
    display: flex;
    gap: 20px;
}

.salutation-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #64748b;
}

.salutation-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.contact-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-field-input {
    width: 100%;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #334155;
    transition: all 0.25s ease;
}

.contact-field-input::placeholder {
    color: #94a3b8;
}

.contact-field-input:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(68, 118, 169, 0.15);
}

.contact-flex-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-flex-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-flex-right textarea {
    flex: 1;
    min-height: 175px;
    resize: vertical;
}

.zip-city-row {
    display: flex;
    gap: 15px;
}

.zip-city-row input {
    flex: 1;
}

.checkbox-section {
    margin-top: 30px;
}

.checkbox-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.65;
    cursor: pointer;
    margin-bottom: 20px;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--primary-color);
}

.contact-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
    padding-top: 20px;
}

.mandatory-note {
    font-size: 0.9rem;
    color: #64748b;
}

.btn-send-redesign {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 14px 48px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-send-redesign:hover {
    background: #2c537d;
    box-shadow: 0 6px 20px rgba(68, 118, 169, 0.3);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .contact-redesign-container {
        padding: 30px 20px;
    }
    .contact-grid-2col {
        grid-template-columns: 1fr;
    }
    .zip-city-row {
        flex-direction: column;
    }
    .contact-flex-right textarea {
        min-height: 140px;
    }
    .contact-form-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        text-align: center;
    }
    .btn-send-redesign {
        width: 100%;
    }
}

/* Footer & WhatsApp */
.site-footer {
    background: linear-gradient(135deg, #0d1a2d 0%, #08101b 100%);
    color: #94a3b8;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
    gap: 40px;
    margin-bottom: 40px;
}

.social-links-flex {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    transition: var(--transition);
}

.social-icon svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 400px;
    font-size: 0.95rem;
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
}

.wa-icon {
    background: #25d366;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.wa-icon svg {
    fill: #fff;
    width: 32px;
    height: 32px;
}

/* Modal for Video */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 21, 35, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    margin: 8% auto;
    width: 85%;
    max-width: 900px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 2100;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--secondary-color);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid, .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-grid, .hero-content-grid, .about-grid-equal, .about-grid-left-slim, .about-grid-left-wide, .industries-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 992px) {
    .site-header {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
        box-shadow: var(--shadow-sm) !important;
        background: rgba(255, 255, 255, 0.98) !important;
    }
    .navbar {
        height: 72px !important;
        padding: 0 20px !important;
    }
    .hamburger-circle { display: inline-flex; }
    .btn-header-cta { display: none; }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 15px;
        right: 15px;
        width: calc(100% - 30px);
        background: var(--bg-card);
        flex-direction: column;
        text-align: left;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 8px;
        border-radius: 16px;
        border: 1px solid var(--border-color);
        z-index: 999;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }
    .nav-links.active { display: flex; }
    .nav-links a {
        display: inline-block;
        padding: 8px 16px;
        width: 100%;
    }
    
    /* Mobile Dropdown styles */
    .nav-links .dropdown-menu {
        position: static !important;
        display: none !important;
        box-shadow: none !important;
        border-left: 2px solid var(--primary-color) !important;
        background: rgba(68, 118, 169, 0.03) !important;
        border-radius: 0 12px 12px 0 !important;
        min-width: 0 !important;
        padding: 5px 0 !important;
        margin: 5px 15px !important;
        width: calc(100% - 20px) !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .nav-links .submenu {
        position: static !important;
        display: none !important;
        box-shadow: none !important;
        border-left: 2px solid var(--secondary-color) !important;
        background: rgba(242, 91, 34, 0.03) !important;
        border-radius: 0 8px 8px 0 !important;
        min-width: 0 !important;
        padding: 5px 0 !important;
        margin: 5px 15px !important;
        width: calc(100% - 20px) !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    /* Toggle active class styles */
    .nav-links .has-dropdown.mobile-active > .dropdown-menu {
        display: block !important;
    }
    
    .nav-links .has-submenu.mobile-active > .submenu {
        display: block !important;
    }
    
    .nav-links .has-dropdown.mobile-active > a .arrow {
        transform: rotate(180deg);
    }
    
    .nav-links .has-submenu.mobile-active > a .arrow-right {
        transform: rotate(90deg);
    }

    .nav-links .dropdown-menu li a {
        padding: 10px 20px !important;
    }

    .nav-links .submenu li a {
        padding: 8px 24px !important;
    }
    .hero-content h1 { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1.4rem; }
    .form-row { flex-direction: column; gap: 0; }
    .form-group.half { width: 100%; }
    .page-header {
        padding-top: 110px !important;
        padding-bottom: 50px !important;
    }

    /* Gallery lightbox controls for mobile */
    #galleryLightbox .close-btn {
        right: 15px !important;
        top: 10px !important;
        font-size: 36px !important;
    }
    #galleryLightbox button {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
    }
    #galleryLightbox button:first-of-type {
        left: 15px !important;
    }
    #galleryLightbox button:last-of-type {
        right: 15px !important;
    }
    #galleryLightbox img {
        max-width: 95% !important;
        max-height: 50vh !important;
    }
    #lightboxTitle {
        font-size: 1.25rem !important;
    }
    #lightboxDesc {
        font-size: 0.88rem !important;
    }
}

/* ============================================================================
   PREMIUM SCROLL REVEAL & LOAD ANIMATIONS
   ============================================================================ */

/* Base reveal state — fade up (default) only when JS is active and loaded */
.js-enabled .reveal-on-scroll {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: opacity, transform;
}

/* Slide from left variant */
.js-enabled .reveal-on-scroll.reveal-left {
    transform: translateX(-50px) !important;
}

/* Slide from right variant */
.js-enabled .reveal-on-scroll.reveal-right {
    transform: translateX(50px) !important;
}

/* Scale-up variant (great for cards) */
.js-enabled .reveal-on-scroll.reveal-scale {
    transform: scale(0.92) !important;
}

/* Revealed state (visible) */
.js-enabled .reveal-on-scroll.revealed {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}

/* Premium CSS-only Page Load Animations */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmerGlow {
    0% { box-shadow: var(--shadow-sm); }
    50% { box-shadow: var(--shadow-glow); }
    100% { box-shadow: var(--shadow-sm); }
}

.dom-loaded .hero-content-grid > div:first-child h1,
.dom-loaded .page-header h1 {
    opacity: 0;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 100ms;
}

.dom-loaded .hero-content-grid > div:first-child p.hero-subtitle,
.dom-loaded .page-header p {
    opacity: 0;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 200ms;
}

.dom-loaded .hero-content-grid > div:first-child p.hero-desc {
    opacity: 0;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 300ms;
}

.dom-loaded .hero-content-grid > div:first-child .hero-actions {
    opacity: 0;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 400ms;
}

.dom-loaded .hero-content-grid > div:last-child {
    opacity: 0;
    animation: fadeInScale 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 500ms;
}

/* Stagger delay classes (applied by JS for grid children) */
.delay-100 { transition-delay: 100ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-400 { transition-delay: 400ms !important; }
.delay-500 { transition-delay: 500ms !important; }
.delay-600 { transition-delay: 600ms !important; }
.delay-700 { transition-delay: 700ms !important; }
.delay-800 { transition-delay: 800ms !important; }
.delay-900 { transition-delay: 900ms !important; }
.delay-1000 { transition-delay: 1000ms !important; }

/* Hover shimmer effect on revealed cards */
.product-card.revealed:hover,
.service-card.revealed:hover {
    animation: shimmerGlow 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-content-grid > div:first-child h1,
    .hero-content-grid > div:first-child p,
    .hero-content-grid > div:first-child .hero-actions,
    .hero-content-grid > div:last-child,
    .page-header h1,
    .page-header p {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .product-card.revealed:hover,
    .service-card.revealed:hover {
        animation: none !important;
    }
}

/* ============================================================================
   TRUCODE STYLE REDESIGN HELPER CLASSES
   ============================================================================ */
.welcome-badge {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4.6rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--white);
    margin-bottom: 25px;
    text-transform: none;
}

.hero-title .highlight-text {
    color: var(--secondary-color);
    background: linear-gradient(120deg, var(--secondary-color) 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-stats-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 30px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.glass-stats-card h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-number.highlight {
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Why Choose Us Badge & Checklist */
.badge-outline {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: var(--bg-card);
}

.check-list {
    list-style: none;
    padding-left: 0;
    margin: 25px 0 35px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.check-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-color);
}

.check-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--primary-color);
    border: 1px solid rgba(68, 118, 169, 0.15);
    flex-shrink: 0;
}

.check-icon-wrap svg {
    width: 14px;
    height: 14px;
    stroke-width: 3;
}

.identity-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition);
}

.identity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.identity-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-light);
    color: var(--primary-color);
    flex-shrink: 0;
}

.identity-card-icon svg {
    width: 24px;
    height: 24px;
}

.identity-card-content h4 {
    margin-bottom: 6px;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.identity-card-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Adjustments for fixed floating header on inner pages */
.page-header {
    padding-top: 140px !important;
    padding-bottom: 70px !important;
}

/* Responsive Footer Redesign */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
        max-width: 500px;
    }
    .social-links-flex {
        justify-content: center;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 35px !important;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        padding-bottom: 20px;
    }
}

/* Responsive Homepage Redesign */
@media (max-width: 992px) {
    .hero-section {
        padding: 130px 0 60px !important;
    }
    .hero-title {
        font-size: 3.2rem !important;
        line-height: 1.1 !important;
        text-align: center;
    }
    .hero-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.05rem !important;
    }
    .hero-actions {
        justify-content: center !important;
    }
    .welcome-badge {
        display: block !important;
        width: max-content;
        margin: 0 auto 20px !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 110px 0 50px !important;
    }
    .hero-title {
        font-size: 2.5rem !important;
    }
    .hero-desc {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    .hero-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
        max-width: 320px;
        margin: 0 auto !important;
    }
    .hero-actions .btn {
        width: 100% !important;
    }
    .glass-stats-card {
        padding: 25px 20px !important;
        text-align: center !important;
    }
    .glass-stats-card h3 {
        font-size: 1.1rem !important;
    }
    .stat-number {
        font-size: 2.1rem !important;
    }
    .stat-label {
        font-size: 0.78rem !important;
    }
    
    /* Calculator Section */
    .calculator-section {
        padding: 45px 0 !important;
    }
    .calculator-section .about-grid-left-wide > div:first-child {
        padding: 24px 20px !important;
    }
    .calculator-section .about-grid-left-wide > div:last-child {
        padding: 25px 20px !important;
    }
    .calculator-section #liters-saved {
        font-size: 2.4rem !important;
    }
    
    /* Tech Explainer Tabs */
    .tech-explainer-section {
        padding: 45px 0 !important;
    }
    .tech-explainer-section .about-grid-left-slim > div:first-child {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }
    .tech-explainer-section .tech-tab-btn {
        width: calc(50% - 8px) !important;
        padding: 10px 12px !important;
        font-size: 0.82rem !important;
        text-align: center !important;
        margin: 0 !important;
    }
    .tech-explainer-section .about-grid-left-slim > div:last-child {
        padding: 24px 20px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem !important;
    }
    .tech-explainer-section .tech-tab-btn {
        width: 100% !important;
    }
}

/* ============================================================================
   FUTURISTIC PRODUCT CARDS DESIGN
   ============================================================================ */
.futuristic-card {
    position: relative;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Background neon glow on hover */
.futuristic-card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), #38bdf8);
    border-radius: 22px;
    z-index: 1;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.4s ease;
}

.futuristic-card:hover .futuristic-card-glow {
    opacity: 0.65;
}

/* Card inner content - floats above the glow */
.futuristic-card-inner {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    z-index: 2;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid transparent;
    transition: border-color 0.4s ease;
}

.futuristic-card:hover {
    transform: translateY(-8px);
}

.futuristic-card:hover .futuristic-card-inner {
    border-color: rgba(68, 118, 169, 0.1);
}

/* Image Wrap with tech grid pattern */
.futuristic-img-wrap {
    position: relative;
    height: 220px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #edf2f7;
}

/* Tech grid dots background */
.tech-grid-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: 0.25;
    z-index: 1;
    pointer-events: none;
}

.futuristic-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.futuristic-card:hover .futuristic-img {
    transform: scale(1.08) rotate(1deg);
}

/* Glass category badge */
.futuristic-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(9, 21, 35, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Card details info */
.futuristic-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.futuristic-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.25;
    transition: color 0.3s ease;
}

.futuristic-card:hover .futuristic-title {
    color: var(--primary-color);
}

.futuristic-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #64748b;
    margin-bottom: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}



.futuristic-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.futuristic-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(68, 118, 169, 0.25);
}

.btn-glow-arrow {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.futuristic-btn:hover .btn-glow-arrow {
    transform: translateX(4px);
}

/* ============================================================================
   PRODUCTS CATALOG & DETAIL REDESIGN STYLES
   ============================================================================ */

/* Catalog Search Controls */
.catalog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.search-wrapper {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.search-input:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(68, 118, 169, 0.15), inset 0 2px 4px rgba(0,0,0,0.01);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.catalog-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.catalog-tab-btn svg {
    transition: stroke 0.3s ease, fill 0.3s ease;
    opacity: 0.8;
}

.catalog-tab-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--primary-color);
}

.catalog-tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(68, 118, 169, 0.25);
}

.catalog-tab-btn.active svg {
    color: #ffffff;
}

/* Product Detail Page Styling */
.product-detail-img-card {
    position: relative;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.product-detail-img-card img {
    max-width: 90%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 12px;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-detail-img-card:hover img {
    transform: scale(1.04);
}

/* Premium Tech Specifications Table */
.tech-spec-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
}

.tech-spec-title-bar {
    background: #f8fafc;
    color: #0f172a;
    padding: 18px 24px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--primary-color);
}

.tech-spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.tech-spec-table tr {
    transition: background-color 0.2s ease;
}

.tech-spec-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.tech-spec-table tr:hover {
    background-color: rgba(68, 118, 169, 0.04);
}

.tech-spec-table td {
    padding: 14px 24px;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

/* Highlight the spec keys */
.tech-spec-table td.spec-key {
    font-weight: 700;
    color: #0f172a;
    width: 35%;
    border-right: 1px solid #f1f5f9;
}

.tech-spec-table tr:last-child td {
    border-bottom: none;
}

/* YouTube Video Frame */
.video-wrapper-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-top: 40px;
    overflow: hidden;
}

.video-wrapper-card h2 {
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.video-wrapper-card .video-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* Card animations */
.product-card-anim {
    animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ==========================================================================
   FOOTER — Dark Navy 4-Column Layout
   ========================================================================== */

.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 72px;
    padding-bottom: 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}

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

.footer-links h4,
.footer-brand h4,
.footer-contact h4 {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 22px;
    font-family: var(--font-heading);
}

.footer-links ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links ul li a::before {
    content: '→';
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.2s ease;
    color: var(--secondary-color);
}

.footer-links ul li a:hover {
    color: #ffffff;
}

.footer-links ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.social-links-flex {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 20px 0;
    background: #080e1a;
}

/* Responsive for footer-grid */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   RESPONSIVE RULES FOR LEIBINGER DESIGN SYSTEM
   ========================================================================== */

@media (max-width: 1024px) {
    .lb-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lb-split.reverse {
        direction: ltr;
    }

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

    .lb-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .lb-stats-row .lb-stat-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 55px 0;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .lb-features-grid {
        grid-template-columns: 1fr;
    }

    .lb-stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .cta-band-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .cta-band h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .lb-stats-row {
        grid-template-columns: 1fr;
    }

    .lb-stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

/* ==========================================================================
   BODY PADDING — No longer needed with sticky header (was fixed before)
   ========================================================================== */

/* Remove old body padding-top that was used for fixed positioning */
body {
    padding-top: 0 !important;
}
