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

:root {
    --font-family-base: 'Roboto', Arial, sans-serif;
    --font-size-body: 16px;
    --font-size-h1: 44px;
    --font-size-h2: 34px;
    --font-size-h3: 26px;
    --line-height-body: 1.6;
    --color-primary: #0078c1;
    --color-text: #333333;
    --color-bg: #ffffff;
    --color-card-bg: #ffffff;
    --color-border: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-body);
    color: var(--color-text);
    line-height: var(--line-height-body);
    overflow-x: hidden;
    background: var(--color-bg);
    padding-top: 75px;
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

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

p {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
}

/* Page wrapper with white side margins */
.page-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    background: var(--color-card-bg);
    box-shadow: 0 0 30px rgba(0,0,0,0.08);
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   TOP BAR (thin accent line like Bosch Rexroth)
   ======================================== */
.top-bar {
    background: var(--color-primary);
    color: #fff;
    font-size: 0.72rem;
    padding: 3px 0;
    letter-spacing: 0.3px;
    position: relative;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-bar-content span {
    opacity: 0.9;
    font-weight: 400;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background: #fff;
    border-bottom: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99998;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    width: 100%;
    pointer-events: auto !important;
    overflow: visible !important;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary) 30%, var(--color-border) 30%, var(--color-border) 100%);
    transform: skewX(-3deg);
    transform-origin: bottom left;
    pointer-events: none !important;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0;
    gap: 16px;
    pointer-events: auto !important;
}

/* Logo - styled like rexroth logo */
.logo {
    flex-shrink: 0;
    pointer-events: auto !important;
}

.logo a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    pointer-events: auto !important;
}

