/* ═══════════════════════════════════════════════════════
   GOOGLE FONTS — Global Load
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   PREMIUM COMMUTES MAP STYLES
   ═══════════════════════════════════════════════════════ */
.commutes {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.commutes-map {
    height: 300px;
    position: relative;
}

.commutes-initial-state {
    padding: var(--sp-6);
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    background: var(--c-light);
}

.commutes-initial-state .description h1 {
    font-size: var(--fs-md);
    margin: 0;
}

.commutes-initial-state .description p {
    font-size: var(--fs-sm);
    margin: 0;
}

.commutes-modal-container {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.commutes-modal {
    background: var(--c-white);
    padding: var(--sp-8);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 400px;
}

/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS - CORE SYSTEM
   ═══════════════════════════════════════════════════════ */
:root {
    /* Brand Palette - Restored Original Styles */
    --c-primary: #1E60B3;
    --c-primary-rgb: 30, 96, 179;
    --c-primary-light: #3a82e6;
    --c-primary-dark: #123e75;
    --c-primary-ultra: #081d38;
    --c-secondary: #F5F7FA;
    --c-accent: #ffc107;
    --c-accent-rgb: 255, 193, 7;
    --c-success: #25d366;
    --c-danger: #dc3545;

    /* Neutrals - Restored */
    --c-white: #ffffff;
    --c-light: #f8f9fa;
    --c-light-alt: #f0f2f5;
    --c-border: #e2e8f0;
    --c-muted: #94a3b8;
    --c-body: #334155;
    --c-dark: #1e293b;
    --c-darker: #0f172a;

    /* Typography - Maintained Premium Pairing */
    --ff-heading: 'Outfit', system-ui, -apple-system, sans-serif;
    --ff-body: 'Inter', system-ui, -apple-system, sans-serif;
    --ff-display: 'Outfit', system-ui, -apple-system, sans-serif;
    --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --fs-sm: clamp(0.8rem, 0.75rem + 0.3vw, 0.9rem);
    --fs-base: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
    --fs-md: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
    --fs-lg: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
    --fs-xl: clamp(1.4rem, 1.2rem + 1vw, 1.8rem);
    --fs-2xl: clamp(1.8rem, 1.5rem + 1.5vw, 2.5rem);
    --fs-3xl: clamp(2.2rem, 1.8rem + 2vw, 3.2rem);
    --fs-4xl: clamp(2.8rem, 2.2rem + 3vw, 4rem);

    /* Spacing Scale */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* Shadows - Elevation System */
    /* Shadows - Layered Depth System */
    --shadow-xs: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 32px 64px rgba(0, 0, 0, 0.15);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);

    /* Glass Effect */
    /* Glass Effect - Ultra Clear */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-bg-dark: rgba(18, 18, 18, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: 32px;

    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 30px;
    --radius-full: 50%;

    /* Easings - custom cubic-beziers */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    /* Transitions */
    --tr-fast: 150ms var(--ease-smooth);
    --tr-base: 300ms var(--ease-smooth);
    --tr-slow: 500ms var(--ease-out-expo);
    --tr-slower: 700ms var(--ease-out-expo);

    /* Navbar */
    --navbar-h: 72px;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
    --grad-dark: linear-gradient(135deg, var(--c-darker) 0%, var(--c-dark) 100%);
    --grad-accent: linear-gradient(135deg, var(--c-accent) 0%, #ffcd38 100%);
    --grad-hero: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 60%, rgba(0, 0, 0, 0.85) 100%);
    --grad-card-border: linear-gradient(135deg, rgba(var(--c-primary-rgb), 0.3), transparent 50%, rgba(var(--c-accent-rgb), 0.2));
}

/* ═══════════════════════════════════════════════════════
   BASE RESET & FOUNDATION
   ═══════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-h);
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--c-body);
    background-color: var(--c-white);
    padding-top: var(--navbar-h);
    font-weight: 400;
    overflow-x: hidden;
    opacity: 0;
    animation: pageReveal 0.6s var(--ease-out-expo) forwards;
}

@keyframes pageReveal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Skip-to-content - Accessibility */
.skip-link {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: var(--c-primary);
    color: var(--c-white);
    padding: var(--sp-3) var(--sp-6);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-weight: 600;
    font-size: var(--fs-sm);
    text-decoration: none;
    transition: top var(--tr-fast);
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--c-accent);
    outline-offset: 2px;
}

/* Focus Styles - A11y */
:focus-visible {
    outline: 3px solid rgba(var(--c-primary-rgb), 0.5);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

::selection {
    background: rgba(var(--c-primary-rgb), 0.15);
    color: var(--c-primary-dark);
}

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ff-heading);
    font-weight: 600;
    color: var(--c-dark);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--fs-3xl);
}

h2 {
    font-size: var(--fs-2xl);
}

h3 {
    font-size: var(--fs-xl);
}

h4 {
    font-size: var(--fs-lg);
}

h5 {
    font-size: var(--fs-md);
}

h6 {
    font-size: var(--fs-base);
}

p {
    margin-bottom: var(--sp-4);
}

.lead {
    font-size: var(--fs-md);
    color: var(--c-muted);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: var(--c-primary);
    transition: color var(--tr-fast);
}

a:hover {
    color: var(--c-primary-dark);
}

/* ═══════════════════════════════════════════════════════
   BUTTONS - PREMIUM SYSTEM
   ═══════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-6);
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--tr-base);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity var(--tr-fast);
    z-index: -1;
}

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

.btn-primary {
    background: var(--grad-primary);
    color: var(--c-white);
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(var(--c-primary-rgb), 0.35);
    color: var(--c-white);
    background: linear-gradient(135deg, var(--c-primary-light) 0%, var(--c-primary) 100%);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary);
}

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

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

.btn-light {
    background: var(--c-white);
    color: var(--c-dark);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--c-primary);
}

.btn-success {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--c-white);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
    color: var(--c-white);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: var(--c-white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: var(--c-white);
    color: var(--c-dark);
    border-color: var(--c-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-curved {
    border-radius: var(--radius-pill) !important;
    padding: var(--sp-3) var(--sp-8);
    box-shadow: var(--shadow-md);
}

.btn-curved:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: var(--sp-2) var(--sp-5);
    font-size: var(--fs-xs);
}

.btn-lg {
    padding: var(--sp-4) var(--sp-10);
    font-size: var(--fs-base);
}

.btn-sm.btn-curved {
    padding: var(--sp-2) var(--sp-5);
    font-size: var(--fs-xs);
}

/* ═══════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════ */
.section-header {
    margin-bottom: var(--sp-12);
    position: relative;
}

.section-header h2 {
    position: relative;
    padding-bottom: var(--sp-5);
    margin-bottom: var(--sp-4);
    font-size: var(--fs-2xl);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--grad-primary);
    border-radius: var(--radius-pill);
}

.section-header p {
    color: var(--c-muted);
    font-size: var(--fs-md);
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════
   NAVBAR - GLASSMORPHISM
   ═══════════════════════════════════════════════════════ */
.navbar {
    height: var(--navbar-h);
    padding: 0;
    transition: all 0.4s var(--ease-out-expo);
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--c-border);
    box-shadow: none;
    z-index: 1050;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: var(--navbar-h);
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0;
}

.mega-dropdown .container {
    display: block;
    height: auto;
}

/* Desktop phone link spacing */
.nav-phone-link {
    font-size: var(--fs-sm);
    transition: color var(--tr-fast), transform var(--tr-fast);
}

.nav-phone-link:hover {
    transform: scale(1.05);
    color: var(--c-primary-light) !important;
}

.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 42px;
    transition: all var(--tr-base);
}

.navbar.scrolled .navbar-brand img {
    height: 42px;
}

.navbar-nav .nav-link {
    font-family: var(--ff-heading);
    font-weight: 500;
    font-size: var(--fs-sm);
    color: var(--c-dark);
    padding: var(--sp-2) var(--sp-4);
    letter-spacing: 0.01em;
    position: relative;
    transition: color 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--grad-primary);
    border-radius: var(--radius-pill);
    transition: width 0.4s var(--ease-out-expo), opacity 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.navbar-nav:not(:hover) .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--c-primary);
    transform: translateY(-1px);
}

.navbar-nav:not(:hover) .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    width: 70%;
    opacity: 1;
}

.navbar-nav:hover .nav-link.active:not(:hover) {
    color: var(--c-dark);
    transform: none;
}

.navbar-nav:hover .nav-link.active:not(:hover)::after {
    width: 0 !important;
    opacity: 0 !important;
}

.navbar-toggler {
    border: none;
    padding: var(--sp-2);
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: var(--sp-2) 0;
    background: var(--c-white);
    animation: dropdownReveal 0.3s var(--ease-out-expo);
    transform-origin: top center;
    border: 1px solid var(--c-border);
    /* Position below the navbar, not overlapping */
    margin-top: 8px !important;
    top: 100% !important;
}

