/* ====================================================================
   LUBERR CENTRALIZED LUBRICATION SYSTEMS
   GLOBAL FLOATING ISLAND HEADER DOCK (FOR SUB-PAGES)
   Standardized styling for sub-pages (About Us, Knowledge Center, etc.)
   ==================================================================== */

/* Global Mobile Tap Highlight & Touch Optimization (Fixes Android WebKit blue box glitch) */
*, *::before, *::after {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

a, button, input, select, textarea, [role="button"], [tabindex], .btn, .header-nav-pill, .header-lang-btn, .header-quote-btn {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    -webkit-touch-callout: none;
}

:focus:not(:focus-visible) {
    outline: none !important;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none !important;
}

:root {
    --luberr-blue-900: #002347;
    --luberr-blue-700: #004080;
    --luberr-blue-500: #007BFF;
    --luberr-orange-900: #cc461b;
    --luberr-orange-500: #FF5722;
    --luberr-orange-300: #ff8a65;
    --bg-body: #ffffff;
    --bg-section-alt: #f8f9fa;
    --bg-card: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #ffffff;
    --border-color: #eeeeee;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --top-bar-height: 45px;
    --header-height: 70px;
    --header-island-gap: 10px;
    --total-header-height: calc(var(--top-bar-height) + var(--header-height) + (var(--header-island-gap) * 2));
}

body.dark-mode {
    --bg-body: #121212;
    --bg-section-alt: #1e1e1e;
    --bg-card: #252525;
    --text-main: #e0e0e0;
    --text-muted: #aaaaaa;
    --border-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.4);
}

/* =========================================
   STICKY WRAPPER & TOP BAR
   ========================================= */
.sticky-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
    transition: all 0.3s ease;
}

.top-bar {
    pointer-events: auto;
    background: var(--luberr-blue-900);
    color: var(--text-light);
    height: var(--top-bar-height);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
}

