/* ==========================================================================
   VERMAX INFRA SOLUTIONS - MODERN THEME SYSTEM
   Ultra-Clean, High-Performance, Contemporary Corporate Architecture UI
   ========================================================================== */

:root {
    --vm-primary: #0066e0;
    --vm-primary-dark: #004cb0;
    --vm-primary-light: #eff6ff;
    --vm-accent: #00a3ff;
    --vm-accent-glow: rgba(0, 163, 255, 0.35);
    --vm-dark: #0b132b;
    --vm-dark-surface: #0f172a;
    --vm-dark-card: #151f38;
    --vm-slate-bg: #f8fafc;
    --vm-slate-border: #e2e8f0;
    --vm-text-heading: #0f172a;
    --vm-text-body: #475569;
    --vm-text-muted: #64748b;
    --vm-radius-sm: 8px;
    --vm-radius-md: 12px;
    --vm-radius-lg: 16px;
    --vm-radius-xl: 22px;
    --vm-radius-pill: 50px;
    --vm-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
    --vm-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
    --vm-shadow-lg: 0 20px 35px -10px rgba(0, 102, 224, 0.14), 0 10px 15px -3px rgba(15, 23, 42, 0.04);
    --vm-shadow-hover: 0 25px 45px -10px rgba(0, 102, 224, 0.22);
}

/* ==========================================================================
   BASE RESETS & TYPOGRAPHY - POPS WITH POPPINS
   ========================================================================== */