@keyframes dropdownReveal {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    padding: var(--sp-2) var(--sp-5);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--c-body);
    transition: all 0.25s var(--ease-smooth);
    border-radius: var(--radius-sm);
    margin: 0 var(--sp-2);
}

.dropdown-item:hover {
    background: rgba(var(--c-primary-rgb), 0.08);
    color: #ffc107 !important;
    transform: translateX(4px);
    padding-left: calc(var(--sp-5) + 4px);
}

/* Prevent underline animation on dropdown toggle (it doesn't navigate) */
.navbar-nav .nav-link.dropdown-toggle::after {
    display: none;
}

/* ═══════════════════════════════════════════════════════
   MEGA DROPDOWN MENU
   ═══════════════════════════════════════════════════════ */

/* Trigger link with chevron */
.mega-nav-trigger {
    display: flex !important;
    align-items: center;
    gap: 6px;
}

.mega-chevron {
    font-size: 0.65rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.65;
}

.mega-nav-item.is-open .mega-chevron,
.mega-nav-item:hover .mega-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* The dropdown panel — full-width anchored to the navbar bottom */
.mega-dropdown {
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    width: 100vw;
    background: var(--c-primary-ultra);
    border-top: 3px solid #6c757d;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
    z-index: 1045;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-nav-item.is-open .mega-dropdown,
.mega-nav-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.navbar.scrolled .mega-dropdown {
    top: var(--navbar-h);
}

.mega-dropdown-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 0;
}

/* Column header */
.mega-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f5;
}

.mega-col-header span {
    font-family: var(--ff-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
}

.mega-see-all {
    font-family: var(--ff-heading);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--c-primary);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, gap 0.2s ease;
}

.mega-see-all:hover {
    color: var(--c-primary-dark);
}

/* Left: Product grid */
.mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.mega-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(2px);
    text-decoration: none;
    color: #fff;
}
.mega-item:hover .mega-item-title {
    color: #ffc107 !important;
    transition: color 0.2s ease;
}

.mega-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.mega-item-icon i {
    font-size: 0.85rem;
    color: #64748b;
    transition: color 0.2s ease;
}

.mega-item:hover .mega-item-icon {
    background: rgba(255, 255, 255, 0.15);
}

.mega-item:hover .mega-item-icon i {
    color: var(--c-primary);
}

.mega-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-item-title {
    font-family: var(--ff-heading);
    font-size: 0.83rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.mega-item-desc {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.3;
    font-family: var(--ff-body);
}

/* Right: Featured column */
.mega-col-featured {
    border-left: 1px solid #f0f2f5;
    padding-left: 28px;
    display: flex;
    flex-direction: column;
}

.mega-featured-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.mega-featured-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
    border: 1px solid transparent;
}

.mega-featured-card:hover {
    background: #f8faff;
    border-color: #e9efff;
    text-decoration: none;
    color: inherit;
}

.mega-featured-img {
    width: 64px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #f1f5f9;
}

.mega-featured-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.mega-featured-title {
    font-family: var(--ff-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mega-featured-sub {
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1.3;
    font-family: var(--ff-body);
}

.mega-featured-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0f2f5;
}

.mega-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: var(--c-primary);
    color: #fff;
    border-radius: 8px;
    font-family: var(--ff-heading);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(var(--c-primary-rgb), 0.25);
}

.mega-cta-btn:hover {
    background: var(--c-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(var(--c-primary-rgb), 0.35);
    text-decoration: none;
    color: #fff;
}

/* Backdrop overlay when mega menu is open */
.mega-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--navbar-h);
    z-index: 1040;
    background: transparent;
}

.mega-backdrop.active {
    display: block;
}

/* Mobile: collapse mega menu into an accordion */
@media (max-width: 991.98px) {
    .mega-dropdown {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 4px solid var(--c-primary-ultra) !important;
        border-top: none !important;
        border-bottom: none !important;
        border-radius: 0 !important;
        background-color: #f8f9fa !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease !important;
        padding: 0 !important;
    }

    .mega-nav-item.is-open .mega-dropdown {
        max-height: 1500px !important;
        padding: 1rem 0 !important;
    }

    .mega-dropdown .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .mega-dropdown .row {
        margin: 0 !important;
        width: 100% !important;
    }

    .mega-dropdown .col-lg-3 {
        padding: 0.5rem 0 !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .mega-dropdown .col-lg-3:last-child {
        display: none !important;
    }

    .mega-dropdown .dropdown-item-img-container {
        width: 36px !important;
        height: 36px !important;
    }

    .mega-dropdown-inner {
        grid-template-columns: 1fr;
        padding: 6px 0;
        gap: 0;
        max-width: 100%;
    }

    .mega-col-featured {
        display: none;
    }

    .mega-col-header {
        display: none !important;
    }

    .mega-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mega-item {
        padding: 12px 20px;
        border-radius: 0;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        transition: all 0.25s ease;
        background: transparent;
        display: flex !important;
        align-items: center;
        gap: 12px;
    }

    .mega-item:last-child {
        border-bottom: none;
    }

    .mega-item:hover,
    .mega-item:active {
        transform: none;
        padding-left: 32px;
        background: rgba(var(--c-primary-rgb), 0.05);
    }

    .mega-item-icon {
        display: none !important;
    }

    .mega-item-desc {
        display: none !important;
    }

    .mega-item-title {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--c-dark);
        display: block;
    }

    .mega-nav-trigger {
        justify-content: space-between;
        width: 100%;
    }

    .mega-chevron {
        font-size: 0.75rem;
    }
}


/* ═══════════════════════════════════════════════════════
   HERO SECTION - PARALLAX + CINEMATIC
   ═══════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    height: 92vh;
    min-height: 560px;
    max-height: 900px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.hero-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    inset: 0;
    z-index: 1;
    filter: brightness(0.95) saturate(1.1);
    transition: transform 0.8s var(--ease-out-expo);
}

/* Subtle scale on load for cinematic feel */
.hero-section.loaded .hero-image {
    transform: scale(1.02);
}

.overlay {
    position: absolute;
    inset: 0;
    background: var(--grad-hero);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--c-white);
    text-align: center;
    padding: var(--sp-8);
    padding-bottom: var(--sp-16);
    width: 100%;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-content h1 {
    font-size: var(--fs-3xl);
    font-weight: 800;
    margin-bottom: var(--sp-4);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    color: var(--c-white);
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1s var(--ease-out-expo) 0.3s forwards;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .lead {
    font-size: var(--fs-lg);
    font-weight: 400;
    margin-bottom: var(--sp-8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    color: var(--c-white);
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp 1s var(--ease-out-expo) 0.5s forwards;
}

.hero-buttons {
    margin-top: var(--sp-6);
    display: flex;
    justify-content: center;
    gap: var(--sp-4);
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 1s var(--ease-out-expo) 0.7s forwards;
}

.hero-buttons .btn {
    font-size: var(--fs-sm);
    padding: var(--sp-4) var(--sp-8);
    transition: all 0.35s var(--ease-out-expo);
}

.hero-buttons .btn:hover {
    transform: translateY(-4px) scale(1.03);
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* USP Badge */
.usp-badge {
    display: inline-block;
    background: rgba(var(--c-primary-rgb), 0.75);
    backdrop-filter: blur(12px);
    color: var(--c-white);
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: var(--fs-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--sp-6) !important;
}

/* ═══════════════════════════════════════════════════════
   MODERN PREMIUM ANIMATIONS & REVEALS
   ═══════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: all 0.8s var(--ease-out-expo);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.94); }

/* Avoid horizontal overflow from offscreen reveal states on tablet and mobile. */
@media (max-width: 1199.98px) and (prefers-reduced-motion: no-preference) {
    .reveal-left,
    .reveal-right {
        transform: translateY(30px) scale(0.98);
    }
}

/* Staggered entry for grids */
.stagger-container > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-container.visible > * {
    animation: revealStagger 0.6s var(--ease-out-expo) forwards;
}

@keyframes revealStagger {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-container.visible > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-container.visible > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-container.visible > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-container.visible > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-container.visible > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-container.visible > *:nth-child(6) { animation-delay: 0.6s; }

/* Magnetic Button Feel */
.btn-premium {
    position: relative;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.btn-premium:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-premium:active {
    transform: translateY(-1px) scale(0.98);
}

/* Premium Gradient Text */
.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ═══════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════ */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-section h2 {
    margin-bottom: var(--sp-8);
    position: relative;
    padding-bottom: var(--sp-5);
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--grad-primary);
    border-radius: var(--radius-pill);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--sp-5);
}

.feature-item {
    text-align: center;
    padding: var(--sp-8) var(--sp-5);
    background: var(--c-white);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out-expo);
    border: 1px solid var(--c-border);
    position: relative;
}

.feature-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: var(--grad-card-border);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--tr-base);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-item i {
    font-size: 2.4rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--sp-4);
    display: inline-block;
}

