/* --- Variables --- */
:root {
    --veflox-black: #111111;
    --veflox-blue: #004dd5;
    --veflox-blue-hover: #004494;
    --primary-blue: #0044cc;
    --text-color: #333333;
    --clr-primary-dark: #0f172a; /* Deeper, more modern industrial slate */
    --clr-text-light: #64748b;
    --clr-bg-light: #f8fafc;
    --clr-white: #ffffff;
    --shadow-scrolled: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-header: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --transition-fast: 0.25s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Snappier drawer */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: #f8f9fa; /* Light background for contrast */
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
}

/* --- Navigation Core (Solid White) --- */
.custom-navbar {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s ease, padding 0.3s ease;
    padding: 20px 0;
    background-color: #ffffff !important; /* Solid white background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for definition */
    z-index: 1030;
}

.custom-navbar.scrolled {
    background-color: #ffffff; /* Solid white when scrolled */
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Soft shadow for depth */
}

/* Strict Hide Class */
.nav-hidden {
    transform: translateY(-100%) !important;
}

/* Navbar links for light background */
.navbar-nav .nav-link {
    color: var(--veflox-black) !important; /* Dark text */
    font-weight: 600;
    margin: 0 12px;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
    white-space: nowrap; 
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 0.4em;
    vertical-align: middle;
}

/* Hover Underline Animation */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--veflox-blue);
    transition: width 0.3s ease;
}

.navbar-nav .dropdown-toggle::after {
    width: auto;
    height: auto;
    bottom: auto;
    background-color: transparent;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--veflox-blue) !important;
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
.navbar-nav .nav-link:not(.dropdown-toggle).active::after {
    width: 100%;
}

/* --- Glitch-Free Desktop Dropdown (White Theme) --- */
.custom-dropdown {
    position: relative;
}

.custom-dropdown-menu {
    display: block; 
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 120%;
    left: 0;
    min-width: 220px;
    background-color: #ffffff; /* White dropdown */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-dropdown::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 30px;
    bottom: -30px;
    left: 0;
}

.custom-dropdown:hover .custom-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    top: 100%;
}

.custom-dropdown-menu .dropdown-item {
    color: var(--veflox-black);
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.custom-dropdown-menu .dropdown-item:hover {
    background-color: rgba(0, 86, 179, 0.05);
    color: var(--veflox-blue);
    padding-left: 25px;
}

/* --- Animated Hamburger Menu (Dark Theme) --- */
.custom-toggler {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex; /* Ensure the button itself is a flex container */
}

.hamburger-wrapper {
    width: 30px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: breathe 3s infinite ease-in-out; 
}

/* Ensure the span elements have dimensions! */
.hamburger-wrapper span {
    display: block;
    width: 100%;
    height: 3px; /* The thickness of your hamburger lines */
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Icon Colors */
.hamburger-wrapper span:nth-child(1),
.hamburger-wrapper span:nth-child(3) {
    background-color: var(--veflox-black, #000000) !important;
}

.hamburger-wrapper span:nth-child(2) {
    background-color: var(--veflox-blue, #0056b3) !important;
    width: 80%; /* Optional: Makes the middle line look slightly shorter/stylized */
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* --- Keep Smart Scroll Logic --- */
.custom-navbar.nav-hidden {
    transform: translateY(-100%) !important;
}

/* --- Mobile Sidebar (Light Theme) --- */
.veflox-sidebar {
    background-color: #ffffff;
    border-left: 2px solid var(--veflox-blue);
}

.veflox-sidebar .offcanvas-header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}


/* =========================================
   CUSTOM OFFCANVAS CLOSE BUTTON
   ========================================= */
.veflox-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #0f172a; /* Dark Navy Background */
    color: #ffffff;      /* White Icon */
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 9999; /* Ensure it stays above everything */
}

.veflox-close-btn:hover {
    background: var(--veflox-blue, #0056b3);
    transform: rotate(90deg); /* Adds a premium interaction feel */
}

.veflox-sidebar .nav-link {
    color: var(--veflox-black);
    font-size: 1.2rem;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.veflox-sidebar .dropdown-menu {
    background-color: #f8f9fa;
    border: none;
    padding-left: 20px;
}

.veflox-sidebar .dropdown-item {
    color: var(--text-color);
    padding: 10px 0;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--veflox-blue);
    border-color: var(--veflox-blue);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 4px;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--veflox-blue-hover);
    border-color: var(--veflox-blue-hover);
    color: #ffffff;
}


/* Disable default Bootstrap caret */
.custom-dropdown-toggle::after {
    display: none !important;
}

/* Ensure the icon stays in line and scales correctly */
.custom-dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    margin-top: 2px;
}

/* Rotate icon on hover */
.custom-dropdown:hover .custom-dropdown-toggle i {
    transform: rotate(180deg);
}

/* Ensure the link remains aligned */
.custom-dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    cursor: pointer;
}





.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video fills the screen perfectly */
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Darkens the video for text contrast */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--veflox-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-btns .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}


