.top-left {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

/* Top-bar Contact Us Button */
.top-bar .btn-accent,
.btn-accent {
    background: var(--luberr-blue-500);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.top-bar .btn-accent:hover,
.btn-accent:hover {
    background: var(--luberr-blue-700);
    transform: translateY(-1px);
}

/* TOP-BAR TICKER SLIDE BUTTON (OPTION A) - OPTICAL CENTERING & FULL TEXT */
.top-bar-ticker-btn {
    box-sizing: border-box !important;
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 32px !important;
    width: 148px !important;
    min-width: 148px !important;
    max-width: 148px !important;
    overflow: hidden !important;
    user-select: none !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 4px !important;
    background-color: #007BFF;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-family: 'Poppins', sans-serif !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    animation: topTickerBg 8s cubic-bezier(0.65, 0, 0.35, 1) infinite !important;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease !important;
}

.top-bar-ticker-btn:hover {
    filter: brightness(1.1) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    animation-play-state: paused !important;
}

.top-bar-ticker-btn .ticker-viewport {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    height: 32px !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.top-bar-ticker-btn .ticker-track {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
    animation: topTickerScroll 8s cubic-bezier(0.65, 0, 0.35, 1) infinite !important;
    will-change: transform !important;
}

.top-bar-ticker-btn:hover .ticker-track {
    animation-play-state: paused !important;
}

.top-bar-ticker-btn .ticker-item {
    box-sizing: border-box !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 4px !important;
}

.top-bar-ticker-btn .ticker-item.item-contact {
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1px !important;
}

.top-bar-ticker-btn .ticker-item.item-career {
    font-size: 0.81rem !important;
    font-weight: 600 !important;
    letter-spacing: 0px !important;
}

.top-bar-ticker-btn .ticker-item i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    font-size: 0.76rem !important;
    color: #ffffff !important;
    margin: 0 !important;
    transform: none !important;
}

.top-bar-ticker-btn .ticker-item span {
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    color: #ffffff !important;
}

.top-bar-ticker-btn .ticker-item.item-career .ticker-icon {
    color: #ffffff !important;
}

/* Synchronized background color fill morphing with push-up slide */
@keyframes topTickerBg {
    0%, 55% {
        background-color: #007BFF;
        box-shadow: 0 2px 6px rgba(0, 123, 255, 0.35);
    }
    60%, 92% {
        background-color: #FF5722;
        box-shadow: 0 2px 6px rgba(255, 87, 34, 0.35);
    }
    97%, 100% {
        background-color: #007BFF;
        box-shadow: 0 2px 6px rgba(0, 123, 255, 0.35);
    }
}

@keyframes topTickerScroll {
    0%, 55% {
        transform: translateY(0);
    }
    60%, 92% {
        transform: translateY(-50%);
    }
    97%, 100% {
        transform: translateY(0);
    }
}

/* Responsive Rules for Small Devices (iPhone SE & Mobile) */
@media (max-width: 576px) {
    .top-bar-ticker-btn {
        width: 114px !important;
        min-width: 114px !important;
        max-width: 114px !important;
        height: 28px !important;
        padding: 0 !important;
    }
    .top-bar-ticker-btn .ticker-viewport {
        height: 28px !important;
    }
    .top-bar-ticker-btn .ticker-track {
        height: 56px !important;
    }
    .top-bar-ticker-btn .ticker-item {
        height: 28px !important;
        gap: 5px !important;
        padding: 0 2px !important;
    }
    .top-bar-ticker-btn .ticker-item.item-contact {
        font-size: 0.72rem !important;
        font-weight: 600 !important;
    }
    .top-bar-ticker-btn .ticker-item.item-career {
        font-size: 0.67rem !important;
        font-weight: 600 !important;
        letter-spacing: -0.2px !important;
    }
    .top-bar-ticker-btn .ticker-item i {
        font-size: 0.65rem !important;
        margin: 0 !important;
        transform: translateY(1px) !important;
    }
}

body.lang-de-active .top-bar .btn-accent[data-i18n="contact_us"] {
    padding: 8px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Language Switcher Slider */
.lang-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 28px;
    margin-right: 5px;
    flex-shrink: 0;
}

.lang-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--luberr-blue-700);
    transition: .4s;
    border-radius: 34px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    background-image: url('https://flagcdn.com/w80/gb.png');
    background-size: cover;
    background-position: center;
    transition: .4s;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    box-sizing: border-box;
}

.label-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 11px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    pointer-events: none;
}

.text-en {
    right: 8px;
    opacity: 1;
    transition: opacity 0.3s;
}

.text-de {
    left: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

input:checked + .slider {
    background-color: var(--luberr-orange-500);
}

input:checked + .slider:before {
    transform: translateX(32px);
    background-image: url('https://flagcdn.com/w80/de.png');
}

input:checked + .slider .text-en {
    opacity: 0;
}

input:checked + .slider .text-de {
    opacity: 1;
}

/* =========================================
   FLOATING ISLAND HEADER DOCK
   ========================================= */
.main-header {
    pointer-events: auto;
    width: calc(100% - 36px);
    max-width: 1420px;
    margin: var(--header-island-gap) auto;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    border: 1px solid rgba(0, 35, 71, 0.08);
    box-shadow: 0 10px 30px rgba(0, 25, 60, 0.12), 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
    padding: 0 24px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

body.dark-mode .main-header {
    background: rgba(13, 23, 42, 0.94);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.main-header.scrolled {
    box-shadow: 0 14px 38px rgba(0, 25, 60, 0.16), 0 2px 6px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.98);
}

body.dark-mode .main-header.scrolled {
    background: rgba(13, 23, 42, 0.98);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
    position: relative;
}

/* =========================================
   BRAND GROUP (LOGOS & SEPARATOR)
   ========================================= */
.brand-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.brand-group .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-group .logo img {
    height: 42px;
    width: auto;
    transition: transform 0.3s ease;
    display: block;
}

.brand-group .logo:hover img {
    transform: scale(1.05);
}

.brand-separator {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
}

.separator-line {
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, var(--luberr-orange-500), var(--luberr-blue-500));
    border-radius: 2px;
    flex-shrink: 0;
}

.separator-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.52rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

/* =========================================
   BACK TO HOME BUTTON (PREMIUM ISLAND STYLE)
   ========================================= */
.home-btn {
    background: var(--bg-section-alt);
    color: var(--text-main);
    padding: 9px 20px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
    flex-shrink: 0;
}

.home-btn i {
    font-size: 0.95rem;
    color: var(--luberr-blue-500);
    transition: transform 0.25s ease, color 0.25s ease;
}

.home-btn:hover {
    background: var(--luberr-orange-500);
    color: #ffffff !important;
    border-color: var(--luberr-orange-500);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.3);
}