.feature-item h4 {
    margin-bottom: var(--sp-2);
    font-size: var(--fs-base);
    font-weight: 600;
}

.feature-item p {
    font-size: var(--fs-sm);
    color: var(--c-muted);
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════
   STATS SECTION - ANIMATED COUNTERS
   ═══════════════════════════════════════════════════════ */
.stats-section {
    background: var(--grad-dark);
    color: var(--c-white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(var(--c-primary-rgb), 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.stats-section h2,
.stats-section .lead {
    color: var(--c-white);
}

.stats-section .text-primary {
    color: var(--c-accent) !important;
}

.stat-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: var(--sp-8) var(--sp-6);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 4px solid var(--c-accent);
    transition: all 0.4s var(--ease-out-expo);
}

.stat-box:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-family: var(--ff-heading);
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--c-accent);
    margin-bottom: var(--sp-2);
    line-height: 1;
}

.stat-label {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════
   CARDS - PRODUCTS & PROJECTS
   ═══════════════════════════════════════════════════════ */
.product-card,
.project-card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s var(--ease-out-expo);
    height: 100%;
    border: 1px solid var(--c-border);
    position: relative;
}

.product-card::after,
.project-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.product-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-card:hover,
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

.product-card:hover::after,
.project-card:hover::after {
    transform: scaleX(1);
}

.product-image img,
.project-image img {
    transition: transform 0.6s var(--ease-out-expo);
}

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

.product-image,
.project-image {
    overflow: hidden;
    position: relative;
}

.product-info,
.project-info {
    padding: var(--sp-6);
}

.product-info h3,
.project-info h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-3);
    color: var(--c-dark);
    font-weight: 600;
}

.product-info p,
.project-info p {
    font-size: var(--fs-sm);
    color: var(--c-muted);
}



/* ═══════════════════════════════════════════════════════
   CTA SECTION — Premium Deep Navy Gradient
   ═══════════════════════════════════════════════════════ */
.cta-section {
    background: linear-gradient(135deg, #0a3d6e 0%, #0f5aa8 50%, #1565c0 100%) !important;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 55%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

.cta-section h2 {
    color: var(--c-white);
    font-size: var(--fs-2xl);
    font-weight: 600;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--fs-base);
}

.cta-section .btn-light {
    background: rgba(255,255,255,0.95);
    color: #0a3d6e;
    font-weight: 600;
    border: none;
}

.cta-section .btn-light:hover {
    background: #ffffff;
    color: #0a3d6e;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* ═══════════════════════════════════════════════════════
   PAGE HEADER - INNER PAGES
   ═══════════════════════════════════════════════════════ */
.page-header {
    padding-top: calc(var(--navbar-h) + var(--sp-10)) !important;
    padding-bottom: var(--sp-10) !important;
    background: linear-gradient(135deg, var(--c-light) 0%, var(--c-light-alt) 100%);
    border-bottom: 1px solid var(--c-border);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--c-primary-rgb), 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-size: var(--fs-2xl);
    margin-bottom: var(--sp-2);
}

.breadcrumb {
    font-size: var(--fs-sm);
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--c-primary);
}

.breadcrumb-item.active {
    color: var(--c-muted);
}

/* Product/Project/Industry detail sections on inner pages */
.product-section,
.project-section,
.industry-section {
    scroll-margin-top: var(--navbar-h);
    padding-top: var(--sp-4);
    margin-bottom: var(--sp-12);
}

.product-image-container img,
.project-image-container img,
.product-image-placeholder img,
.project-image-placeholder img,
.industry-image-placeholder img {
    border-radius: 0;
    box-shadow: none;
    transition: all 0.6s var(--ease-out-expo);
}

.product-image-container:hover img,
.project-image-container:hover img {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}

.product-image-placeholder,
.project-image-placeholder,
.industry-image-placeholder {
    background: transparent;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    overflow: hidden;
}

.product-image-placeholder img,
.project-image-placeholder img,
.industry-image-placeholder img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* Spare Parts */
.spare-parts-category {
    margin-bottom: var(--sp-10);
}

.spare-parts-category h3 {
    border-bottom: 2px solid var(--c-border);
    padding-bottom: var(--sp-3);
    margin-bottom: var(--sp-4);
    font-size: var(--fs-xl);
}

.spare-parts-category ul {
    list-style: none;
    padding: 0;
}

.spare-parts-category li {
    padding: var(--sp-2) 0;
    padding-left: var(--sp-6);
    position: relative;
    font-size: var(--fs-sm);
    color: var(--c-body);
}

.spare-parts-category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--c-primary);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   MODAL - PREMIUM STYLE
   ═══════════════════════════════════════════════════════ */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.modal-header.bg-primary {
    background: var(--grad-primary) !important;
    border-bottom: none;
    padding: var(--sp-5) var(--sp-6);
}

.modal-body {
    padding: var(--sp-6);
}

.btn-close-white {
    filter: brightness(0) invert(1);
}

/* Form Controls */
.form-control {
    border-radius: var(--radius-md);
    border: 2px solid var(--c-border);
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--fs-sm);
    transition: all var(--tr-fast);
    background: var(--c-white);
}

.form-control:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 4px rgba(var(--c-primary-rgb), 0.1);
}

.form-label {
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--c-dark);
    margin-bottom: var(--sp-2);
}

/* ═══════════════════════════════════════════════════════
   FOOTER - ADVANCED
   ═══════════════════════════════════════════════════════ */
.footer {
    background: var(--grad-dark) !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-accent), var(--c-primary));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 200% 0%;
    }
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 140%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(var(--c-primary-rgb), 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-6);
    position: relative;
    padding-bottom: var(--sp-3);
    font-weight: 700;
    color: var(--c-white);
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--grad-accent);
    border-radius: var(--radius-pill);
}

.footer-indiamart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--sp-4);
    margin-bottom: var(--sp-3);
    padding: var(--sp-2);
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: opacity var(--tr-fast), transform var(--tr-fast);
}

.footer-indiamart-btn:hover,
.footer-indiamart-btn:focus-visible {
    opacity: 0.9;
    transform: translateY(-1px);
}

.footer-indiamart-btn:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 3px;
}