.about-section {
    background-color: #ffffff;
    position: relative;
}

.section-heading {
    font-weight: 900;
    font-size: 2.5rem;
    line-height: 1.2;
}

/* Floating Badge Effect */
.about-image-wrapper {
    position: relative;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    font-weight: 700;
    border-left: 4px solid var(--veflox-blue);
}

/* Counter Style */
.counter {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0;
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
    .section-heading { font-size: 2rem; }
    .floating-badge { position: relative; bottom: 0; left: 0; margin-top: 20px; display: inline-block; }
}












/* --- SECTION 5: DYNAMIC SHOWCASE CONSOLE --- */
.services-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 40px;
}

.text-navy {
    color: var(--veflox-blue-hover);
}

/* Custom left-side navigation pills */
.custom-service-pills {
    gap: 12px;
}

/* INACTIVE TAB STATE (Fixes visibility completely) */
.custom-service-pills .nav-link {
    background-color: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 18px 24px;
    color: var(--veflox-blue) !important; /* Force dark navy text for the heading */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
    width: 100%;
}

/* Ensure the heading specifically stays dark */
.custom-service-pills .nav-link .h6 {
    color: #4a4a4a !important;
}

/* Make the inactive icon clearly visible */
.custom-service-pills .pill-icon {
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    color: var(--veflox-blue) !important; /* Force the electric blue color */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

/* Ensure the subtext is a readable dark gray */
.custom-service-pills .nav-link .custom-subtext {
    color: #475569 !important; /* Slate-700 for better contrast */
    font-weight: 400;
}


/* --- HOVER EFFECT --- */
.custom-service-pills .nav-link:hover {
    background-color: #f1f5f9;
    transform: translateX(5px);
}


/* --- ACTIVE TAB STATE --- */
.custom-service-pills .nav-link.active {
    background-color: var(--veflox-blue) !important;
    border-color: var(--veflox-blue-hover) !important;
    box-shadow: 0 10px 25px rgba(4, 27, 51, 0.2);
    transform: translateX(8px);
}

/* Force active heading to be white */
.custom-service-pills .nav-link.active h6 {
    color: #ffffff !important;
}

/* Force active subtext to be light gray */
.custom-service-pills .nav-link.active .custom-subtext {
    color: #cbd5e1 !important; 
}
.custom-service-pills .nav-link.active .h6 {
    color: #ffffff !important; 
}

/* Force active icon box to invert colors */
.custom-service-pills .nav-link.active .pill-icon {
    background-color: rgb(10 92 237) !important;
    color: #ffffff !important;
    box-shadow: none;
}

/* Right-Side Showcase Panel */
.showcase-panel-wrapper {
    height: 100%;
}

.showcase-card {
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    height: 100%;
    min-height: 450px;
    transition: all 0.4s ease;
}

.showcase-img {
    background-size: cover;
    background-position: center;
    min-height: 250px;
}

.line-height-lg { line-height: 1.7; }
.showcase-specs li {
    font-size: 0.95rem;
    color: #475569;
}

/* Desktop Crossfade Speed */
@media (min-width: 992px) {
    .tab-pane.fade { transition: opacity 0.3s linear; }
}

/* --- MOBILE OVERRIDES (STACKED CARDS) --- */
@media (max-width: 991px) {
    /* Force all tab panes to display sequentially on mobile */
    .showcase-panel-wrapper .tab-pane {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-bottom: 24px;
    }
    
    /* Adjust card height for stacked mobile view */
    .showcase-card {
        min-height: auto;
    }
}
.bg-light {
    --bs-bg-opacity: 1;
    background-color: rgb(162 209 255) !important;
}

.text-accent{
    color: #3a90e5;
}

















/* =========================================
   INDUSTRIES SERVED SECTION (MODERN 8-GRID)
   ========================================= */
.industries-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Clean light background */
}