html, body {
    font-family: 'Poppins', sans-serif !important;
    color: var(--vm-text-body);
    background-color: #ffffff !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

button, input, select, textarea {
    font-family: 'Poppins', sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Poppins', sans-serif !important;
    color: var(--vm-text-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6 {
    color: #ffffff;
}

p, span, li, a, small, strong, b, label, div {
    font-family: 'Poppins', sans-serif;
}

p {
    line-height: 1.7;
    color: var(--vm-text-body);
    font-size: 15.5px;
}

a {
    color: var(--vm-primary);
    transition: color 0.25s ease, transform 0.25s ease;
}

a:hover {
    color: var(--vm-primary-dark);
    text-decoration: none;
}

::selection {
    background-color: #b9d7fc;
    color: var(--vm-dark);
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar-wrap {
    background: #070d1e !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-wrap .container-fluid {
    background: transparent !important;
}

.topbar-wrap a.text-white {
    color: #cbd5e1 !important;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.topbar-wrap a.text-white:hover {
    color: #38bdf8 !important;
}

.topbar-wrap i.fa-phone-alt,
.topbar-wrap i.fa-envelope {
    color: #38bdf8;
    margin-right: 6px;
}

.topbar-wrap .fab {
    font-size: 13px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.topbar-wrap a.px-2:hover .fab,
.topbar-wrap a.pl-2:hover .fab {
    color: #38bdf8 !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   STICKY NAVBAR & NAVIGATION
   ========================================================================== */
.navbar-sticky-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(11, 19, 43, 0.06);
    transition: all 0.35s ease;
}

.navbar-sticky-wrapper.scrolled {
    box-shadow: 0 8px 30px rgba(11, 19, 43, 0.10);
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-light {
    background: #ffffff !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    transition: padding 0.3s ease;
}

.navbar-sticky-wrapper.scrolled .navbar-light {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* Brand Logo */
.navbar-brand {
    padding: 0;
    margin-right: 1.5rem !important;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 62px);
}

.brand-title-text {
    font-size: 18.5px;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
    white-space: nowrap;
}

.navbar-brand img,
img.navbar-brand-logo {
    height: 44px !important;
    width: auto !important;
    max-width: 220px;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease, transform 0.3s ease;
}

.navbar-sticky-wrapper.scrolled .navbar-brand img,
.navbar-sticky-wrapper.scrolled img.navbar-brand-logo {
    height: 40px !important;
}

/* Nav links - Exactly matching Image 1 */
.navbar-light .navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b !important;
    padding: 10px 18px !important;
    position: relative;
    transition: color 0.2s ease;
    letter-spacing: -0.01em;
    background: transparent !important;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #0080ff !important;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* Blue underline indicator for active item (Image 1 style) */
.navbar-light .navbar-nav .nav-link.active span {
    position: relative;
    display: inline-block;
}

.navbar-light .navbar-nav .nav-link.active span::after {
    content: '' !important;
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #0080ff;
    border-radius: 2px;
    display: block !important;
}

/* Primary Vibrant Blue CTA Button (Image 1 style) */
.btn-quote-primary {
    background-color: #0080ff !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 10px 24px !important;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.25s ease;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 128, 255, 0.25);
}

.btn-quote-primary:hover {
    background-color: #0066e0 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 128, 255, 0.35);
}

/* Dropdown styling - Classic Clean Nested Dropdown (Image 1 & Image 2) */
.dropdown-menu,
.vm-dropdown-menu {
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.14), 0 4px 10px -2px rgba(15, 23, 42, 0.04) !important;
    padding: 8px !important;
    background: #ffffff !important;
    min-width: 265px;
    margin-top: 2px !important;
    z-index: 1050;
}

.vm-classic-dropdown > .vm-dropdown-menu.show,
.vm-classic-dropdown.show > .vm-dropdown-menu,
.vm-classic-dropdown.hover-open > .vm-dropdown-menu {
    display: block !important;
    animation: fadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.dropdown-item {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    padding: 9px 14px !important;
    border-radius: 6px !important;
    transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease !important;
    white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-submenu.show > .dropdown-toggle {
    background-color: var(--vm-primary-light) !important;
    color: #0080ff !important;
    padding-left: 18px !important;
}

/* Submenu caret alignment */
.dropdown-submenu > .dropdown-toggle::after {
    margin-left: 8px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

@media (min-width: 992px) {
    .vm-classic-dropdown {
        position: relative !important;
    }

    /* Invisible top bridge so moving mouse down from Products link never triggers mouseleave */
    .vm-classic-dropdown > .vm-dropdown-menu::before {
        content: '';
        position: absolute;
        top: -18px;
        left: 0;
        right: 0;
        height: 20px;
        background: transparent;
    }

    .dropdown-submenu {
        position: relative !important;
    }

    .dropdown-submenu > .vm-submenu-menu {
        position: absolute !important;
        top: -8px !important;
        left: 100% !important;
        margin-left: 2px !important;
        margin-top: 0 !important;
        min-width: 215px !important;
        border-radius: 10px !important;
        padding: 8px !important;
        display: none;
    }

    /* Invisible bridge on left edge of flyout so diagonal cursor movement never closes submenu */
    .dropdown-submenu > .vm-submenu-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: -16px;
        width: 18px;
        height: 100%;
        background: transparent;
    }

    .dropdown-submenu.show > .vm-submenu-menu,
    .dropdown-submenu:hover > .vm-submenu-menu {
        display: block !important;
        animation: fadeInSubmenu 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
}

/* Get a quote button in navbar */
.btn-quote-nav {
    background: linear-gradient(135deg, var(--vm-primary) 0%, var(--vm-accent) 100%) !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: var(--vm-radius-pill) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 10px 24px !important;
    box-shadow: 0 4px 14px rgba(0, 102, 224, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    letter-spacing: 0.01em;
}

.btn-quote-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 224, 0.45) !important;
    color: #ffffff !important;
}

/* Spacer */
#header-spacer {
    height: 110px;
}

/* ==========================================================================
   HERO CAROUSEL & INNER HERO
   ========================================================================== */
#heroCarousel {
    margin-bottom: 0 !important;
}

#heroCarousel .carousel-item {
    height: 82vh !important;
    min-height: 520px;
    max-height: 750px;
}

#heroCarousel .carousel-item::before {
    background: linear-gradient(180deg, rgba(7, 13, 30, 0.65) 0%, rgba(11, 19, 43, 0.82) 100%) !important;
}

.carousel-heading {
    color: #38bdf8 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    display: inline-block;
    padding: 6px 18px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: var(--vm-radius-pill);
    backdrop-filter: blur(6px);
}

#heroCarousel h1.display-4 {
    font-size: clamp(2rem, 4.5vw, 3.4rem) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

#heroCarousel p.text-white {
    font-size: clamp(14px, 1.6vw, 17px) !important;
    max-width: 720px;
    margin: 0 auto 1.5rem;
    color: #e2e8f0 !important;
    line-height: 1.7;
}

/* Custom rounded indicators */
.custom-indicators {
    bottom: 28px !important;
}

.custom-indicators li {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    margin: 0 6px !important;
    border: none !important;
    transition: all 0.35s ease !important;
}

.custom-indicators li.active {
    width: 32px !important;
    border-radius: 6px !important;
    background-color: var(--vm-accent) !important;
    box-shadow: 0 0 12px var(--vm-accent-glow);
}

/* Inner Page Hero */
.hero {
    height: 42vh !important;
    min-height: 290px;
    position: relative;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(7, 13, 30, 0.70) 0%, rgba(11, 19, 43, 0.85) 100%) !important;
}

.hero-content h1,
.hero-content h2 {
    font-size: clamp(2rem, 3.8vw, 3rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em;
    color: #ffffff !important;
    margin-bottom: 12px !important;
}

.breadcrumb-custom {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--vm-radius-pill);
    padding: 6px 20px;
    backdrop-filter: blur(8px);
    font-size: 14px;
    gap: 10px;
}

.breadcrumb-custom a {
    color: #e2e8f0;
    font-weight: 500;
}

.breadcrumb-custom a:hover {
    color: #38bdf8;
}

.breadcrumb-custom .dot {
    background: #38bdf8;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* ==========================================================================
   MODERN PRODUCT CARDS & MATERIAl GRIDS
   ========================================================================== */
.service-card,
.card.service-card {
    border-radius: var(--vm-radius-lg) !important;
    border: 1px solid var(--vm-slate-border) !important;
    background: #ffffff !important;
    overflow: hidden;
    box-shadow: var(--vm-shadow-md) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--vm-shadow-hover) !important;
    border-color: #93c5fd !important;
}

.service-card img.card-img-top {
    height: 200px !important;
    object-fit: cover !important;
    transition: transform 0.45s ease !important;
}

.service-card:hover img.card-img-top {
    transform: scale(1.06);
}

.service-card .bg-primary {
    background: linear-gradient(135deg, var(--vm-primary) 0%, var(--vm-accent) 100%) !important;
    padding: 12px 18px !important;
}

.service-card .card-body {
    padding: 22px !important;
    background: #ffffff;
}

.service-card .card-body p.text-muted {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--vm-text-muted) !important;
}