.footer-indiamart-btn img {
    display: block;
    height: 64px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.footer-links li {
    margin-bottom: var(--sp-2);
}

.footer-links a {
    font-size: var(--fs-sm);
    display: inline-block;
    transition: all var(--tr-base);
    color: rgba(255, 255, 255, 0.7) !important;
    position: relative;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: -16px;
    opacity: 0;
    transition: all var(--tr-fast);
    color: var(--c-accent);
}

.footer-links a:hover {
    color: var(--c-accent) !important;
    transform: translateX(8px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -12px;
}

.contact-info li {
    margin-bottom: var(--sp-3);
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
    gap: var(--sp-2);
}

.contact-info i {
    color: var(--c-accent);
    width: 18px;
    text-align: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.social-icons {
    display: flex;
    gap: var(--sp-3);
    margin-top: var(--sp-4);
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--c-white) !important;
    font-size: 1rem;
    transition: all 0.4s var(--ease-spring);
}

.social-icons a:hover {
    background: var(--c-accent);
    color: var(--c-dark) !important;
    border-color: var(--c-accent);
    transform: translateY(-4px) rotate(-5deg);
    box-shadow: var(--shadow-accent);
}

/* ═══════════════════════════════════════════════════════
   WHATSAPP FLOAT - ANIMATED
   ═══════════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 28px;
    right: 28px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff !important;
    border-radius: var(--radius-full);
    text-align: center;
    font-size: 26px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-spring);
    animation: waPulse 2s ease-in-out infinite;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.8);
}

.whatsapp-float.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1);
    }
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-4px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
    color: #fff !important;
    animation: none;
}

/* ═══════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════ */
.toast-container {
    position: fixed;
    bottom: var(--sp-6);
    right: var(--sp-6);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.toast-notification {
    background: var(--c-white);
    padding: var(--sp-4) var(--sp-6);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-2xl);
    border-left: 4px solid var(--c-primary);
    font-size: var(--fs-sm);
    max-width: 360px;
    animation: toastIn 0.5s var(--ease-spring);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.toast-notification.success {
    border-left-color: var(--c-success);
}

.toast-notification.error {
    border-left-color: var(--c-danger);
}

.toast-notification.hiding {
    animation: toastOut 0.4s var(--ease-smooth) forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
}

/* ═══════════════════════════════════════════════════════
   CONTACT PAGE SPECIFICS
   ═══════════════════════════════════════════════════════ */
.contact-details-card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--c-border);
}

.contact-details-card .card-body {
    padding: var(--sp-8);
}

.contact-details-card i {
    width: 22px;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

/* Cards on About & Inner Pages */
.card {
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out-expo);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE DESIGN - MOBILE FIRST
   ═══════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    :root {
        --navbar-h: 64px;
    }

    .navbar.fixed-top {
        top: 0 !important;
        z-index: 1050 !important;
    }

    .hero-content {
        padding-top: calc(var(--navbar-h) + 1.5rem) !important;
    }

    .navbar .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 100% !important;
    }

    .navbar-brand {
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        align-self: center !important;
        height: auto !important;
    }

    .navbar-brand div.d-flex.flex-column {
        display: none !important;
    }

    .navbar-brand img {
        height: 32px !important;
    }

    /* Mobile menu panel - full-width glassmorphism with scroll containment */
    .navbar-collapse {
        position: fixed;
        top: var(--navbar-h);
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 0;
        margin-top: 0;
        padding: 8px 0;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        border: none;
        border-bottom: 4px solid var(--c-primary);
        z-index: 1060;
        max-height: calc(100vh - var(--navbar-h));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    /* Phone link spacing */
    .nav-phone-link {
        color: var(--c-primary-ultra) !important;
        margin-right: 16px !important;
        font-size: var(--fs-sm) !important;
        align-self: center !important;
    }

    /* Toggler - brand primary with white icon, perfectly sized & centered */
    .navbar-light .navbar-toggler {
        background-color: var(--c-primary) !important;
        border-color: transparent !important;
        border-radius: var(--radius-sm) !important;
        padding: 0 !important;
        opacity: 1;
        transition: background-color 0.3s ease, transform 0.2s ease;
        align-self: center !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 38px !important;
        width: 38px !important;
    }

    .navbar-light .navbar-toggler:hover {
        background-color: var(--c-primary-dark) !important;
        transform: scale(1.05);
    }

    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        width: 20px !important;
        height: 20px !important;
    }

    /* Nav links - clean, uppercase, full width */
    .navbar-nav .nav-link {
        padding: 14px 20px;
        text-transform: uppercase;
        font-weight: 600;
        font-size: var(--fs-sm);
        letter-spacing: 0.04em;
        border-radius: 0;
        color: var(--c-dark);
        transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(var(--c-primary-rgb), 0.06);
        color: var(--c-primary);
        padding-left: 24px;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    /* Submenu +/- toggle */
    .dropdown-toggle {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-toggle::after {
        content: '+' !important;
        border: none !important;
        font-weight: 700;
        font-size: 1.3rem;
        color: var(--c-primary);
        width: 24px;
        height: 24px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s var(--ease-out-expo);
        margin: 0;
        vertical-align: middle;
    }

    .dropdown-toggle[aria-expanded="true"]::after {
        content: '\2013' !important; /* en dash as minus */
        transform: scale(1.1);
    }

    /* Submenu items with smooth expand */
    .navbar-nav .dropdown-menu {
        background: var(--c-light-alt);
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        border-left: 3px solid var(--c-primary);
        animation: submenuSlideDown 0.35s var(--ease-out-expo);
    }

    @keyframes submenuSlideDown {
        from { opacity: 0; max-height: 0; transform: translateY(-8px); }
        to   { opacity: 1; max-height: 600px; transform: translateY(0); }
    }

    .navbar-nav .dropdown-item {
        padding: 11px 28px;
        text-transform: none;
        font-size: var(--fs-sm);
        font-weight: 500;
        color: var(--c-body);
        border-bottom: 1px solid rgba(0,0,0,0.04);
        transition: all 0.25s ease;
        border-radius: 0;
        margin: 0;
    }

    .navbar-nav .dropdown-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .dropdown-item:hover {
        background: rgba(var(--c-primary-rgb), 0.08);
        color: #ffc107 !important;
        padding-left: 34px;
        transform: none;
    }

    .hero-content h1 {
        font-size: var(--fs-2xl);
    }

    .hero-content .lead {
        font-size: var(--fs-base);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 75vh;
        min-height: 480px;
    }

    .hero-content {
        padding-bottom: var(--sp-12);
    }

    .hero-content h1 {
        font-size: var(--fs-xl);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 80%;
        max-width: 300px;
    }

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

    .footer .col-md-4 {
        text-align: center;
    }

    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer .text-md-end {
        text-align: center !important;
    }

    .footer-links a::before {
        display: none;
    }

    .social-icons {
        justify-content: center;
    }

    .stat-box {
        border-left: none;
        border-top: 4px solid var(--c-accent);
    }

    .contact-info {
        text-align: left;
        display: inline-block;
    }
}

@media (max-width: 575.98px) {
    /* Premium circular phone icon button instead of long raw text */
    .nav-phone-link span {
        display: none !important;
    }
    
    .nav-phone-link {
        width: 38px;
        height: 38px;
        border-radius: 50% !important;
        background: rgba(var(--c-primary-rgb), 0.08) !important;
        border: 1px solid rgba(var(--c-primary-rgb), 0.15) !important;
        color: var(--c-primary) !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        margin-right: 4px !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-phone-link:hover {
        background: var(--c-primary) !important;
        color: var(--c-white) !important;
        transform: scale(1.05);
    }
    
    .nav-phone-link i {
        font-size: 0.95rem !important;
        margin: 0 !important;
    }

    /* Hero Cinematic Scaling */
    .hero-content {
        padding: 1.25rem !important;
        padding-bottom: 3.5rem !important;
    }

    .hero-content h1 {
        font-size: clamp(1.5rem, 6vw, 1.85rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-content .lead {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-buttons {
        gap: 0.75rem !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        padding: 0.75rem 1.5rem !important;
        margin: 0 !important;
    }

    .product-info h3,
    .project-info h3 {
        font-size: var(--fs-base);
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 22px;
        bottom: 20px;
        right: 20px;
    }

    .toast-container {
        left: var(--sp-4);
        right: var(--sp-4);
    }

    .toast-notification {
        max-width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════
   STATS / EXPERIENCE SECTION
   ═══════════════════════════════════════════════════════ */
.stats-section {
    background: var(--c-light);
}

.stat-box {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: var(--sp-8) var(--sp-6);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--c-border);
    transition: transform var(--tr-base), box-shadow var(--tr-base);
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: var(--fs-4xl);
    font-weight: 800;
    color: var(--c-primary);
    line-height: 1;
    margin-bottom: var(--sp-2);
}

.stat-label {
    font-size: var(--fs-sm);
    color: var(--c-dark);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}



/* Print Styles */
@media print {

    .navbar,
    .whatsapp-float,
    .hero-section,
    .cta-section {
        display: none !important;
    }

    body {
        padding-top: 0;
    }

    .footer {
        background: none !important;
        color: #000;
    }
}

/* Prefers Reduced Motion - Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --c-border: #333;
        --shadow-sm: none;
        --shadow-md: none;
        --shadow-lg: none;
    }

    .feature-item,
    .product-card,
    .project-card,
    .stat-box {
        border: 2px solid #333;
    }
}

/* ═══════════════════════════════════════════════════════
   FAQ SECTION - AEO/GEO Optimized
   ═══════════════════════════════════════════════════════ */
.faq-section {
    padding: var(--sp-12) 0;
    background: var(--c-light);
    position: relative;
}

.faq-section .section-header h2 {
    font-size: var(--fs-xl);
    margin-bottom: var(--sp-8);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
    margin-top: var(--sp-8);
}

.faq-item {
    background: var(--c-white);
    border-radius: var(--radius-md);
    padding: var(--sp-5);
    border-left: 3px solid var(--c-primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease-out-expo);
    height: 100%;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-left-color: var(--c-primary-light);
}

.faq-item h3 {
    font-family: var(--ff-heading);
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--c-dark);
    margin-bottom: var(--sp-3);
    line-height: 1.3;
}

.faq-item p {
    color: var(--c-body);
    font-size: var(--fs-xs);
    line-height: 1.5;
    margin-bottom: 0;
}

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

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

/* ═══════════════════════════════════════════════════════
   SPARE PARTS CARDS - Image Grid Layout
   ═══════════════════════════════════════════════════════ */
.spare-parts-card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-out-expo);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.spare-parts-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: rgba(var(--c-primary-rgb), 0.2);
}

.spare-parts-card-img {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: var(--c-light-alt);
}

.spare-parts-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

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

.spare-parts-card-body {
    padding: var(--sp-6) var(--sp-8) var(--sp-8);
    flex: 1;
}

.spare-parts-card-body h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-3);
    border-bottom: 2px solid rgba(var(--c-primary-rgb), 0.1);
}

.spare-parts-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spare-parts-card-body ul li {
    position: relative;
    padding: var(--sp-2) 0 var(--sp-2) var(--sp-6);
    font-size: var(--fs-sm);
    color: var(--c-body);
    border-bottom: 1px solid var(--c-light-alt);
    transition: color var(--tr-fast);
}

.spare-parts-card-body ul li:last-child {
    border-bottom: none;
}

.spare-parts-card-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: var(--sp-2);
    color: var(--c-primary);
    font-weight: 700;
    font-size: var(--fs-sm);
}

.spare-parts-card:hover .spare-parts-card-body ul li {
    color: var(--c-dark);
}

@media (max-width: 991.98px) {
    .spare-parts-card-img {
        height: 200px;
    }
}


/* ═══════════════════════════════════════════════════════
   CLIENTS SECTION
   ═══════════════════════════════════════════════════════ */
.clients-section {
    padding: var(--sp-12) 0;
    position: relative;
    background: #ffffff;
}

.clients-header {
    text-align: left;
    margin-bottom: var(--sp-6);
}

.clients-header h2 {
    font-family: var(--ff-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: var(--sp-3);
    letter-spacing: -0.02em;
}

.clients-header p {
    color: var(--c-body);
    font-size: var(--fs-base);
    max-width: 800px;
    line-height: 1.6;
}

.clients-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sp-8);
    align-items: center;
    justify-items: center;
    margin-top: var(--sp-6);
}