.industries-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--veflox-blue, #0056b3);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.industries-lead {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 4-Column Grid for 8 items */
.industries-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Tighter gap for a cohesive block look */
}

/* Modern Sleek Card */
.industry-card-modern {
    position: relative;
    height: 220px; /* Shorter, sleeker profile */
    border-radius: 8px;
    overflow: hidden;
    background-color: #0f172a;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

/* Background Image Layer */
.industry-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Blue-Tinted Overlay (Matches the uploaded image style) */
.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 2;
    transition: background 0.3s ease;
}

/* Content Container */
.industry-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Aligns Icon and Title horizontally in default state */
.industry-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.industry-icon {
    font-size: 20px;
    color: #3b82f6; /* Modern bright blue */
    transition: color 0.3s ease;
}

.industry-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

/* Hidden Description */
.industry-desc {
    font-size: 0.85rem;
    color: #e2e8f0;
    line-height: 1.5;
    max-height: 0;
    opacity: 0;
    margin: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
}

/* =========================================
   Interactive Hover Behaviors
   ========================================= */
.industry-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.industry-card-modern:hover .industry-bg {
    transform: scale(1.08);
}

.industry-card-modern:hover .industry-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.industry-card-modern:hover .industry-icon {
    color: #ffffff; /* Icon turns white on hover */
}

.industry-card-modern:hover .industry-desc {
    max-height: 100px;
    opacity: 1;
    margin-top: 15px; /* Creates space between title and text on reveal */
}

/* =========================================
   Responsive Viewport Interventions
   ========================================= */
@media (max-width: 1200px) {
    .industries-grid-modern {
        grid-template-columns: repeat(3, 1fr); /* Drops to 3 columns on medium laptops */
    }
}

@media (max-width: 991px) {
    .industries-grid-modern {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 576px) {
    .industries-grid-modern {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    
    .industry-card-modern {
        height: 200px;
    }
    
    /* Auto-reveal text on touch screens */
    .industry-desc {
        max-height: 100px;
        opacity: 1;
        margin-top: 10px;
    }
}


















/* --- MODERN SITE FOOTER --- */
.site-footer {
    background-color: #111111; /* Deep industrial dark */
    color: #cccccc;
    padding-top: 80px;
    border-top: 4px solid var(--primary-blue);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #aaaaaa;
}

.footer-desc strong {
    color: #ffffff;
}

/* Social Media Circles */
.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #222222;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid #333333;
}

.footer-socials a:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Footer Headings */
.footer-heading {
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-blue);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
}