.service-card a.text-primary {
    display: inline-flex;
    align-items: center;
    font-weight: 700 !important;
    font-size: 14px;
    color: var(--vm-primary) !important;
    letter-spacing: 0.02em;
    transition: gap 0.25s ease, color 0.2s ease;
}

.service-card a.text-primary::after {
    content: " →";
    margin-left: 4px;
    transition: transform 0.25s ease;
}

.service-card:hover a.text-primary::after {
    transform: translateX(4px);
}

/* Landscape Masonry Tools Cards in tools.php */
.card.border-0.shadow-sm.mb-5 {
    border-radius: var(--vm-radius-lg) !important;
    border: 1px solid var(--vm-slate-border) !important;
    box-shadow: var(--vm-shadow-md) !important;
    overflow: hidden;
    transition: all 0.35s ease;
}

.card.border-0.shadow-sm.mb-5:hover {
    transform: translateY(-5px);
    box-shadow: var(--vm-shadow-hover) !important;
    border-color: #93c5fd !important;
}

/* Brand Cards - Full Edge-to-Edge Image (Matching Image 2) */
.brand-card {
    height: 165px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    border: 1px solid var(--vm-slate-border) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.brand-card a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.brand-card img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.35s ease !important;
}

.brand-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12) !important;
    border-color: #93c5fd !important;
}