.clients-logo-grid .client-logo-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--tr-base), opacity var(--tr-base);
    text-decoration: none;
    width: 100%;
}

.clients-logo-grid .client-logo-cell:hover {
    transform: scale(1.08);
}

.clients-logo-grid .client-logo-cell img {
    height: 70px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    transition: opacity var(--tr-base);
}

/* Responsive */
@media (max-width: 1024px) {
    .clients-logo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--sp-6);
    }
}

@media (max-width: 767.98px) {
    .clients-header {
        text-align: center;
    }
    .clients-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-6);
    }
    .clients-logo-grid .client-logo-cell img {
        height: 50px;
        max-width: 120px;
    }
    .clients-section {
        padding: var(--sp-10) 0;
    }
}

/* Premium Split Brochure Modal */
.brochure-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 14, 28, 0.72); /* Deep slate overlay */
    backdrop-filter: blur(20px) saturate(180%);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.brochure-overlay.active {
    opacity: 1;
    visibility: visible;
}

.brochure-modal-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 2001;
    width: 92%;
    max-width: 900px;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(9, 15, 32, 0.97), rgba(21, 29, 59, 0.94));
    background-size: 200% 200%;
    animation: glassAmbientGlow 15s ease infinite;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 32px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    opacity: 0;
    visibility: hidden;
    color: var(--c-white);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.brochure-modal-card::-webkit-scrollbar {
    width: 6px;
}

.brochure-modal-card::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

@keyframes glassAmbientGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.brochure-modal-card.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.brochure-close-btn {
    position: absolute;
    top: var(--sp-4);
    right: var(--sp-4);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2005;
}

.brochure-close-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg) scale(1.05);
}

.brochure-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    min-height: 520px;
}

.brochure-modal-image-side {
    position: relative;
    background: var(--c-darker);
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.brochure-side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brochure-modal-card.active .brochure-side-img {
    transform: scale(1.06) translate(0.5%, 0.5%);
}

.brochure-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 14, 28, 0.95) 0%, rgba(8, 14, 28, 0.4) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--sp-8);
}

.brochure-image-badge {
    background: rgba(255, 193, 7, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 193, 7, 0.35);
    color: var(--c-accent);
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.brochure-modal-form-side {
    padding: var(--sp-8) var(--sp-10);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.brochure-form-title {
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 60%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--sp-2);
    letter-spacing: -0.02em;
}

.brochure-form-desc {
    font-size: var(--fs-sm);
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: var(--sp-6);
}

.brochure-input-group {
    margin-bottom: var(--sp-4);
    text-align: left;
}

.brochure-input-label {
    display: block;
    font-family: var(--ff-heading);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #e2e8f0;
    margin-bottom: var(--sp-2);
}

.required-asterisk {
    color: var(--c-accent);
}

.brochure-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.brochure-input-wrapper .input-icon {
    position: absolute;
    left: 16px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.95rem;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.brochure-input-wrapper .textarea-icon {
    top: 16px;
}

.brochure-input-wrapper input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: var(--fs-base);
    font-family: var(--ff-body);
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

.brochure-input-wrapper textarea {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: var(--fs-base);
    font-family: var(--ff-body);
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    min-height: 90px;
    resize: vertical;
}

.brochure-input-wrapper input:focus,
.brochure-input-wrapper textarea:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25), 0 8px 16px rgba(0, 0, 0, 0.2);
}

.brochure-input-wrapper input:focus + .input-icon,
.brochure-input-wrapper textarea:focus + .input-icon {
    color: #3b82f6;
}

.brochure-input-wrapper input.is-valid,
.brochure-input-wrapper textarea.is-valid {
    border-color: rgba(37, 211, 102, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15) !important;
}

.brochure-input-wrapper input.is-invalid,
.brochure-input-wrapper textarea.is-invalid {
    border-color: rgba(239, 68, 68, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.brochure-submit-btn {
    width: 100%;
    margin-top: var(--sp-2);
    padding: 15px var(--sp-6);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: var(--c-white);
    border: none;
    border-radius: 12px;
    font-size: var(--fs-sm);
    font-weight: 700;
    font-family: var(--ff-heading);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brochure-submit-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brochure-submit-btn:active {
    transform: translateY(0) scale(0.99);
}

.brochure-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success Checkmark View */
.brochure-success-pane {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--sp-12) var(--sp-8);
    background: transparent;
    min-height: 520px;
    animation: brochureFadeIn var(--tr-base);
}

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

.success-icon-wrapper {
    margin-bottom: var(--sp-6);
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid rgba(37, 211, 102, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 211, 102, 0.05);
    position: relative;
    animation: brochureScaleIn 0.5s var(--ease-spring);
}

@keyframes brochureScaleIn {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-checkmark::after {
    content: '';
    display: block;
    width: 18px;
    height: 36px;
    border: solid #25d366;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    position: absolute;
    top: 12px;
    left: 28px;
    transform-origin: center;
    animation: drawCheckmark 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes drawCheckmark {
    0% {
        height: 0;
        width: 0;
        opacity: 0;
    }
    40% {
        height: 0;
        width: 18px;
        opacity: 1;
    }
    100% {
        height: 36px;
        width: 18px;
        opacity: 1;
    }
}

.success-title {
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--sp-3);
    letter-spacing: -0.02em;
}

.success-message {
    font-size: var(--fs-sm);
    color: #cbd5e1;
    line-height: 1.5;
    max-width: 360px;
    margin-bottom: var(--sp-8);
}

.success-btn {
    padding: 13px var(--sp-12);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: var(--c-white);
    border: none;
    border-radius: 12px;
    font-size: var(--fs-sm);
    font-weight: 700;
    font-family: var(--ff-heading);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45);
}

.success-btn:active {
    transform: translateY(0);
}

/* Responsive Grid & Viewport Limits */
@media (max-width: 991.98px) {
    .brochure-modal-card {
        max-width: 480px;
        width: 94%;
        max-height: 88vh;
    }
    .brochure-modal-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .brochure-modal-image-side {
        height: 120px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .brochure-image-overlay {
        padding: var(--sp-4);
        background: linear-gradient(to top, rgba(8, 14, 28, 0.9) 0%, rgba(8, 14, 28, 0.2) 100%);
    }
    .brochure-image-badge {
        font-size: 0.65rem;
        padding: var(--sp-1) var(--sp-3);
    }
    .brochure-modal-form-side {
        padding: var(--sp-5) var(--sp-6) var(--sp-6);
    }
    .brochure-form-title {
        font-size: clamp(1.2rem, 4vw, 1.45rem);
        margin-bottom: var(--sp-1);
    }
    .brochure-form-desc {
        font-size: var(--fs-xs);
        margin-bottom: var(--sp-4);
    }
    .brochure-input-group {
        margin-bottom: var(--sp-3);
    }
    .brochure-input-label {
        font-size: 0.65rem;
        margin-bottom: 4px;
    }
    .brochure-input-wrapper input,
    .brochure-input-wrapper textarea {
        padding: 11px 14px 11px 40px;
        font-size: var(--fs-sm);
    }
    .brochure-input-wrapper .input-icon {
        left: 14px;
        font-size: 0.85rem;
    }
    .brochure-input-wrapper .textarea-icon {
        top: 14px;
    }
    .brochure-input-wrapper textarea {
        min-height: 70px;
    }
    .brochure-submit-btn {
        padding: 13px var(--sp-4);
        font-size: var(--fs-xs);
        margin-top: var(--sp-1);
    }
    .brochure-close-btn {
        top: var(--sp-2);
        right: var(--sp-2);
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
    .brochure-success-pane {
        padding: var(--sp-8) var(--sp-6);
        min-height: 320px;
    }
    .success-checkmark {
        width: 64px;
        height: 64px;
    }
    .success-checkmark::after {
        width: 14px;
        height: 28px;
        top: 10px;
        left: 22px;
    }
    .success-title {
        font-size: var(--fs-lg);
    }
    .success-message {
        font-size: var(--fs-xs);
        margin-bottom: var(--sp-6);
    }
    .success-btn {
        padding: 11px var(--sp-10);
        font-size: var(--fs-xs);
    }
}

/* Hero — smaller type & CTAs so the photo reads */
.hero-content {
    padding: var(--sp-6) var(--sp-4);
    padding-bottom: var(--sp-10);
}

.hero-content h1 {
    font-size: clamp(1.35rem, 3.2vw, 2.15rem);
    margin-bottom: var(--sp-3);
}

.hero-content .lead {
    font-size: clamp(0.85rem, 1.35vw, 1rem);
    margin-bottom: var(--sp-5);
    max-width: 36rem;
}

.hero-buttons {
    margin-top: var(--sp-4);
    gap: var(--sp-3);
}

.hero-buttons .btn {
    font-size: var(--fs-xs);
    padding: var(--sp-2) var(--sp-5);
    position: relative;
    z-index: 4;
}

/* Phase 2 Global Overrides */
body {
    background-color: #eceff1 !important; /* Matte grey */
}

/* Ensure text on matte grey is dark */
.bg-light, .bg-white {
    background-color: #eceff1 !important;
}

.page-header {
    background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary-ultra) 100%) !important;
    padding-top: calc(var(--navbar-h, 80px) + var(--sp-4, 1.5rem)) !important;
    padding-bottom: var(--sp-4, 1.5rem) !important;
}

/* Force text inside page-header to be white since the background is navy */
.page-header h1, .page-header p, .page-header span {
    color: #ffffff !important;
}

/* Standardized ROI Card */
.roi-card {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    background-color: #ffffff !important;
}
.roi-card h3, .roi-card p {
    color: #000000 !important;
}

/* ==========================================================================
   SREW OVERHAUL - PREMIUM WEB DESIGN SYSTEM & COMPONENTS
   ========================================================================== */

/* 1. Global Top Contact Banner styles */
.top-contact-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 36px;
    background-color: #081426; /* Premium SREW dark navy color */
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.72rem;
    z-index: 1060;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease;
}
.top-contact-banner a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}
.top-contact-banner a:hover {
    color: #ffc107 !important;
}