.footer-links i {
    font-size: 10px;
    margin-right: 8px;
    color: var(--primary-blue);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

/* Contact List Formatting */
.footer-contact-list {
    list-style: none;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-contact-list i {
    color: var(--primary-blue);
    font-size: 18px;
    margin-right: 15px;
    margin-top: 4px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-text strong {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 2px;
}

.contact-text span, 
.contact-text a {
    color: #aaaaaa;
    font-size: 13px;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-blue);
}

/* --- Footer Bottom Bar --- */
.footer-bottom {
    background-color: #0a0a0a;
    padding: 20px 0;
    border-top: 1px solid #222222;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #777777;
    font-size: 13px;
}

/* Back to Top Button */
.back-to-top {
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #ffffff;
    color: var(--primary-blue);
}

/* --- Mobile Adjustments --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .back-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
}



















/* Ensure the button is hidden on desktop by default */
.veflox-floating-btn {
    display: none; /* Default hidden */
}

/* Show only on mobile/tablet viewports */
@media (max-width: 991px) {
    .veflox-floating-btn {
        display: flex; /* Override hidden */
        position: fixed;
        bottom: 20px;
        right: 20px;
        height: 50px;
        padding-right: 20px;
        background: linear-gradient(135deg, var(--veflox-blue, #0056b3), #003d80);
        color: #ffffff !important;
        text-decoration: none;
        z-index: 1050;
        align-items: center;
        border-radius: 50px;
        box-shadow: 0 10px 25px rgba(0, 86, 179, 0.4);
    }
    
    .veflox-floating-btn .btn-icon {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }
    
    .veflox-floating-btn .btn-text {
        font-weight: 700;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}


/* =========================================
   HIDE BOTHELP WHATSAPP WIDGET ON MOBILE
   ========================================= */
@media (max-width: 991px) {
    /* Target the main wrapper injected by the external script */
    #bh-whatsapp-chat,
    .bh-whatsapp-chat,
    [id^="bh-"],
    [class^="bh-"] {
        display: none !important;
    }
}






















/* =========================================
   REUSABLE PAGE BANNER (About, Products, etc.)
   ========================================= */
.page-banner {
    height: 45vh; /* Takes up just under half the viewport on load */
    min-height: 350px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates a smooth parallax effect on desktop */
    z-index: 0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Deep industrial gradient: dark black to VEFLOX blue */
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.85) 0%, rgba(0, 86, 179, 0.65) 100%);
    z-index: 0;
}

.banner-content {
    padding-top: 80px; /* Accounts for the fixed navbar height */
}

.tracking-tight { 
    letter-spacing: -0.03em; 
}

/* Customizing Bootstrap Breadcrumbs for Dark Backgrounds */
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4); 
}























/* =========================================
   SECTION 1: ASYMMETRICAL & GEOMETRIC
   ========================================= */
/* Deep Navy to Cobalt Gradient for Text */
.tech-gradient-text {
    background: linear-gradient(135deg, #001f3f 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
}

.fw-black { font-weight: 900; }
.gradient-line { width: 40px; height: 3px; background: linear-gradient(90deg, #0056b3, transparent); }

/* The Machined Image Shape using clip-path */
.machined-image-wrapper {
    position: relative;
    padding: 20px;
}

.machined-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    /* Cuts the corners off the image to look like a machined metal plate */
    clip-path: polygon(15% 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%);
    transition: transform 0.5s ease;
}

.machined-image-wrapper:hover .machined-img {
    transform: scale(1.02);
}

/* Glassmorphism Floating Detail Card */
.glass-detail-card {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.5);
    padding: 20px 30px;
    border-radius: 12px;
    border-left: 4px solid #0056b3;
    z-index: 2;
}

/* =========================================
   SECTION 2: HOVER-EXPAND PANELS (Optimized)
   ========================================= */
.tech-dark-bg {
    background: linear-gradient(135deg, #050505 0%, #0a1128 100%);
}

.expand-container {
    display: flex;
    width: 100%;
    height: 450px;
    gap: 15px;
}

.expand-panel {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    flex: 1; 
    overflow: hidden;
    /* Optimized transition and will-change to eliminate lag */
    transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1), height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: flex, height;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Desktop Hover & Active State */
@media (min-width: 992px) {
    .expand-panel:hover, 
    .expand-panel.active {
        flex: 5;
        border-color: #0056b3;
        box-shadow: 0 0 30px rgba(0, 86, 179, 0.4);
    }
}

.panel-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.expand-panel:hover .panel-icon,
.expand-panel.active .panel-icon {
    background: #0056b3;
    transform: scale(1.1);
}

.panel-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s; 
    visibility: hidden;
    z-index: 2;
}

.expand-panel:hover .panel-content,
.expand-panel.active .panel-content {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Vertical Title for Desktop Collapsed State */
.panel-title-vertical {
    position: absolute;
    bottom: 30px;
    left: 45px;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: rotate(-90deg);
    transform-origin: left bottom;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.expand-panel:hover .panel-title-vertical,
.expand-panel.active .panel-title-vertical {
    opacity: 0; 
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 991px) {
    .expand-container {
        flex-direction: column;
        height: auto; /* Let the container scale dynamically */
    }
    
    .expand-panel {
        height: 100px; /* Collapsed state on mobile */
        flex: none; /* Disable flex scaling on mobile */
    }

    .expand-panel.active {
        height: 320px; /* Expanded state on mobile */
        border-color: #0056b3;
    }

    .panel-icon {
        top: 25px;
        left: 20px;
    }

    .panel-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    /* Make the title horizontal on mobile for better readability */
    .panel-title-vertical {
        transform: none;
        left: 85px;
        bottom: 36px;
    }
}






















/* =========================================
   PRODUCT CATALOG: STICKY INDEX & CARDS
   ========================================= */

.py-6 {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Sticky Header Logic */
.sticky-category-header {
    position: sticky;
    /* Important: Set this higher than your navbar height so it doesn't hide behind it */
    top: 110px; 
    z-index: 10;
}

/* Base Card Styling */
.tech-product-card {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

/* Hover Elevation & Border Glow */
.tech-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 86, 179, 0.1);
    border-color: rgba(0, 86, 179, 0.3);
}

/* Image Wrapper & Zoom Effect */
.tech-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f4f6f9; /* Soft background in case of transparent PNG/WebP */
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tech-product-card:hover .tech-img-wrapper img {
    transform: scale(1.08); /* Smooth zoom on hover */
}

/* Floating Badge */
.tech-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--veflox-blue, #0056b3);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 2;
}

/* Content Area */
.tech-content {
    padding: 25px;
}

.tech-action {
    transition: color 0.3s ease;
}

/* Arrow Interaction */
.tech-action i {
    transition: transform 0.3s ease;
}

.tech-product-card:hover .tech-action i {
    transform: translateX(6px); /* Arrow slides right to encourage clicking */
}

/* Mobile Responsiveness for Sticky Header */
@media (max-width: 991px) {
    .sticky-category-header {
        position: relative; /* Disable sticky on mobile so it flows naturally */
        top: 0;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .tech-img-wrapper {
        height: 250px; /* Make images slightly taller on mobile */
    }
}




























/* Quality Policy Section Styling */
.quality-policy-section {
  background-color: #f8f9fa; /* Light, clean background */
  font-family: 'Inter', system-ui, sans-serif;
}

/* Interactive Cards */
.quality-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* Hover Effects */
.quality-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(13, 110, 253, 0.2); /* Primary color hint */
}

/* Subtle accent bar on hover */
.quality-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #0d6efd; /* Match your primary brand color */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.quality-card:hover::before {
  transform: scaleX(1);
}

/* Icon Wrapper Styling */
.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.05);
  transition: all 0.3s ease;
}