.brand-card:hover img {
    transform: scale(1.05) !important;
}

/* ==========================================================================
   FORMS: QUOTE & CONTACT
   ========================================================================== */
.form-control,
.custom-select {
    border: 1.5px solid var(--vm-slate-border) !important;
    border-radius: var(--vm-radius-sm) !important;
    background-color: #ffffff !important;
    color: var(--vm-text-heading) !important;
    font-size: 14.5px !important;
    font-weight: 500;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.form-control:focus,
.custom-select:focus {
    border-color: var(--vm-primary) !important;
    box-shadow: 0 0 0 4px rgba(0, 102, 224, 0.12) !important;
    background-color: #ffffff !important;
    outline: none !important;
}

/* Checkbox pill chips */
.material-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.material-options input[type="checkbox"] {
    display: none;
}

.material-options label {
    padding: 8px 18px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: var(--vm-radius-pill) !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.22s ease !important;
    margin-bottom: 0 !important;
    user-select: none;
}

.material-options label:hover {
    border-color: var(--vm-primary) !important;
    color: var(--vm-primary) !important;
    background: var(--vm-primary-light) !important;
}

.material-options input[type="checkbox"]:checked + label {
    background: var(--vm-primary) !important;
    border-color: var(--vm-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 102, 224, 0.3) !important;
}

/* Buttons */
.btn-primary,
button.btn-primary {
    background: linear-gradient(135deg, var(--vm-primary) 0%, var(--vm-accent) 100%) !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: var(--vm-radius-pill) !important;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    box-shadow: 0 4px 14px rgba(0, 102, 224, 0.28) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary:hover,
button.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 224, 0.42) !important;
    color: #ffffff !important;
}

.btn-dark {
    background: var(--vm-dark) !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: var(--vm-radius-pill) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(11, 19, 43, 0.25) !important;
    transition: all 0.3s ease !important;
}

.btn-dark:hover {
    background: #0f1c3f !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 19, 43, 0.35) !important;
}

/* Play video button (Image 2 Clean Style) */
.btn-play {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box !important;
    padding: 0 !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: #3b9cff !important;
    border: none !important;
    box-shadow: 0 0 0 11px rgba(59, 156, 255, 0.12) !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-play::before,
.btn-play::after {
    content: none !important;
    display: none !important;
}

.btn-play:hover {
    background: #2588f5 !important;
    box-shadow: 0 0 0 15px rgba(59, 156, 255, 0.2) !important;
    transform: scale(1.06);
}

.btn-play span {
    display: block !important;
    position: relative;
    z-index: 2;
    width: 0 !important;
    height: 0 !important;
    border-top: 9px solid transparent !important;
    border-bottom: 9px solid transparent !important;
    border-left: 14px solid #1e293b !important;
    margin-left: 4px !important;
}

/* Counter boxes */
.bg-secondary {
    background-color: var(--vm-slate-bg) !important;
    border-radius: var(--vm-radius-lg);
}

/* ==========================================================================
   TESTIMONIALS & BLOG
   ========================================================================== */
.testimonial-carousel .bg-secondary {
    border-radius: var(--vm-radius-lg) !important;
    border: 1px solid var(--vm-slate-border) !important;
    background: #ffffff !important;
    box-shadow: var(--vm-shadow-sm) !important;
    padding: 30px !important;
    transition: all 0.3s ease;
}

.testimonial-carousel .bg-secondary:hover {
    box-shadow: var(--vm-shadow-md) !important;
    border-color: #93c5fd !important;
}

.testimonial-carousel i.fa-quote-right {
    color: rgba(0, 102, 224, 0.12) !important;
    font-size: 42px !important;
    top: 18px !important;
    right: 20px !important;
}

/* Blog */
.blog-card,
.row .col-md-6.mb-5 .bg-secondary {
    border-radius: var(--vm-radius-md) !important;
    border: 1px solid var(--vm-slate-border) !important;
    background: #ffffff !important;
    box-shadow: var(--vm-shadow-sm) !important;
    transition: all 0.3s ease;
}

.row .col-md-6.mb-5:hover .bg-secondary {
    box-shadow: var(--vm-shadow-md) !important;
    border-color: #93c5fd !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.container-fluid.bg-dark {
    background: #070d1e !important;
}

.container-fluid.bg-dark h3.text-primary {
    color: #38bdf8 !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 10px;
}

.container-fluid.bg-dark h3.text-primary::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: var(--vm-accent);
    border-radius: 2px;
}