/* Offset navbar fixed-top for top-bar on desktop only */
@media (min-width: 992px) {
    .navbar.fixed-top {
        top: 36px;
        transition: top 0.3s ease, height 0.4s var(--ease-out-expo), background 0.4s var(--ease-out-expo);
    }
    .navbar.fixed-top.scrolled {
        top: 36px;
    }
}

/* Mega-dropdown product icon improvements */
.dropdown-item-img-container {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dropdown-item-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.mega-item:hover .dropdown-item-img-container img {
    transform: scale(1.15);
}

/* 2. Mobile Crusher Showcase Styles */
.mobile-showcase-section {
    background-color: #f4f6f9; /* Premium light grey background */
    color: #1e293b;            /* Dark text color */
    overflow: hidden;
    position: relative;
}
.mobile-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(0, 86, 179, 0.03) 0%, transparent 60%);
    pointer-events: none;
}
.mobile-showcase-heading-badge {
    color: #d39e00;            /* Premium dark gold for high readability */
    font-family: var(--ff-heading);
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.85rem;
}
.mobile-showcase-main-title {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: #002b5c !important; /* SREW corporate dark blue */
}
.mobile-showcase-image-wrapper {
    position: relative;
    padding: 2rem;
    z-index: 2;
}
.mobile-showcase-image-wrapper img {
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.16)); /* soft elevated shadow */
    transition: transform 0.5s var(--ease-out-expo);
}
.mobile-showcase-image-wrapper:hover img {
    transform: scale(1.04) rotate(-1deg);
}

/* Mobile Crusher 2x2 capability cards */
.mobile-showcase-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (max-width: 768px) {
    .mobile-showcase-card-grid {
        grid-template-columns: 1fr;
    }
}
.mobile-showcase-card {
    background-color: #ffffff;
    color: #212529;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.mobile-showcase-card:hover {
    transform: translateY(-5px);
    background-color: #ffc107 !important; /* Premium yellow hover bg */
    color: #1e293b !important;            /* Dark text for excellent contrast */
    border-color: transparent;
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.35);
}
.mobile-showcase-card h3 {
    font-family: var(--ff-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}
.mobile-showcase-card:hover h3 {
    color: #1e293b !important;
}
.mobile-showcase-card p {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0;
    opacity: 0.9;
    transition: color 0.3s ease, opacity 0.3s ease;
}
.mobile-showcase-card:hover p {
    color: #1e293b !important;
    opacity: 1;
}
.mobile-showcase-card .card-icon {
    font-size: 2.2rem;
    color: #ffc107;                     /* Yellow card icon */
    margin-bottom: 1.2rem;
    transition: color 0.3s ease;
}
.mobile-showcase-card:hover .card-icon {
    color: #1e293b !important;
}

/* 3. Revamped Capabilities About section styles */
.about-cap-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}
.about-cap-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 86, 179, 0.12);
}
.about-cap-img-wrapper {
    height: 180px;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.about-cap-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.about-cap-card:hover .about-cap-img-wrapper img {
    transform: scale(1.08);
}
.about-cap-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--c-primary-ultra);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
}
.about-cap-body {
    padding: 1.5rem;
}
.about-cap-body h4 {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--c-dark);
    margin-bottom: 0.5rem;
}
.about-cap-body p {
    font-size: 0.88rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* 4. Subpage Process Flowchart styles */
.flowchart-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.06);
    margin: 2rem 0;
}
.flowchart-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap: 1.5rem;
}
@media (max-width: 991px) {
    .flowchart-steps {
        flex-direction: column;
        align-items: stretch;
    }
}
.flowchart-step {
    flex: 1;
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}
.flowchart-step:hover {
    transform: scale(1.05);
    background: #eef4fc;
    border-color: var(--c-primary-ultra);
}
.flowchart-step-num {
    width: 32px;
    height: 32px;
    background: var(--c-primary-ultra);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem auto;
    font-size: 0.9rem;
}
.flowchart-step h5 {
    font-size: 1.05rem;
    font-weight: bold;
    margin-bottom: 0.4rem;
    color: var(--c-dark);
}
.flowchart-step p {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0;
}
.flowchart-connector {
    flex-shrink: 0;
    width: 24px;
    height: 2px;
    background: #dee2e6;
    position: relative;
    z-index: 1;
}
@media (max-width: 991px) {
    .flowchart-connector {
        width: 2px;
        height: 24px;
        margin: 0 auto;
    }
}
.flowchart-connector::after {
    content: '\f061'; /* FontAwesome arrow-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6c757d;
    font-size: 0.8rem;
}
@media (max-width: 991px) {
    .flowchart-connector::after {
        content: '\f078'; /* FontAwesome arrow-down */
    }
}

/* Page header fixes for subpages */
.subpage-hero {
    background: linear-gradient(135deg, #091a32 0%, #030814 100%);
    padding: 6rem 0 3.5rem 0;
    position: relative;
    overflow: hidden;
}
.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(13, 110, 253, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.subpage-hero h1 {
    font-family: var(--ff-display);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
}
.subpage-hero p {
    color: rgba(255,255,255,0.7) !important;
}
.subpage-breadcrumb a {
    color: #ffc107 !important;
    text-decoration: none;
}
.subpage-breadcrumb li {
    color: rgba(255,255,255,0.5) !important;
}

/* Specs matrix styling */
.specs-matrix {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
}
.specs-row {
    display: flex;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.specs-row:last-child {
    border-bottom: none;
}
.specs-label {
    width: 35%;
    background: #f8f9fa;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--c-dark);
}
.specs-value {
    width: 65%;
    padding: 0.85rem 1.25rem;
    font-size: 0.88rem;
    color: #495057;
}

/* Custom list group items */
.srew-feature-list {
    list-style: none;
    padding-left: 0;
}
.srew-feature-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.srew-feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: #28a745;
}

/* Premium Left-Aligned Hero Content Support */
.hero-content.text-start h1,
.hero-content.text-start .lead {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}
.hero-content.text-start .hero-buttons {
    justify-content: flex-start !important;
    margin-left: 0 !important;
}

@media (max-width: 767.98px) {
    .hero-content.text-start h1,
    .hero-content.text-start .lead {
        text-align: left !important;
    }
    .hero-content.text-start .hero-buttons {
        justify-content: flex-start !important;
        flex-direction: row !important;
        gap: 0.75rem !important;
    }
    .hero-content.text-start .hero-buttons .btn {
        width: auto !important;
        flex: 1;
    }
}

/* Infinite Autoplay Logo Ticker Styles */
.logo-ticker-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 1.5rem 0;
    width: 100%;
}
.logo-ticker-container::before,
.logo-ticker-container::after {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    content: "";
    z-index: 2;
    pointer-events: none;
}
.logo-ticker-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}
.logo-ticker-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}
.logo-ticker-inner {
    display: inline-flex;
    animation: logoTickerScroll 30s linear infinite;
    width: max-content;
}
.logo-ticker-container:hover .logo-ticker-inner {
    animation-play-state: paused;
}
.logo-slide {
    display: inline-flex;
    align-items: center;
    gap: 4.5rem;
    padding-right: 4.5rem;
}
.client-logo-cell-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 150px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%) opacity(70%);
}
.client-logo-cell-new:hover {
    transform: scale(1.08);
    filter: grayscale(0%) opacity(100%);
}
.client-logo-cell-new img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