.quality-card:hover .icon-wrapper {
  background: #0d6efd;
  color: #ffffff; /* Make icon white on hover */
}

.quality-card:hover .icon-wrapper i {
  color: #ffffff !important;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Quality Guarantee Section Styles */
.quality-guarantee-section {
  background-color: #ffffff; /* Contrasts with the light gray of the previous section */
}

/* Make the image wrapper look premium */
.image-wrapper {
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg);
}

/* Glassmorphism Floating Card */
.floating-glass-card {
  bottom: -30px;
  left: -40px;
  max-width: 300px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px); /* Creates the frosted glass effect */
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 10;
  animation: floatCard 6s ease-in-out infinite;
}

/* Keyframes for the floating animation */
@keyframes floatCard {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Mobile Responsiveness for the floating card */
@media (max-width: 991.98px) {
  .floating-glass-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: -50px;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
  }
  
  .image-wrapper {
    transform: none;
  }
}




















/* =========================================
   PRODUCT SIDEBAR: ENGINEERING NODE MENU
   ========================================= */

.catalog-sidebar {
    transition: all 0.3s ease;
}

.node-menu {
    margin-left: 5px;
}

.node-item {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}

.node-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Category Headers */
.node-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.node-header:hover {
    background: #f8f9fa;
}

.node-icon {
    width: 35px;
    height: 35px;
    background: #f1f5f9;
    color: #0056b3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.node-header:hover .node-icon {
    background: #0056b3;
    color: #ffffff;
}