.container-fluid.bg-dark p {
    color: #94a3b8 !important;
    font-size: 14.5px;
    line-height: 1.7;
}

.container-fluid.bg-dark a.text-white {
    color: #cbd5e1 !important;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.container-fluid.bg-dark a.text-white:hover {
    color: #38bdf8 !important;
    transform: translateX(3px);
}

.btn-social {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    transition: all 0.25s ease !important;
}

.btn-social:hover {
    background: var(--vm-primary) !important;
    border-color: var(--vm-primary) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 102, 224, 0.4);
}

/* Newsletter Input in Footer */
#newsletterForm .input-group {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--vm-radius-pill);
    padding: 4px;
}

#newsletterForm input.form-control {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    font-size: 14px;
}

#newsletterForm input.form-control::placeholder {
    color: #94a3b8;
}

#newsletterForm button.btn-primary {
    border-radius: var(--vm-radius-pill) !important;
    padding: 10px 24px !important;
    font-size: 13.5px;
}

/* ==========================================================================
   MODALS & CONFIRMATION POPUPS (Quote, Contact, Career, Newsletter, Video)
   ========================================================================== */
.modal {
    z-index: 1060 !important;
}

.modal-backdrop {
    z-index: 1055 !important;
    background-color: #0b132b !important;
}

.modal-backdrop.show {
    opacity: 0.65 !important;
}

.modal-dialog {
    padding: 0 12px;
}

.modal-dialog-centered {
    max-width: 440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.modal-content {
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    overflow: hidden;
    box-shadow: 0 25px 55px -12px rgba(0, 0, 0, 0.45) !important;
}

.modal-content.bg-dark {
    background: linear-gradient(160deg, #121c38 0%, #0b132b 100%) !important;
    color: #ffffff !important;
    padding: 6px;
}

.modal-content.bg-dark .modal-header {
    padding: 18px 22px 8px;
    align-items: center;
}

.modal-content.bg-dark .modal-title {
    color: #38bdf8 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.modal-content.bg-dark .modal-body {
    padding: 18px 24px 22px !important;
}

.modal-content.bg-dark .modal-body i.text-primary {
    color: #38bdf8 !important;
}

.modal-content.bg-dark .modal-body h5 {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

.modal-content.bg-dark .modal-body p {
    color: #cbd5e1 !important;
    font-size: 15px !important;
    line-height: 1.6;
}

.modal-content.bg-dark .modal-footer {
    padding: 4px 24px 22px !important;
}

.modal-content.bg-dark .modal-footer .btn-primary {
    border-radius: var(--vm-radius-pill) !important;
    padding: 10px 38px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #ffffff !important;
}

/* Crisp Close (X) Button across ALL Modals */
.modal .close,
button.close {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 26px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    text-shadow: none !important;
    opacity: 0.85 !important;
    transition: background-color 0.2s ease, opacity 0.2s ease, color 0.2s ease !important;
    cursor: pointer;
}

.modal-content.bg-dark .close,
.modal-content.bg-dark .close span {
    color: #cbd5e1 !important;
}

.modal-content.bg-dark .close:hover,
.modal-content.bg-dark .close:hover span {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

#videoModal .modal-content {
    border-radius: 14px !important;
    overflow: visible !important;
    background: #000000 !important;
}

#videoModal .close {
    position: absolute !important;
    right: -6px !important;
    top: -42px !important;
    width: 36px !important;
    height: 36px !important;
    background: rgba(15, 23, 42, 0.92) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    opacity: 1 !important;
}

#videoModal .close:hover {
    background: var(--vm-primary) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   FLOATING WHATSAPP & BACK TO TOP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    right: 28px;
    bottom: 86px;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    line-height: 1 !important;
    border-radius: 50% !important;
    background: #25d366 !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    font-size: 24px !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    animation: whatsappPulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45) !important;
    color: #ffffff !important;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    padding: 0 !important;
    border-radius: 12px;
    background: var(--vm-dark) !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--vm-primary) !important;
    color: #ffffff !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 102, 224, 0.35);
}