@keyframes logoTickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ═══════════════════════════════════════════════════════
   PREMIUM REFINEMENT PASS OVERRIDES - B2B INDUSTRIAL LOOK
   ═══════════════════════════════════════════════════════ */

/* 1. Global Spacing & Layout Spacings */
.mobile-showcase-section,
.clients-section,
.products-section,
.stats-section,
.projects-section,
.faq-section {
    padding-top: 90px !important;
    padding-bottom: 90px !important;
}

/* Enforce Consistent Card Border Radius Globally */
.product-card,
.project-card,
.mobile-showcase-card,
.faq-item,
.spare-parts-card,
.contact-details-card,
.card {
    border-radius: 16px !important;
}

/* Enforce Consistent Button Border Radius Globally */
.btn,
.btn-premium,
.btn-curved {
    border-radius: 30px !important;
}

/* 2. Top Header Bar refinements */
.top-contact-banner {
    height: 44px !important; /* Increased by 8px */
}

@media (min-width: 992px) {
    .navbar.fixed-top {
        top: 44px !important; /* Adjusted for top bar height increase on desktop */
    }

    .navbar.fixed-top.scrolled {
        top: 44px !important;
    }
}

.top-info-left,
.top-info-right {
    display: flex !important;
    align-items: center !important;
    gap: 32px !important; /* Horizontal spacing */
}

.top-info-left span,
.top-info-right a,
.top-info-right span {
    display: inline-flex !important;
    align-items: center !important;
}

.top-info-left i,
.top-info-right i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
}

/* GST Line Reduced Weight */
.gst-line {
    opacity: 0.65 !important;
    font-weight: 400 !important;
}

/* 3. Hero Section refinements */
.hero-section .overlay {
    background: linear-gradient(180deg, rgba(8, 20, 38, 0.35) 0%, rgba(8, 20, 38, 0.35) 75%, rgba(8, 20, 38, 0) 100%) !important; /* 35% overlay with bottom fade */
}

.hero-content .container {
    transform: translateY(-20px) !important; /* Move content slightly upward */
}

.hero-content .col-xl-8.col-lg-9 {
    max-width: 600px !important; /* Limit hero content width */
}

.hero-content h1 {
    line-height: 1.2 !important; /* Heading line-height */
}

.hero-image {
    filter: brightness(0.95) saturate(1.1) !important; /* Keep image details visible */
}

/* 4. Mobile Crusher showcase styling */
.mobile-showcase-card {
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04) !important;
    transition: all 0.3s ease !important;
}

.mobile-showcase-card:hover {
    transform: translateY(-5px) !important;
    background-color: #FFF8E7 !important; /* Softer gold hover background */
    border-color: #FFC107 !important; /* Soft gold border */
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.15) !important;
}

.mobile-showcase-card:hover h3 {
    color: var(--c-primary) !important; /* Maintain readable navy */
}

.mobile-showcase-card:hover p {
    color: #334155 !important;
}

.mobile-showcase-card:hover .card-icon {
    color: #FFC107 !important; /* Soft gold icon */
}

.mobile-showcase-image-wrapper {
    padding: 0.5rem !important; /* Reduced whitespace */
    margin-bottom: 0 !important;
}

.mobile-showcase-image-wrapper img {
    max-height: 500px !important; /* Max-height 500px */
    object-fit: contain !important; /* Object-fit contain */
    width: auto !important;
    margin: 0 auto;
}

/* 5. Clients Section Ticker */
.client-logo-cell-new {
    width: 180px !important; /* Size 180px */
    height: 90px !important; /* Size 90px */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    filter: none !important; /* Grayscale removed completely, keeps original colors */
    transition: transform 0.3s ease !important;
}

.client-logo-cell-new img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.client-logo-cell-new:hover {
    transform: scale(1.05) !important; /* Subtle hover scale 1.05 */
}

.logo-slide {
    gap: 2.5rem !important; /* Reduced empty space */
    padding-right: 2.5rem !important;
}

/* 6. Product Catalog Section */
.product-card {
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important; /* Subtle shadow */
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.product-card .card-img-top-wrapper {
    height: 220px !important; /* Fixed height 220px */
    overflow: hidden !important;
    background: #f8f9fa !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
}

.product-card .card-img-top-wrapper img {
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important; /* Centered object-fit contain */
    mix-blend-mode: multiply !important;
}

.product-card .btn {
    font-size: 0.8rem !important; /* Reduced button size by 10% */
    padding: 8px 16px !important;
}

/* 7. Experience Section */
.stat-box {
    border-radius: 16px !important;
    border-left: 4px solid var(--c-accent) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05) !important;
}

.stat-number {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: var(--c-primary) !important;
}

/* 8. Featured Projects Section */
#projects {
    margin-top: -40px !important; /* Reduce top margin by 40px */
}

.project-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border-radius: 16px !important;
}

.project-card .project-image img {
    height: 240px !important; /* Increased project image height slightly */
    object-fit: cover !important;
    width: 100% !important;
}

.project-card .project-info {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.project-card .project-info h3 {
    font-weight: 700 !important; /* Strengthened title weight */
    font-size: 1.2rem !important;
}

.project-card .project-info .btn {
    margin-top: auto !important; /* Keep CTA buttons aligned vertically at the bottom */
    align-self: flex-start !important;
}

/* 9. FAQ Section */
.faq-grid {
    gap: 16px !important; /* Reduced card spacing */
}

.faq-item {
    border-radius: 16px !important;
    padding: 1.75rem !important; /* Increased card padding */
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-left: 4px solid var(--c-primary) !important;
}

.faq-item:hover {
    border-color: var(--c-primary) !important; /* Hover border-color: primary blue */
    box-shadow: 0 12px 30px rgba(var(--c-primary-rgb), 0.08) !important;
    transform: translateY(-3px) !important;
}

/* 10. Footer Section */
.footer .col-md-4 {
    max-width: 340px !important; /* Reduce footer columns width */
    width: 100% !important;
}

.footer .row {
    justify-content: space-between !important; /* Align and space columns beautifully */
}

.social-icons a {
    width: 34px !important; /* Reduced by 15% from 40px */
    height: 34px !important;
    font-size: 0.85rem !important;
}

.footer {
    padding-top: 60px !important;
    padding-bottom: 30px !important; /* Reduce empty bottom spacing */
}

/* 11. Industries Section - Increase the size of the industries images */
.industry-image-placeholder {
    height: 420px !important; /* Increased size of the industries images */
    width: 100% !important;
}

.industry-image-placeholder img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
}

/* 12. Video Gallery overrides & lightbox */
.video-section {
    background-color: var(--c-light-alt) !important;
}

.video-card {
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s var(--ease-out-expo) !important;
    overflow: hidden !important;
}

.video-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 16px 36px rgba(var(--c-primary-rgb), 0.12) !important;
}

.video-card:hover .video-thumbnail-wrapper img {
    transform: scale(1.08);
}

.video-card:hover .video-overlay {
    background: rgba(8, 20, 38, 0.25) !important;
}

.video-card:hover .play-btn-circle {
    transform: scale(1.12);
    background: var(--c-primary) !important;
    color: #FFC107 !important;
    box-shadow: 0 12px 32px rgba(var(--c-primary-rgb), 0.35) !important;
}

/* Lightbox Modal CSS */
.video-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 20, 38, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-lightbox-content {
    width: 90%;
    max-width: 800px;
    background: #091220;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-lightbox-overlay.active .video-lightbox-content {
    transform: scale(1);
}

.video-lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.75rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.video-lightbox-close:hover {
    color: #FFC107;
}

.video-lightbox-title {
    color: #ffffff;
    font-family: var(--ff-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
}

.video-iframe-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

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

/* ═══════════════════════════════════════════════════════
   B2B LEADS & CONVERSION ENGINE (CRO STYLES)
   ═══════════════════════════════════════════════════════ */

/* 1. Mobile Sticky Bottom CTA Bar */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
    z-index: 1055;
    display: none;
    align-items: center;
    justify-content: space-around;
    padding: 8px 12px;
}

@media (max-width: 767.98px) {
    .sticky-mobile-cta {
        display: flex;
    }
    body:has(.sticky-mobile-cta) {
        padding-bottom: 72px !important;
    }
    .whatsapp-float {
        bottom: 90px !important;
        right: 20px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 26px !important;
    }
}

.sticky-cta-btn {
    flex: 1;
    margin: 0 4px;
    height: 48px;
    border-radius: var(--radius-sm);
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
}

.sticky-cta-btn.call {
    background: rgba(var(--c-primary-rgb), 0.08);
    color: var(--c-primary) !important;
    border: 1px solid rgba(var(--c-primary-rgb), 0.15);
}