.logo-image {
    height: 50px;
    width: 80px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.logo-image.has-logo {
    visibility: visible;
    opacity: 1;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.65rem;
    font-weight: 900;
    color: #002b49;
    letter-spacing: -0.3px;
    line-height: 1;
    font-style: italic;
}

.logo-sub {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    opacity: 0 !important;
}

.logo-slogan {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    line-height: 1.1;
    font-weight: 500;
    color: #4e6a80;
    letter-spacing: 0.1px;
    max-width: 460px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Header Icons - match Bosch Rexroth layout */
.header-icons {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Mobile Menu Quick Access */
.mobile-menu-icons {
    display: none !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    z-index: 99999 !important;
    position: relative !important;
    pointer-events: auto !important;
    width: auto !important;
}

.mobile-menu-icon {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #002b49 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.mobile-menu-icon:hover {
    background: rgba(0, 120, 193, 0.1);
    color: #0078c1;
}

.header-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #002b49;
    font-size: 0.65rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header-icon-item i {
    font-size: 1.15rem;
    color: #005a94;
}

.header-icon-item:hover {
    color: #002b49;
}

.header-icon-item:hover i {
    color: #005a94;
}

.header-icon-item span {
    display: inline;
}

.language-switch {
    position: relative;
    padding: 0;
}

.language-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #002b49;
    font-size: 0.65rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.language-trigger i {
    font-size: 1.15rem;
    color: #005a94;
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 150px;
    background: #ffffff;
    border: 1px solid rgba(0, 43, 73, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 6px;
    display: none;
    z-index: 30;
}

.language-switch.open .language-menu {
    display: block;
}

.language-option {
    display: block;
    color: #002b49;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 6px;
}

.language-option:hover,
.language-option.active {
    background: rgba(0, 120, 193, 0.12);
    color: #005a94;
}

/* Header Search - cyan/teal like Bosch Rexroth */
.header-search {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #00a5cc, #0092b8);
    border-radius: 3px;
    overflow: hidden;
    min-width: 220px;
    max-width: 300px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-search input {
    border: none;
    outline: none;
    padding: 11px 16px;
    font-size: 0.85rem;
    background: transparent;
    color: #fff;
    width: 100%;
    font-family: 'Roboto', sans-serif;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.search-btn {
    border: none;
    background: transparent;
    color: #fff;
    padding: 11px 16px;
    cursor: pointer;
    font-size: 1rem;
}

.search-btn:hover {
    background: rgba(255,255,255,0.15);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 9px 8px;
    pointer-events: auto !important;
    z-index: 99999 !important;
    border: 1px solid #d7e6f3;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
    box-shadow: 0 4px 14px rgba(0, 120, 193, 0.14);
}

.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    border-radius: 999px;
    background: #0b4b78;
    transition: 0.25s;
    display: block;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   MOBILE MENU OVERLAY
   ======================================== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Header */
.menu-header {
    display: none !important;
    align-items: center;
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.main-nav.show-submenu .menu-header {
    display: none !important;
}

.menu-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #002b49;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0;
    margin: 0;
}

.menu-back-btn i {
    font-size: 1.1rem;
}

.menu-back-btn:hover {
    color: #0078c1;
}

.menu-title {
    margin-left: auto;
    color: #002b49;
    font-weight: 600;
    font-size: 0.95rem;
}


/* ========================================
   MAIN NAVIGATION
   ======================================== */
.main-nav {
    background: #fff;
    border-top: 1px solid #e8e8e8;
    position: relative;
    overflow: visible;
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.main-nav::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #002b49;
    transform: skewX(-3deg);
    transform-origin: bottom left;
}

.main-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35%;
    height: 3px;
    background: #0078c1;
    transform: skewX(-3deg);
    transform-origin: bottom left;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.mobile-nav-contact {
    display: none;
}

.main-nav .nav-item {
    position: relative;
}

.main-nav .nav-link {
    display: block;
    padding: 13px 16px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.6px;
    transition: all 0.2s;
    text-transform: uppercase;
    white-space: nowrap;
    width: auto;
}

.main-nav .nav-link:hover {
    color: #0078c1;
    background: #f8f8f8;
}

.main-nav .nav-link.active {
    color: #0078c1;
    background: #f0f7fc;
    font-weight: 700;
}

.main-nav .nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: #0078c1;
    transition: all 0.3s;
    transform: skewX(-5deg);
    z-index: 2;
}

.main-nav .nav-item:hover::after {
    width: 100%;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 2px solid #0078c1;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -5px);
    transition: all 0.3s ease;
    z-index: 100;
    width: min(900px, calc(100vw - 40px));
    min-width: min(600px, calc(100vw - 40px));
}

.has-mega:hover .mega-menu,
.has-mega.open-mobile-mega .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.mega-menu-content {
    padding: 0;
}

.mega-col h4 {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-browser {
    background: #fafbfc;
}

.mega-browser-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #e8edf2;
}

.mega-breadcrumb {
    font-size: 0.75rem;
    color: #667085;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.mega-close {
    border: none;
    background: transparent;
    color: #667085;
    font-size: 0.95rem;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.mega-close:hover {
    background: #f0f4f8;
    color: #1f2937;
}

.mega-browser-columns {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.3fr;
    gap: 12px;
    padding: 12px 16px;
}

.mega-col {
    min-width: 0;
}

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

.mega-item-btn,
.mega-link-btn {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 7px 10px;
    font-size: 0.85rem;
    color: #374151;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
    text-decoration: none;
}

.mega-link-btn {
    display: block;
    text-align: center;
    color: #0078c1;
    font-weight: 600;
    background: #f3f7fc;
    border: 1px solid #dbe8f4;
    border-radius: 5px;
    font-size: 0.8rem;
    padding: 6px 10px;
}

.mega-item-btn i {
    font-size: 0.65rem;
    color: #9ca3af;
}

.mega-item-btn:hover,
.mega-item-btn.active {
    background: #f0f4f8;
    color: #0078c1;
}

.mega-item-btn.active {
    font-weight: 600;
}

.mega-item-btn.active i {
    color: #0078c1;
}

.mega-info-card {
    background: #f9fbfc;
    border: 1px solid #e5eaef;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

.mega-info-card img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
    display: none;
}

.mega-info-card > i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eff6fc;
    color: #0078c1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.mega-info-card h5 {
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.mega-info-card p {
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-clamp: 4;
    overflow: hidden;
}

.mega-detail-link {
    margin-top: auto;
    display: inline-block;
    padding: 5px 10px;
    background: #0078c1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.mega-detail-link:hover {
    background: #005a96;
    transform: translateY(-1px);
}

.mega-empty {
    padding: 24px;
    color: #567086;
    text-align: center;
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #002b49;
    margin: 0;
    padding: 0;
    --hero-arrow-top: 230px;
}

/* Skewed bottom edge - gap on bottom-right */
.hero-slider::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: #fff;
    transform: skewY(-1.5deg);
    transform-origin: bottom left;
    z-index: 5;
}

/* Skewed top edge - disabled */
.hero-slider::before {
    display: none;
}

.slider-wrapper {
    position: relative;
    height: 460px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: all;
}

.slide-image {
    width: 60%;
    position: relative;
    overflow: hidden;
}

/* Angled divider between image and content */
.slide-image::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -40px;
    width: 80px;
    height: calc(100% + 40px);
    background: #002b49;
    transform: skewX(-4deg);
    z-index: 3;
}

.slide-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #003d5c 0%, #00587a 30%, #004d6e 60%, #002b49 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 120, 193, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 200, 255, 0.1) 0%, transparent 40%);
}

.slide-image-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.slide-image-placeholder .overlay-icon {
    position: absolute;
    font-size: 5rem;
    color: rgba(0, 200, 255, 0.2);
    top: 20%;
    right: 15%;
}

.slide-bg-2 {
    background: linear-gradient(135deg, #00334d 0%, #005f8a 30%, #003d5c 60%, #001f33 100%) !important;
}

.slide-bg-3 {
    background: linear-gradient(135deg, #004d40 0%, #00695c 30%, #003d33 60%, #001a14 100%) !important;
}

.slide-bg-4 {
    background: linear-gradient(135deg, #1a237e 0%, #283593 30%, #1a237e 60%, #0d1440 100%) !important;
}

.slide-content {
    width: 40%;
    background: #002b49;
    padding: 55px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.slide-content h2 {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.slide-content p {
    font-size: 0.88rem;
    line-height: 1.7;
    opacity: 0.82;
    margin-bottom: 0;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-clamp: 4;
    overflow: hidden;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    background: #e30613;
    color: #fff;
    width: 190px;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
    align-self: flex-start;
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.3);
}

.btn-cta:hover {
    background: #c80511;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(200, 5, 17, 0.35);
}

.btn-cta i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.btn-cta:hover i {
    transform: translateX(2px);
}

.btn-cta-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: var(--hero-arrow-top);
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 120, 193, 0.75);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(0, 120, 193, 1);
}

.slider-arrow-left {
    left: 0;
}

.slider-arrow-right {
    right: 0;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 18px 0;
    background: #fff;
    position: relative;
    z-index: 6;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c8c8c8;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot:hover {
    background: #999;
}

.dot.active {
    background: #0078c1;
    border-color: #0078c1;
}

/* ========================================
   PRODUCT FINDER
   ======================================== */
.product-finder {
    padding: 35px 0 40px;
}

.finder-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #002b49;
    text-align: center;
    margin-bottom: 22px;
}

.finder-box {
    background: #002b49;
    border-radius: 0;
    padding: 28px 36px;
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.finder-left,
.finder-right {
    flex: 1;
}

.finder-right {
    position: relative;
}

.finder-box label {
    display: block;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.finder-selects {
    display: flex;
    gap: 12px;
}

.finder-selects select {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 0.8rem;
    font-family: 'Roboto', sans-serif;
    color: #333;
    background: #fff;
    cursor: pointer;
    text-transform: uppercase;
    appearance: auto;
}

.finder-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    align-self: stretch;
    min-height: 70px;
}

.finder-search {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 0 14px;
}

.finder-search i {
    color: #999;
    margin-right: 10px;
}

.finder-search input {
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 0.8rem;
    font-family: 'Roboto', sans-serif;
    color: #333;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.finder-search input::placeholder {
    color: #aaa;
}

.finder-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cfd8dc;
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 280px;
    overflow-y: auto;
    z-index: 25;
    display: none;
    scrollbar-width: thin;
    scrollbar-color: #0078c1 #e6eff5;
}

.finder-suggestions::-webkit-scrollbar {
    width: 9px;
}

.finder-suggestions::-webkit-scrollbar-track {
    background: #e6eff5;
    border-left: 1px solid #d6e3ee;
}

.finder-suggestions::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0b8ad8 0%, #0078c1 100%);
    border-radius: 999px;
    border: 2px solid #e6eff5;
}

.finder-suggestions::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #006eaf 0%, #005f96 100%);
}

.finder-suggestions.visible {
    display: block;
}

.finder-suggestion-item {
    width: 100%;
    border: none;
    border-bottom: 1px solid #eef3f6;
    background: #fff;
    color: #24343e;
    text-align: left;
    padding: 10px 12px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

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

.finder-suggestion-item:hover,
.finder-suggestion-item.active {
    background: #eaf4fb;
}

.finder-suggestion-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: #1f2f3a;
}

.finder-suggestion-type {
    font-size: 0.7rem;
    font-weight: 700;
    color: #0f5f96;
    background: #dff0fb;
    border-radius: 999px;
    padding: 2px 8px;
    white-space: nowrap;
}

/* ========================================
   PRODUCT GROUPS
   ======================================== */
.product-groups {
    padding: 45px 0 55px;
}

.section-title-left {
    font-size: 1.65rem;
    font-weight: 700;
    color: #002b49;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 20px;
}

.product-group-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px;
    transition: all 0.3s;
    border-radius: 0;
}

.product-group-card:hover {
    transform: translateY(-3px);
}

.product-group-card:hover .product-group-name {
    color: #0078c1;
}

.product-group-image {
    width: 100%;
    max-width: 200px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: transparent;
    border-radius: 0;
    transition: all 0.3s;
}

.product-group-card:hover .product-group-image {
    background: transparent;
}

.product-group-image i {
    font-size: 3.8rem;
    color: #4a6a80;
    transition: color 0.3s;
}

.product-group-card:hover .product-group-image i {
    color: #0078c1;
}

.product-group-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #002b49;
    line-height: 1.3;
    transition: color 0.3s;
}

/* Product Group Gallery */
.product-group-gallery {
    width: 100%;
    max-width: 200px;
    height: 140px;
    display: grid;
    gap: 3px;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.product-group-gallery.four {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.product-group-gallery.two {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.product-group-gallery.slider {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 0;
}

.product-group-gallery.single {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.product-group-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

/* Product Gallery Slider Styles */
.product-gallery-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-image {
    position: absolute !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gallery-image.active {
    opacity: 1;
}

.product-gallery-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.product-gallery-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    border: none;
    padding: 0;
}

.product-gallery-dots .dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.product-gallery-dots .dot.active {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* ========================================
   SECTORS SECTION
   ======================================== */
.sectors-section {
    padding: 24px 0 60px;
    background: #f5f7f9;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.sector-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px 24px;
    border-radius: 4px;
    border-left: 4px solid #0078c1;
    transition: all 0.3s;
    gap: 16px;
}

.sector-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

.sector-icon {
    width: 50px;
    height: 50px;
    background: #e8f4fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sector-icon i {
    font-size: 1.2rem;
    color: #0078c1;
}

.sector-info {
    flex: 1;
}

.sector-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #002b49;
    margin-bottom: 4px;
}

.sector-info p {
    font-size: 0.8rem;
    color: #666;
}

.sector-arrow {
    color: #ccc;
    transition: all 0.3s;
}

.sector-card:hover .sector-arrow {
    color: #0078c1;
    transform: translateX(3px);
}

.reference-card {
    align-items: flex-start;
    min-height: 150px;
    padding: 20px 22px;
}

.reference-card .sector-info h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 800;
}

.reference-card .sector-info p {
    font-size: 0.86rem;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
}

/* ========================================
   FACTORY FEATURES SECTION
   ======================================== */
.factory-features-section {
    padding: 10px 0 60px;
    background: #f5f7f9;
}

.factory-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.factory-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    padding: 18px;
    border: 1px solid #e5edf3;
    border-radius: 10px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.factory-feature-card:hover {
    box-shadow: 0 10px 24px rgba(0, 43, 73, 0.1);
    transform: translateY(-2px);
}

.factory-feature-media {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #e8f4fd;
    color: #0078c1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.factory-feature-media i {
    font-size: 1.35rem;
}

.factory-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.factory-feature-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #002b49;
    margin-bottom: 6px;
}

.factory-feature-content p {
    font-size: 0.84rem;
    line-height: 1.55;
    color: #5f6d78;
}

/* ========================================
   NEWS SECTION
   ======================================== */
.news-section {
    padding: 50px 0 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.news-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.news-image {
    height: 180px;
    background: linear-gradient(135deg, #003d5c, #0078c1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-img-2 {
    background: linear-gradient(135deg, #00334d, #005f8a);
}

.news-img-3 {
    background: linear-gradient(135deg, #1a237e, #3949ab);
}

.news-image i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.news-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 2px;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #002b49;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-content p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #0078c1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}

.news-link:hover {
    gap: 10px;
    color: #005a91;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #002b49;
    color: #fff;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: #002b49;
    transform: skewY(-1deg);
    transform-origin: right;
    z-index: 1;
}

.footer-top {
    padding: 50px 0 30px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: #fff;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-contact p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: #0078c1;
    width: 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #0078c1;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-content p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #002b49;
    color: #fff;
    border: 2px solid #0078c1;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #0078c1;
    transform: translateY(-3px);
}

/* ========================================
   WHATSAPP FLOAT BUBBLE
   ======================================== */
.whatsapp-float-bubble {
    position: fixed;
    right: 20px;
    bottom: 88px;
    z-index: 1002;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #23d366 0%, #1ebe57 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(24, 153, 81, 0.45);
    animation: whatsapp-bubble-float 3.2s ease-in-out infinite;
}

.whatsapp-float-text {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.whatsapp-float-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.35rem;
}

.whatsapp-float-bubble:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.02);
}

@keyframes whatsapp-bubble-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .header-icons {
        gap: 16px;
    }

    .header-search {
        min-width: 160px;
        color: #00365d!important;
    }

    .main-nav .nav-link {
        padding: 12px 12px;
        font-size: 0.75rem;
    }

    .slider-wrapper {
        height: 400px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content {
        padding: 40px 30px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-group-image {
        max-width: 170px;
        height: 120px;
    }

    .product-group-gallery {
        max-width: 170px;
        height: 120px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-slider {
        --hero-arrow-top: 110px;
    }

    /* Header */
    .header-icons {
        display: flex !important;
        flex-direction: row;
        gap: 8px !important;
        margin-left: auto !important;
        margin-right: 8px !important;
        align-items: center;
        font-size: 0.75rem;
        padding: 0 !important;
        flex-wrap: nowrap;
        order: 2;
    }

    .header-icon-item {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 6px 8px;
        background: transparent;
        border-radius: 0;
        font-size: 0.8rem;
        white-space: nowrap;
        z-index: 100 !important;
        pointer-events: auto !important;
        color: #002b49;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .header-icon-item:hover {
        background: transparent;
        color: #005a94;
    }

    .header-icon-item i {
        font-size: 1.3rem;
        color: #005a94;
    }

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

    .language-trigger {
        flex-direction: row;
        gap: 0;
    }

    .language-trigger span {
        display: none !important;
    }

    .language-menu {
        right: -6px;
        min-width: 130px;
    }

    .header-content {
        gap: 8px;
        padding: 8px 0;
        justify-content: space-between;
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 120px);
    }

    .logo a {
        gap: 8px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-sub {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0 !important;
    }

    .mobile-menu-icons {
        display: none !important;
        gap: 8px !important;
        margin: 0 auto !important;
        z-index: 99999 !important;
        pointer-events: auto !important;
        position: relative !important;
    }

    .mobile-menu-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
        pointer-events: auto !important;
        z-index: 99999 !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .header-search {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        margin-left: 0;
        margin-right: 0;
        order: 3;
    }

    .logo-image {
        height: 40px;
        max-width: 50px;
    }

    .logo-text-wrapper {
        display: flex;
        flex-direction: column;
    }

    .logo-text {
        font-size: 1.05rem;
        line-height: 1;
    }

    .logo-slogan {
        max-width: 180px;
    }

    .logo-sub {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0 !important;
        line-height: 0 !important;
    }

    /* Navigation */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: none;
        height: 100vh;
        background: linear-gradient(135deg, #e8f4ff 0%, #f0f8ff 100%);
        z-index: 1000;
        overflow-y: auto;
        overflow-x: hidden;
        padding-top: 70px;
        transform: translateX(-100%);
        transition: transform 0.4s ease;
    }

    .main-nav.active {
        transform: translateX(0);
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.15);
    }

    .main-nav .container {
        display: flex !important;
        flex-direction: column;
        padding: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        max-width: none !important;
        min-height: auto;
        align-items: stretch;
        box-sizing: border-box;
    }

    .main-nav .nav-list {
        display: block !important;
        flex-direction: column;
        flex: 0 0 auto;
        margin: 0 12px !important;
        padding: 10px 0 0 !important;
        list-style: none;
    }

    .main-nav.show-submenu .nav-list {
        display: block;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .main-nav.show-submenu .nav-item {
        display: block !important;
    }

    .main-nav.show-submenu .nav-item.open-mobile-mega {
        display: block !important;
        width: 100%;
        max-width: 100%;
        margin: 0 !important;
        box-sizing: border-box;
        overflow: hidden;
    }

    .main-nav.show-submenu .nav-item.open-mobile-mega > .nav-link {
        display: flex !important;
    }

    .main-nav.show-submenu .mobile-nav-contact {
        display: none;
    }

    .main-nav .nav-item {
        display: block !important;
        width: 100%;
        margin: 0 0 8px 0 !important;
        padding: 0 !important;
        border-bottom: none;
    }

    .main-nav .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100%;
        padding: 15px 18px;
        color: #002b49;
        font-weight: 600;
        text-align: left;
        text-decoration: none;
        white-space: normal;
        line-height: 1.5;
        transition: all 0.2s ease;
        position: relative;
        font-size: 0.94rem;
        background: #fff;
        border: 1px solid #d4e8f8;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 43, 73, 0.05);
    }

    .main-nav .nav-link::after {
        content: '›';
        font-size: 1.8rem;
        color: #999;
        margin-left: auto;
    }

    .main-nav .nav-link:hover {
        background: #f0f8ff;
        color: #0078c1;
    }

    .main-nav .nav-link.active {
        background: #d4ebff;
        color: #0078c1;
        border-left: 3px solid #0078c1;
        padding-left: 17px;
    }

    .mega-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        overflow: hidden;
        box-sizing: border-box;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
    }

    .main-nav.show-submenu .mega-menu.active {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        box-sizing: border-box;
        max-height: none;
        overflow: visible;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .has-mega .mega-menu {
        display: none;
    }

    .has-mega:hover .mega-menu {
        display: none;
    }

    .has-mega.open-mobile-mega .mega-menu {
        display: block;
    }

    .main-nav .nav-item:not(.has-mega) .nav-link::after {
        content: '';
    }

    .mega-menu-content {
        background: #f0f8ff;
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Defensive fallback: if desktop mega markup is present on mobile, keep it constrained */
    .main-nav.show-submenu .mega-browser {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .main-nav.show-submenu .mega-browser-head {
        display: none;
    }

    .main-nav.show-submenu .mega-browser-columns {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0;
        box-sizing: border-box;
    }

    .main-nav.show-submenu .mega-main-col,
    .main-nav.show-submenu .mega-info-col {
        display: none !important;
    }

    .main-nav.show-submenu .mega-sub-col {
        display: block !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .main-nav.show-submenu .mega-list,
    .main-nav.show-submenu .mega-list li,
    .main-nav.show-submenu .mega-item-btn,
    .main-nav.show-submenu .mega-link-btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mega-browser-head {
        padding: 14px 20px;
        border-bottom: 1px solid #e0e0e0;
        font-weight: 600;
        color: #002b49;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

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

    .mega-info-card {
        min-height: auto;
        background: transparent;
        border: none;
        padding: 0;
        margin: 0;
    }

    .mega-info-card h4 {
        padding: 12px 48px 12px 20px;
        background: #fff;
        color: #0078c1;
        font-size: 0.9rem;
        margin: 0;
        border-left: 3px solid transparent;
        border-bottom: 1px solid #d4ebff;
        transition: all 0.2s ease;
        position: relative;
        font-weight: 600;
    }

    .mega-info-card h4::after {
        content: '›';
        position: absolute;
        right: 20px;
        font-size: 1.6rem;
        color: #999;
    }

    .mega-info-card:hover h4 {
        background: #f0f8ff;
        border-left-color: #0078c1;
        padding-left: 18px;
    }

    .mega-product-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mega-product-list li {
        padding: 0;
        margin: 0;
    }

    .mega-product-list a {
        display: block;
        padding: 10px 48px 10px 20px;
        color: #555;
        text-decoration: none;
        font-size: 0.85rem;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
        background: #fff;
        border-bottom: 1px solid #d4ebff;
        position: relative;
    }

    .mega-product-list a::after {
        content: '›';
        position: absolute;
        right: 20px;
        color: #a8d8ff;
        font-size: 1.4rem;
    }

    .mega-product-list a:hover {
        background: #f0f8ff;
        color: #0078c1;
        border-left-color: #0078c1;
        padding-left: 18px;
    }

    /* Mobile mega menu styles */
    .mega-mobile-group {
        border-bottom: 1px solid #e7edf3;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mega-mobile-category {
        padding: 12px 20px;
        background: #f5f8fb;
        font-weight: 600;
        color: #36546b;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin: 0;
        overflow-wrap: anywhere;
    }

    .mega-mobile-list {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mega-mobile-list li {
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mega-mobile-list a {
        display: block;
        padding: 10px 20px 10px 40px;
        color: #002b49;
        text-decoration: none;
        font-size: 0.85rem;
        border-bottom: 1px solid #e7edf3;
        transition: all 0.2s ease;
        position: relative;
        box-sizing: border-box;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .mega-mobile-list a::before {
        content: '›';
        position: absolute;
        left: 20px;
        color: #a8d8ff;
        font-size: 1.2rem;
    }

    .mega-mobile-list a:hover {
        background: #f0f8ff;
        color: #0078c1;
        border-left: 3px solid #0078c1;
        padding-left: 37px;
    }

    .mobile-nav-contact {
        display: block;
        margin: 10px 14px 16px;
        background: #f7fbff;
        color: #24465f;
        padding: 12px 14px 14px;
        border: 1px solid #d7e8f7;
        border-radius: 12px;
    }

    .mobile-nav-contact-row {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.82rem;
        margin-bottom: 8px;
        color: #31546d;
    }

    .mobile-nav-contact-row i {
        width: 16px;
        color: #0078c1;
    }

    .mobile-nav-contact-row a,
    .mobile-nav-contact-row span {
        color: #2b4a61;
        text-decoration: none;
    }

    .mobile-nav-contact-row a:hover {
        color: #0078c1;
    }

    .mobile-nav-social {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }

    .mobile-nav-social a {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #e2eef8;
        color: #0e4f7d;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .mobile-nav-social a:hover {
        background: #0078c1;
        transform: translateY(-1px);
    }

    /* Hero */
    .hero-slider::before,
    .hero-slider::after {
        height: 20px;
    }

    .slider-wrapper {
        height: 420px;
    }

    .slide {
        flex-direction: column;
        position: relative;
        height: 100%;
    }

    .slide:not(.active) {
        display: none;
    }

    .slide-image {
        width: 100%;
        height: 180px;
        flex: 0 0 180px;
    }

    .slide-image::after {
        display: none;
    }

    .slide-content {
        width: 100%;
        padding: 20px;
        height: calc(100% - 180px);
        overflow: hidden;
    }

    .slide-content h2 {
        font-size: 1.3rem;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    /* Finder */
    .finder-box {
        flex-direction: column;
        padding: 24px;
    }

    .finder-left,
    .finder-right {
        width: 100%;
    }

    .finder-divider {
        width: 100%;
        height: 1px;
        min-height: 1px;
    }

    .finder-selects {
        flex-direction: column;
    }

    .finder-search {
        width: 100%;
        box-sizing: border-box;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-group-image {
        max-width: 140px;
        height: 100px;
    }

    .product-group-gallery {
        max-width: 140px;
        height: 100px;
    }

    /* Sectors */
    .sectors-grid {
        grid-template-columns: 1fr;
    }

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

    /* News */
    .news-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .whatsapp-float-bubble {
        right: 14px;
        bottom: 76px;
        padding: 7px 7px 7px 12px;
        gap: 8px;
    }

    .whatsapp-float-text {
        font-size: 0.76rem;
    }

    .whatsapp-float-icon {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .top-bar {
        display: none;
    }

    .logo-text {
        font-size: 0.98rem;
    }

    .header-icons {
        gap: 5px !important;
        margin-right: 6px !important;
    }

    .header-icon-item {
        padding: 4px 6px;
    }

    .header-icon-item i {
        font-size: 1.1rem;
    }

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

    .factory-feature-card {
        padding: 14px;
        gap: 10px;
    }

    .factory-feature-media {
        width: 48px;
        height: 48px;
    }

    .product-group-image {
        max-width: 130px;
        height: 90px;
    }

    .product-group-gallery {
        max-width: 130px;
        height: 90px;
    }

    .finder-title {
        font-size: 1.4rem;
    }

    .section-title-left {
        font-size: 1.4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .slide-content h2 {
        font-size: 1.1rem;
    }

    .slide-content p {
        font-size: 0.82rem;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .slider-wrapper {
        height: 380px;
    }

    .slide-image {
        height: 150px;
        flex-basis: 150px;
    }

    .slide-content {
        height: calc(100% - 150px);
        padding: 16px;
    }
}

/* ========================================
   SEARCH MODAL
   ======================================== */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.search-modal-content {
    background: white;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f9fafb;
}

.search-modal-header h2 {
    font-size: 1.3rem;
    color: #333;
    margin: 0;
}

.close-search {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.close-search:hover {
    color: #333;
}

.search-modal-body {
    padding: 20px;
}

.search-section {
    margin-bottom: 25px;
}

.search-section:last-child {
    margin-bottom: 0;
}

.search-section h3 {
    font-size: 1.1rem;
    color: #0078c1;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-section h3 i {
    font-size: 1rem;
}

.search-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-item {
    padding: 12px;
    background: #f9fafb;
    border-radius: 4px;
    border-left: 3px solid #0078c1;
    transition: background 0.2s;
}

.search-item:hover {
    background: #f0f5fb;
}

.search-item a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.search-item strong {
    display: block;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.search-item p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

/* Mobile responsive for search modal */
@media (max-width: 768px) {
    .search-modal-content {
        max-width: 95%;
        max-height: 90vh;
    }

    .search-modal-header h2 {
        font-size: 1.1rem;
    }

    .search-section h3 {
        font-size: 1rem;
    }

    .search-item {
        padding: 10px;
    }

    .search-item strong {
        font-size: 0.9rem;
    }

    .search-item p {
        font-size: 0.8rem;
    }
}