.node-toggle {
    font-size: 0.8rem;
    color: #a0aec0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Blueprint / Piping Submenu Style */
.node-submenu {
    padding-left: 22px; /* Aligns under the icon */
    margin-top: 5px;
    position: relative;
    overflow: hidden;
    max-height: 0; /* Hidden by default */
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* The vertical connecting line */
.node-submenu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 22px;
    bottom: 20px;
    width: 2px;
    background: #e2e8f0;
    border-radius: 2px;
}

.node-submenu li {
    position: relative;
    padding-left: 20px;
    margin: 5px 0;
}

/* The horizontal connecting branches */
.node-submenu li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 2px;
    background: #e2e8f0;
    transform: translateY(-50%);
    border-radius: 2px;
    transition: background 0.3s ease;
}

/* Submenu Links */
.node-submenu a {
    display: block;
    padding: 8px 12px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.node-submenu a:hover {
    color: #0056b3;
    background: rgba(0, 86, 179, 0.05);
    transform: translateX(5px);
}

/* Active State */
.node-submenu a.active {
    color: #0056b3;
    background: rgba(0, 86, 179, 0.08);
    font-weight: 700;
}

/* Highlight the branch line when active/hover */
.node-submenu a:hover::before,
.node-submenu a.active::before {
    background: #0056b3;
}

.node-submenu li:hover::before {
    background: #0056b3; /* branch color change on hover */
}

/* Expanded State Logic */
.node-item.expanded .node-submenu {
    max-height: 400px; /* Expands smoothly */
    padding-bottom: 10px;
}

.node-item.expanded .node-toggle {
    transform: rotate(180deg);
    color: #0056b3;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .catalog-sidebar {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 30px;
    }
}























/* =========================================
   CLEAN & MINIMALIST PRODUCT PAGE
   ========================================= */