.btn-quote-dark {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    transition: all 0.25s ease !important;
    border: none !important;
}

.btn-quote-dark:hover {
    background-color: #1e293b !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25) !important;
}

/* ==========================================================================
   SYNCHRONIZED HERO CAROUSEL SECTION (Image 1 Split Layout)
   ========================================================================== */
.vm-hero-section {
    padding: 56px 0 72px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.vm-hero-kicker {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 16px;
    display: inline-block;
    letter-spacing: -0.01em;
}

.vm-hero-title {
    font-size: clamp(34px, 4.4vw, 54px);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.vm-hero-desc {
    font-size: 16.5px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 560px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.vm-hero-cta-group {
    gap: 12px;
}

.vm-hero-btn-primary {
    background: #0066e0;
    color: #ffffff !important;
    padding: 13px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid #0066e0;
    box-shadow: none !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.vm-hero-btn-primary:hover,
.vm-hero-btn-primary:focus,
.vm-hero-btn-primary:active {
    background: #004cb0;
    border-color: #004cb0;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
    outline: none;
}

.vm-hero-btn-secondary {
    background: #f1f5f9;
    color: #0f172a !important;
    padding: 13px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid #e2e8f0;
    box-shadow: none !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    margin-left: 0;
}

.vm-hero-btn-secondary:hover,
.vm-hero-btn-secondary:focus,
.vm-hero-btn-secondary:active {
    background: #e2e8f0;
    color: #0f172a !important;
    transform: none !important;
    box-shadow: none !important;
    outline: none;
}

.vm-hero-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 480px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.22);
    background: #0f172a;
}

.vm-hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.45s ease, transform 0.7s ease;
}

.vm-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(11, 19, 43, 0) 0%, rgba(11, 19, 43, 0.82) 36%, rgba(11, 19, 43, 0.96) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px 24px 20px 24px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    transition: opacity 0.35s ease;
}

.vm-hero-overlay-sub {
    font-size: 12.5px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 4px;
}

.vm-hero-overlay-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0;
}

.vm-hero-badge {
    font-size: 12px;
    font-weight: 600;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.28);
    padding: 5px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

/* Hero Carousel Controls */
.vm-hero-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.vm-hero-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.vm-hero-dot {
    width: 30px;
    height: 6px;
    border-radius: 4px;
    background-color: #cbd5e1 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
}

.vm-hero-dot.active {
    width: 46px;
    background-color: var(--vm-primary) !important;
}

.vm-hero-arrows {
    gap: 10px;
}

.vm-hero-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-left: 0;
    outline: none !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.vm-hero-nav-btn i {
    color: inherit !important;
    font-size: 16px;
    line-height: 1;
}