.home-btn:hover i {
    color: #ffffff !important;
    transform: scale(1.1);
}

body.dark-mode .home-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .home-btn:hover {
    background: var(--luberr-orange-500);
    border-color: var(--luberr-orange-500);
    color: #ffffff !important;
}

/* =========================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================= */
@media (max-width: 991px) {
    .main-header {
        width: calc(100% - 20px);
        margin: 8px auto;
        height: 62px;
        border-radius: 18px;
        padding: 0 16px;
    }

    .brand-group {
        gap: 8px;
    }

    .brand-group .logo img {
        height: 35px;
    }

    .brand-separator {
        height: 26px;
        gap: 4px;
    }

    .separator-line {
        height: 20px;
    }

    .separator-text {
        font-size: 0.46rem;
    }

    .home-btn {
        padding: 7px 15px;
        font-size: 0.80rem;
        gap: 6px;
    }
}

@media (max-width: 768px) {
    .main-header {
        width: calc(100% - 16px);
        margin: 6px auto;
        height: 58px;
        border-radius: 16px;
        padding: 0 14px;
    }

    .brand-group {
        gap: 8px;
    }

    .brand-group .logo img {
        height: 32px;
    }

    .home-btn {
        padding: 6px 12px;
        font-size: 0.76rem;
        gap: 5px;
    }
}

@media (max-width: 576px) {
    .top-bar-content {
        width: 95%;
        gap: 8px;
    }

    .top-left {
        font-size: 0.75rem;
    }

    .top-bar .btn-accent {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .main-header {
        width: calc(100% - 12px);
        margin: 5px auto;
        height: 56px;
        padding: 0 12px;
    }

    .brand-group {
        gap: 6px;
    }

    .brand-group .logo img {
        height: 28px;
    }

    .brand-separator {
        display: flex;
        height: 22px;
        gap: 4px;
    }

    .separator-line {
        width: 2px;
        height: 18px;
    }

    .separator-text {
        font-size: 0.42rem;
        letter-spacing: 0.8px;
    }

    .home-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        padding: 0;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .home-btn span {
        display: none;
    }

    .home-btn i {
        font-size: 0.95rem;
        margin: 0;
        line-height: 1;
    }
}

/* ==========================================================================
   GLOBAL MAKE IN INDIA BADGE HOVER & SHINE SWEEP ANIMATION
   ========================================================================== */
.make-in-india-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.make-in-india-badge:hover {
    border-color: var(--luberr-orange-500);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 87, 34, 0.4);
}

.make-in-india-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.1) 70%, transparent 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 5;
}

.make-in-india-badge:hover::before {
    animation: shine-sweep 1.2s ease-in-out;
}

@keyframes shine-sweep {
    0% {
        left: -150%;
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

/* ==========================================================================
   CAREER POPUP MODAL (IN-PAGE UX ENHANCEMENT FOR SUB-PAGES)
   ========================================================================== */
.career-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 35, 71, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.career-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.career-modal-card {
    background: linear-gradient(135deg, rgba(0, 35, 71, 0.98), rgba(0, 50, 90, 0.98));
    width: 100%;
    max-width: 480px;
    padding: 38px 30px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    transform: scale(0.85) translateY(15px);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.career-modal-overlay.active .career-modal-card {
    transform: scale(1) translateY(0);
}

.close-career-modal-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.25s, transform 0.25s;
}

.close-career-modal-btn:hover {
    background: var(--luberr-orange-500);
    transform: rotate(90deg);
}

/* Modal Inner Career Box Styles */
.career-modal-card .career-box {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.career-modal-card .career-box h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.career-modal-card .career-box h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--luberr-orange-500);
    border-radius: 2px;
}

.career-modal-card .career-modal-desc {
    color: #ccc;
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 22px;
}

.career-modal-card .btn-career-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    color: #fff !important;
    background: var(--luberr-blue-500);
    padding: 13px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.35);
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
}