.sticky-cta-btn.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366 !important;
    border: 1px solid rgba(37, 211, 102, 0.15);
}

.sticky-cta-btn.quote {
    background: var(--c-accent);
    color: var(--c-darker) !important;
    box-shadow: 0 4px 12px rgba(var(--c-accent-rgb), 0.35);
}

/* 2. Premium B2B Lead-Capture Form */
.quote-form-card {
    background: #ffffff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .quote-form-card {
        padding: 1.75rem;
    }
}

.quote-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--grad-primary);
}

.quote-form-title {
    font-family: var(--ff-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #002b5c;
    margin-bottom: 0.5rem;
}

.quote-form-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 2.25rem;
}

.form-group-premium {
    margin-bottom: 1.5rem;
}

.form-label-premium {
    display: block;
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    margin-bottom: 0.4rem;
}

.form-control-premium {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--ff-body);
    font-size: 0.92rem;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.form-control-premium:focus {
    background: #ffffff;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(var(--c-primary-rgb), 0.15);
    outline: none;
}

select.form-control-premium {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23344155' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
    padding-right: 2.5rem;
}

/* 3. Product B2B Badging */
.product-spec-badge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin: 1.25rem 0;
}

.product-spec-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #475569;
    text-align: left;
}

.product-spec-badge .psb-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.product-spec-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 1px;
    font-weight: 500;
}



/* ──────────────────────────────────────────────
   SREW PREMIUM COOKIE CONSENT BANNER
   ────────────────────────────────────────────── */
.srew-cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 380px;
    padding: 20px;
    border-radius: 16px;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid #dbe2ea;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
}

.srew-cookie-banner.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.srew-cookie-banner.hiding {
    opacity: 0;
    transform: translateY(20px);
}

/* ──────────────────────────────────────────────
   DYNAMIC COUNTRY CODE SELECTOR LAYOUTS
   ────────────────────────────────────────────── */
.country-code-wrapper select.country-code-select {
    background-color: #fff !important;
    color: #334155 !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.country-code-wrapper select.country-code-select:focus {
    border-color: var(--c-primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15) !important;
}

/* Ensure the input's padding/height plays nicely */
.country-code-wrapper input[type="tel"] {
    flex-grow: 1;
    width: auto !important;
    min-width: 0;
}

/* ──────────────────────────────────────────────
   RESPONSIVE LAYOUT ENHANCEMENTS
   ────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .hero-content.text-start .hero-buttons {
        justify-content: flex-start !important;
        flex-direction: row !important;
        gap: 0.75rem !important;
        flex-wrap: wrap !important;
    }
    .hero-content.text-start .hero-buttons .btn {
        width: auto !important;
        flex: 1 1 calc(50% - 0.375rem) !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 575.98px) {
    /* Stack hero buttons cleanly to prevent wrapping/height mismatch issues */
    .hero-content.text-start .hero-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
    }
    .hero-content.text-start .hero-buttons .btn {
        width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        text-align: center;
    }

    /* Elevate cookie banner above sticky mobile bottom CTA bar */
    .srew-cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 80px;
        max-width: none;
        padding: 16px;
        border-radius: 12px;
    }
}

/* ═══════════════════════════════════════════════════════
   MOBILE VIEW FIXES - NO TOP GAP, NO OVERFLOW, NO SCREEN MOVEMENT
   ═══════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        position: relative !important;
        margin: 0 !important;
    }

    body {
        padding-top: var(--navbar-h, 64px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Constrain all major page wrappers and grid rows so they never push viewport wider than 100vw */
    #main-content,
    .hero,
    .hero-slider,
    .section,
    footer,
    .container,
    .row {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .navbar.fixed-top,
    .navbar.fixed-top.scrolled {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 !important;
    }

    .navbar-collapse {
        position: fixed !important;
        top: var(--navbar-h, 64px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 8px 16px !important;
        margin: 0 !important;
    }

    .navbar .container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    .navbar-brand {
        max-width: calc(100% - 135px) !important;
        flex-shrink: 1 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        overflow: hidden !important;
    }

    .nav-phone-link {
        margin-right: 6px !important;
        font-size: var(--fs-sm) !important;
        flex-shrink: 0 !important;
    }

    /* Hide phone text on smaller screens so toggler button never overflows container border */
    @media (max-width: 767.98px) {
        .nav-phone-link span {
            display: none !important;
        }
    }

    .navbar-toggler {
        margin: 0 !important;
        flex-shrink: 0 !important;
        align-self: center !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Remove full-width box-shadow and border from sticky product tabs wrapper and page header so the middle line never touches outer screen borders */
div[style*="position: sticky"]:has(#productTabs),
div[style*="position: sticky"]:has(.nav-tabs-premium),
div[style*="position: sticky"]:has(.nav-tabs),
.page-header:has(+ div[style*="position: sticky"]) {
    box-shadow: none !important;
    border-bottom: none !important;
    border-top: none !important;
}

@media (max-width: 991.98px) {
    /* Remove any full-width edge-to-edge lines above or below the sticky tabs container */
    div[style*="position: sticky"]:has(#productTabs),
    div[style*="position: sticky"]:has(.nav-tabs-premium),
    div[style*="position: sticky"]:has(.nav-tabs),
    .page-header {
        box-shadow: none !important;
        border-bottom: none !important;
        border-top: none !important;
    }

    /* Fix product tabs (Overview, Technical Specifications, Gallery) going out of container border on mobile */
    .nav-tabs-premium,
    #productTabs,
    .nav-tabs,
    .nav-pills {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        justify-content: flex-start !important;
        border-bottom: none !important;
        padding: 6px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .nav-tabs-premium .nav-item,
    #productTabs .nav-item,
    .nav-tabs .nav-item,
    .nav-pills .nav-item {
        flex: 1 1 auto !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    .nav-tabs-premium .nav-link,
    #productTabs .nav-link,
    .nav-tabs .nav-link,
    .nav-pills .nav-link {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 8px 10px !important;
        font-size: 0.82rem !important;
        border-radius: 6px !important;
        white-space: normal !important;
        word-break: break-word !important;
        box-sizing: border-box !important;
        line-height: 1.3 !important;
    }

    /* Ensure adjacent or wrapped buttons in mobile view always have vertical spacing */
    .btn + .btn,
    .d-flex.flex-wrap .btn,
    .project-section .btn {
        margin-bottom: 12px !important;
    }
}




/* ═══════════════════════════════════════════════════════
   MOBILE HEADER - solid & crisp (no frosted glass)
   backdrop-filter on the fixed navbar made the header look hazy
   over images and, on iOS Safari, could clip the fixed-position
   mobile menu panel so the hamburger appeared to do nothing.
   ═══════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .navbar,
    .navbar.scrolled,
    .navbar.fixed-top,
    .navbar.fixed-top.scrolled {
        background: #ffffff !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        border-bottom: 1px solid #e5e9f0 !important;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08) !important;
    }
    .navbar-collapse,
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        background: #ffffff !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        z-index: 1060 !important;
    }
    .navbar-toggler {
        position: relative;
        z-index: 1070;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }
}

/* Real product photos (replacing 3D renders) */
img.real-photo { mix-blend-mode: normal !important; }
.hero-image-wrapper img.real-photo {
    filter: none !important;
    width: 100%;
    max-height: 460px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}
.card div:has(> img.real-photo),
.product-card div:has(> img.real-photo) {
    padding: 0 !important;
    overflow: hidden;
}
.card div:has(> img.real-photo) > img.real-photo,
.product-card div:has(> img.real-photo) > img.real-photo {
    width: 100%;
    height: 100%;
    max-height: none !important;
    object-fit: cover !important;
}
img.gallery-photo { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Lite YouTube embeds */
.video-lite-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 15px rgba(15,23,42,.06);border:1px solid #eef1f5}
.lite-yt{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden}
.lite-yt-btn{all:unset;cursor:pointer;display:block;position:absolute;inset:0}
.lite-yt-btn:focus-visible{outline:3px solid #ffc107;outline-offset:-3px}
.lite-yt img{width:100%;height:100%;object-fit:cover;display:block}
.lite-yt-play{position:absolute;left:50%;top:50%;width:68px;height:48px;transform:translate(-50%,-50%);background:#e62117;border-radius:12px;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.lite-yt-play::after{content:"";position:absolute;left:27px;top:14px;border-style:solid;border-width:10px 0 10px 17px;border-color:transparent transparent transparent #fff}
.lite-yt-btn:hover .lite-yt-play{background:#c4170f}
.lite-yt-dur{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.82);color:#fff;font-size:.75rem;font-weight:600;padding:2px 6px;border-radius:4px}
.lite-yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.product-videos{background:#f8fafc}

/* Text-only trust badges (homepage certification row) */
.trust-text-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.iso-top-icon { width: 16px; height: 16px; vertical-align: -3px; margin-right: 2px; }