.vm-hero-nav-btn:hover {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    transform: translateY(-2px);
}

.vm-hero-nav-btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 224, 0.2) !important;
}

/* Mobile responsive - Desktop remains untouched above 992px */
@media (max-width: 991.98px) {
    .navbar-brand {
        margin-right: 0.5rem !important;
    }

    .brand-title-text {
        font-size: 15.5px;
    }

    .navbar-brand img,
    img.navbar-brand-logo {
        height: 36px !important;
    }

    .vm-hero-section {
        padding: 20px 0 40px 0;
    }

    .vm-hero-image-card {
        height: 290px;
        margin-top: 0;
        border-radius: 16px;
        box-shadow: 0 14px 30px -8px rgba(15, 23, 42, 0.18);
    }

    .vm-hero-overlay {
        padding: 28px 18px 16px 18px;
    }

    .vm-hero-kicker {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .vm-hero-title {
        font-size: clamp(25px, 6.2vw, 34px);
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .vm-hero-desc {
        font-size: 14.5px;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    /* Mobile uses auto-scroll + touch swipe only (hide prev/next arrow icon press buttons) */
    .vm-hero-arrows {
        display: none !important;
    }

    .vm-hero-controls {
        justify-content: center;
        width: 100%;
        margin-top: 20px;
    }

    .vm-hero-dot {
        width: 24px;
        background-color: #cbd5e1 !important;
    }

    .vm-hero-dot.active {
        width: 38px;
        background-color: var(--vm-primary) !important;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 68px;
        width: 42px !important;
        height: 42px !important;
        font-size: 21px !important;
    }

    .back-to-top {
        right: 16px;
        bottom: 18px;
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .navbar-collapse {
        background: #ffffff;
        padding: 12px 14px 16px;
        border-radius: 10px;
        box-shadow: 0 15px 35px rgba(11, 19, 43, 0.12);
        margin-top: 8px;
        max-height: calc(100vh - 84px);
        overflow-y: auto;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 10px 12px !important;
        text-align: left;
    }

    .navbar-light .navbar-nav .nav-link.active span::after {
        bottom: -4px;
    }

    /* Mobile Products Dropdown & Nested Boxes (Image 2 Style) */
    .vm-classic-dropdown > .vm-dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 4px 0 8px 0 !important;
        padding: 6px !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        background: #ffffff !important;
        display: none;
    }

    .vm-classic-dropdown > .vm-dropdown-menu.show {
        display: block !important;
    }

    .dropdown-item {
        white-space: normal !important;
        padding: 9px 14px !important;
    }

    .dropdown-submenu > .vm-submenu-menu {
        position: static !important;
        float: none !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 4px 8px 8px 8px !important;
        padding: 6px !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 6px !important;
        box-shadow: none !important;
        background: #f8fafc !important;
        display: none !important;
    }

    .dropdown-submenu > .vm-submenu-menu.show {
        display: block !important;
        animation: fadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    #heroCarousel .carousel-item {
        height: 60vh !important;
        min-height: 440px;
    }

    .hero {
        height: 34vh !important;
        min-height: 240px;
    }
}

@media (max-width: 575.98px) {
    .vm-hero-image-card {
        height: 230px;
    }

    .vm-hero-overlay {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 28px 14px 12px 14px;
    }

    .vm-hero-overlay-sub {
        font-size: 10.5px;
    }

    .vm-hero-overlay-title {
        font-size: 14px;
        line-height: 1.3;
    }

    .vm-hero-badge {
        font-size: 11px;
        padding: 3px 9px;
    }

    .vm-hero-cta-group {
        gap: 10px;
    }

    .vm-hero-btn-primary,
    .vm-hero-btn-secondary {
        width: 100%;
        padding: 12px 18px;
        font-size: 14.5px;
    }
}

@media (max-width: 400px) {
    .brand-title-text {
        font-size: 13.5px;
    }

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