.career-modal-card .btn-career-submit:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.45);
}

.career-modal-card .career-alt-text {
    font-size: 0.84rem;
    color: #aaa;
    margin-top: 14px;
    text-align: center;
}

.career-modal-card .career-alt-text a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.2s;
}

.career-modal-card .career-alt-text a:hover {
    color: var(--luberr-orange-500);
}

.career-modal-card .career-note-text {
    font-size: 0.78rem;
    color: #888;
    margin-top: 6px;
    font-style: italic;
    text-align: center;
}

.career-modal-card .career-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 35, 71, 0.96);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    border-radius: 12px;
    z-index: 10;
}

.career-modal-card .career-box.active .career-overlay {
    opacity: 1;
    visibility: visible;
}

.career-modal-card .career-overlay-icon {
    font-size: 2.2rem;
    color: var(--luberr-orange-500);
    animation: bounce 1s infinite alternate;
}

.career-modal-card .career-overlay-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.4;
}

/* ==========================================================================
   DUAL-TAB CONTACT & CAREER MODAL SYSTEM (OPTION 1)
   ========================================================================== */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100010;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.contact-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-overlay .form-container {
    width: 100%;
    max-width: 500px;
    height: 85vh;
    max-height: 700px;
    margin: auto;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    position: relative;
    overscroll-behavior: contain;
    flex-shrink: 0;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-overlay.active .form-container {
    transform: scale(1);
}

/* Dual Modal Tabs Header */
.contact-modal-tabs {
    display: flex;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 6px;
    gap: 6px;
    flex-shrink: 0;
    align-items: center;
}

.contact-modal-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.contact-modal-tab:hover:not(.active) {
    background: rgba(0, 35, 71, 0.06);
    color: #1e293b;
}

/* Modal Tab Bar Integrated Close Button (Zero Mobile Overlap) */
.contact-modal-tabs .close-contact-btn {
    position: static !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 8px !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #64748b !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 0 2px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.contact-modal-tabs .close-contact-btn:hover {
    background: var(--luberr-orange-500, #ff5722) !important;
    border-color: var(--luberr-orange-500, #ff5722) !important;
    color: #ffffff !important;
}

body.dark-mode .contact-modal-tabs .close-contact-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
}

body.dark-mode .contact-modal-tabs .close-contact-btn:hover {
    background: var(--luberr-orange-500, #ff5722) !important;
    border-color: var(--luberr-orange-500, #ff5722) !important;
    color: #ffffff !important;
}

/* Modal Tab - Business Inquiry (Active State: Luberr Blue) */
.contact-modal-tab#tabInquiryBtn.active {
    background: var(--luberr-blue-500, #007BFF) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.35) !important;
    font-weight: 700;
}

.contact-modal-tab#tabInquiryBtn.active i {
    color: #ffffff !important;
}

/* Modal Tab - Careers & HR (Active State: Luberr Orange) */
.contact-modal-tab#tabCareerBtn.active {
    background: var(--luberr-orange-500, #FF5722) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(255, 87, 34, 0.35) !important;
    font-weight: 700;
}

.contact-modal-tab#tabCareerBtn.active i {
    color: #ffffff !important;
}

/* Tab Panes */
.contact-tab-pane {
    display: none !important;
    width: 100%;
    flex: 1;
    min-height: 0;
    height: 100%;
    position: relative;
}

.contact-tab-pane.active {
    display: flex !important;
    flex-direction: column;
}

.contact-tab-pane iframe {
    width: 100%;
    height: 100%;
    border: none;
    flex: 1;
    display: block;
}

/* Career Tab Pane Content */
.contact-career-pane {
    background: linear-gradient(145deg, #001f3f 0%, #001122 100%);
    color: #ffffff;
    padding: 30px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    align-items: center;
    justify-content: center;
}

.contact-career-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.contact-career-card .career-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-career-card .career-bar {
    width: 4px;
    height: 22px;
    background: #FF5722;
    border-radius: 2px;
    display: inline-block;
}

.contact-career-card .career-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-career-card .career-tab-desc {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 20px;
}

.contact-career-card .btn-career-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--luberr-orange-500, #FF5722);
    color: #ffffff !important;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.35);
}

.contact-career-card .btn-career-submit:hover {
    background: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.45);
}

/* Dark Mode Theme Support for Modal Tabs & Container */
body.dark-mode .contact-overlay .form-container {
    background: #0d1b2a !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8) !important;
}

body.dark-mode .contact-modal-tabs {
    background: #08111d !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .contact-modal-tab {
    color: #94a3b8 !important;
}

body.dark-mode .contact-modal-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #f8fafc !important;
}