/* Typography & Base Variables */
.bg-white { background-color: #ffffff !important; }
.text-dark { color: #111111 !important; }
.fw-black { font-weight: 900; }
.tracking-tight { letter-spacing: -0.03em; }

.minimal-line {
    width: 40px;
    height: 3px;
    background-color: var(--veflox-blue); /* Just a small accent color line */
}

/* 1. Museum Showcase Box */
.showcase-frame {
    background-color: #f8f9fa !important; /* Extremely soft grey just to separate from white background */
    border: 1px solid rgba(0,0,0,0.03);
}

.showcase-img {
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 25px rgba(0,0,0,0.1));
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.showcase-frame:hover .showcase-img {
    transform: scale(1.05) translateY(-5px);
}

/* 2. Ultra-Clean Table */
.clean-table th, 
.clean-table td {
    background-color: transparent !important; 
    padding-left: 0; 
}

.clean-table tbody tr {
    transition: background-color 0.3s ease;
}

.clean-table tbody tr:hover {
    background-color: #fafafa; 
}

/* 3. Sub-Types Minimal Cards */
.minimal-product-card {
    transition: transform 0.3s ease;
}

.card-img-area {
    height: 200px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s ease;
}

.card-img-area img {
    max-height: 100%;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
}

.minimal-product-card:hover .card-img-area {
    background-color: #ffffff !important;
    border-color: rgba(0, 86, 179, 0.2);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.minimal-product-card:hover .card-img-area img {
    transform: scale(1.1);
}

.minimal-product-card:hover h4 {
    color: var(--veflox-blue) !important;
}

/* Reset Body Background just in case */
body {
    background-color: #ffffff;
}


















/* =========================================
   PREMIUM PRODUCT INTRO & SPECS
   ========================================= */

.mb-6 { margin-bottom: 5rem; }

/* Typography */
.catalog-eyebrow {
    color: var(--veflox-blue, #0056b3);
    font-size: 0.85rem;
}

.accent-bar {
    width: 60px;
    height: 4px;
    background-color: var(--veflox-blue, #0056b3);
    border-radius: 2px;
}

/* Product Pedestal Showcase */
.product-pedestal {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pedestal-backdrop {
    position: absolute;
    top: 10%;
    right: 0;
    width: 80%;
    height: 90%;
    background-color: #f4f5f7; /* Very subtle industrial grey */
    border-radius: 16px;
    z-index: 0;
    border: 1px solid rgba(0,0,0,0.04);
}

.pedestal-img {
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 20px 25px rgba(0,0,0,0.12));
    transition: transform 0.5s ease;
}

.product-pedestal:hover .pedestal-img {
    transform: translateY(-8px) scale(1.03);
}

.pedestal-tag {
    position: absolute;
    bottom: 20px;
    left: 0;
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a1a;
    z-index: 2;
    border-left: 3px solid var(--veflox-blue, #0056b3);
}

/* Engineering Data Grid (Replaces Table) */
.specs-data-grid {
    display: flex;
    flex-direction: column;
}

.spec-row {
    display: flex;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row:hover {
    background-color: #f9fafb; /* Extremely faint hover state */
    padding-left: 10px; /* Slight indent on hover for interactivity */
}

.spec-label {
    flex: 0 0 35%; /* Takes up 35% of the row */
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
    padding-left: 1.25rem;
}

/* Sharp primary color indicator line on the left */
.spec-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 3px;
    background-color: var(--veflox-blue, #0056b3);
    border-radius: 2px;
}

.spec-value {
    flex: 1;
    color: #4b5563; /* Subtle text color for readability */
    line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .spec-row {
        flex-direction: column;
        padding-left: 0 !important;
    }
    .spec-label {
        flex: none;
        margin-bottom: 8px;
    }
    .spec-value {
        padding-left: 1.25rem; /* Aligns with the label */
    }
}





/* =========================================
   PRECISION GRID (Product Sub-Types)
   ========================================= */

/* The Card Link Wrapper */
.precision-card {
    transition: all 0.4s ease;
    cursor: pointer;
}

/* The Image Pedestal */
.precision-frame {
    position: relative;
    height: 240px;
    background-color: #f8f9fa; /* Extremely soft grey */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    /* 1px border that is invisible until hover */
    border: 1px solid transparent; 
}

/* The Crosshair Markers (+) */
.frame-corner {
    position: absolute;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1;
    color: #cbd5e1; /* Faint grey crosshairs */
    transition: color 0.4s ease;
    z-index: 2;
}

.top-left { top: 15px; left: 15px; }
.top-right { top: 15px; right: 15px; }
.bottom-left { bottom: 15px; left: 15px; }
.bottom-right { bottom: 15px; right: 15px; }

/* The Image inside the frame */
.precision-img {
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.06));
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 1;
}

/* Metadata Area */
.precision-meta {
    padding-top: 5px;
}

.action-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a1a1aa;
    transition: all 0.4s ease;
}

.action-arrow i {
    transition: transform 0.4s ease;
}

/* -------------------------------------
   HOVER STATES (The Magic)
---------------------------------------- */

/* 1. Frame turns white, gains subtle shadow and primary color border */
.precision-card:hover .precision-frame {
    background-color: #ffffff;
    border-color: rgba(0, 86, 179, 0.15); /* Soft primary border */
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

/* 2. Crosshairs light up in primary blue */
.precision-card:hover .frame-corner {
    color: var(--veflox-blue, #0056b3);
}

/* 3. Image zooms slightly */
.precision-card:hover .precision-img {
    transform: scale(1.1) translateY(-5px);
}

/* 4. Arrow button turns blue and icon slides right */
.precision-card:hover .action-arrow {
    background-color: var(--veflox-blue, #0056b3);
    color: #ffffff;
}

.precision-card:hover .action-arrow i {
    transform: translateX(3px);
}













/* =========================================
   APPLICATIONS & CORE FEATURES
   ========================================= */

/* 1. Feature List Blocks */
.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px); /* Subtle slide to the right */
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 86, 179, 0.05); /* Extremely soft primary background */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid rgba(0, 86, 179, 0.1);
    transition: all 0.3s ease;
}

/* Icon inverts color on hover */
.feature-item:hover .feature-icon-box {
    background-color: var(--veflox-blue, #0056b3);
    border-color: var(--veflox-blue, #0056b3);
}

.feature-item:hover .feature-icon-box i {
    color: #ffffff !important;
}

/* 2. Industry Matrix Cards (Fixed Size) */
.industry-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px; /* Tighter, more compact padding */
    background-color: #f8f9fa; 
    border: 1px solid #e5e7eb;
    border-radius: 8px; /* Slightly sharper corners */
    font-weight: 600;
    font-size: 0.95rem; /* Sleeker typography */
    color: #1a1a1a;
    transition: all 0.3s ease;
    cursor: default;
    height: fit-content; /* THIS FIXES THE STRETCHING BUG */
    width: 100%;
}

.industry-card i {
    color: var(--veflox-blue, #0056b3);
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.industry-card:hover {
    background-color: #ffffff;
    border-color: rgba(0, 86, 179, 0.3);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transform: translateY(-3px); 
}

.industry-card:hover i {
    opacity: 1;
}


















/* =========================================
   CONTACT PAGE - ACTION CARDS
   ========================================= */

.contact-action-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-action-card:hover {
    border-color: var(--veflox-blue, #0056b3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.icon-wrap {
    width: 55px;
    height: 55px;
    background: rgba(0, 86, 179, 0.05);
    color: var(--veflox-blue, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-action-card:hover .icon-wrap {
    background: var(--veflox-blue, #0056b3);
    color: #ffffff;
}




















/* =========================================
   CERTIFICATIONS SECTION
   ========================================= */

.cert-card {
    transition: all 0.4s ease;
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 86, 179, 0.2) !important; /* Subtle blue border on hover */
}

.cert-img-wrap {
    overflow: hidden;
    border-bottom: 1px solid #e9ecef; /* Separates the image from the text */
}

/* Base image styling */
.cert-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* The dark overlay that appears on hover */
.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7); /* Deep navy tint */
    backdrop-filter: blur(2px); /* Slight blur for modern look */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* Initial state of the button (slightly lower) */
.cert-overlay .btn {
    transform: translateY(15px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* On Hover Triggers */
.cert-card:hover .cert-overlay {
    opacity: 1;
}

.cert-card:hover .cert-img {
    transform: scale(1.05); /* Gentle zoom on the certificate image */
}

.cert-card:hover .cert-overlay .btn {
    transform: translateY(0); /* Button slides up into place */
}


























/* =========================================
   FLUID PRODUCT GALLERY
   ========================================= */

/* Auto-adjusting grid frame based on screen real estate */
.gallery-fluid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    width: 100%;
}

/* Image Core Container */
.gallery-img-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    background-color: #f4f5f6;
    aspect-ratio: 4/3; /* Enforces a sharp, symmetrical grid structure */
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Minimalist Dark Overlay on Hover */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
}

.gallery-overlay i {
    color: #ffffff;
    font-size: 2.2rem;
    transform: scale(0.6);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover Triggers */
.gallery-img-wrapper:hover img {
    transform: scale(1.06);
}

.gallery-img-wrapper:hover .gallery-overlay {
    opacity: 1;
}

.gallery-img-wrapper:hover .gallery-overlay i {
    transform: scale(1);
}

/* =========================================
   LIGHTBOX MODAL
   ========================================= */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 40px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(4px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 82vh;
    border-radius: 6px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    animation: zoomInSmooth 0.25s ease-out forwards;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #cbd5e1;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #ffffff;
    font-size: 42px;
    font-weight: 300;
    transition: color 0.2s;
    cursor: pointer;
}

.lightbox-close:hover {
    color: #3b82f6;
}

@keyframes zoomInSmooth {
    from {transform: scale(0.97); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}





















.nav-btn {
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 50px; /* Keeps them matching your other design elements */
}

/* Adds a nice hover lift to both buttons */
.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile View Spacing */
@media (max-width: 991px) {
    .nav-item {
        margin-top: 10px;
    }
    .nav-btn {
        width: 100%; /* Makes buttons full-width in mobile menu */
    }
}