body.dark-mode .contact-modal-tab#tabInquiryBtn.active {
    background: var(--luberr-blue-500, #007BFF) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 12px rgba(0, 123, 255, 0.5) !important;
}

body.dark-mode .contact-modal-tab#tabInquiryBtn.active i {
    color: #ffffff !important;
}

body.dark-mode .contact-modal-tab#tabCareerBtn.active {
    background: var(--luberr-orange-500, #FF5722) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 12px rgba(255, 87, 34, 0.5) !important;
}

body.dark-mode .contact-modal-tab#tabCareerBtn.active i {
    color: #ffffff !important;
}

.contact-career-card .career-default-mail {
    margin-top: 12px;
}

.contact-career-card .career-default-mail a {
    color: #94a3b8;
    font-size: 0.82rem;
    text-decoration: underline;
    transition: color 0.2s;
}

.contact-career-card .career-default-mail a:hover {
    color: #ffffff;
}

.contact-career-card .career-note {
    margin-top: 8px;
    font-size: 0.78rem;
    color: #64748b;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.contact-career-card .career-contact-emails {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.76rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.contact-career-card .career-contact-emails a {
    color: #cbd5e1;
    text-decoration: none;
}

.contact-career-card .career-contact-emails a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.contact-career-card .career-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 31, 63, 0.95);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 10;
}

.contact-career-card.active .career-overlay {
    display: flex;
    animation: careerOverlayFade 0.3s ease;
}

/* Close Contact Button Mobile Fix */
.close-contact-btn {
    position: fixed;
    top: 20px;
    right: 25px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100015;
    transition: 0.25s;
}

.close-contact-btn:hover {
    background: var(--luberr-orange-500, #FF5722);
    border-color: var(--luberr-orange-500, #FF5722);
    transform: rotate(90deg);
}

/* Mobile & Tablet Responsiveness (Zero Clutter) */
@media (max-width: 600px) {
    .contact-overlay {
        padding: 10px;
        align-items: center;
    }
    .contact-overlay .form-container {
        height: 88vh;
        max-height: 88vh;
        border-radius: 10px;
    }
    .contact-modal-tabs {
        padding: 4px;
        gap: 4px;
    }
    .contact-modal-tab {
        padding: 8px 6px;
        font-size: 0.76rem;
        gap: 5px;
    }
    .contact-modal-tab i {
        font-size: 0.78rem;
    }
    .contact-career-pane {
        padding: 16px 12px;
    }
    .contact-career-card {
        padding: 18px 14px;
    }
    .contact-career-card .career-tab-desc {
        font-size: 0.78rem;
        margin-bottom: 16px;
    }
    .contact-career-card .btn-career-submit {
        padding: 10px 12px;
        font-size: 0.84rem;
    }
    .contact-career-card .career-contact-emails {
        font-size: 0.72rem;
        gap: 6px;
    }
    .contact-modal-tabs .close-contact-btn {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        font-size: 0.85rem !important;
        border-radius: 6px !important;
        margin-left: 2px !important;
    }
    .contact-overlay > .close-contact-btn {
        display: none !important;
    }
}

/* Legal corporate casing preservation for German entities (GmbH) */
.address-label {
    text-transform: none !important;
}
