/*
Theme Name: LANGDE Vietnam
Theme URI: https://langdevietnam.com
Author: kinnhun
Author URI: https://langdevietnam.com
Description: Giao diện premium clone của website LANGDE Tech dành cho LANGDE Vietnam theo phong cách 2026.
Version: 1.1.0
Text Domain: langde
*/

/* ==========================================================================
   1. DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Colors */
    --primary: #005AAE;        /* Brand Primary Blue */
    --primary-hover: #10589F;  /* Brand Navy Blue */
    --accent: #e28743;         /* Warm Orange Tag Accent */
    --canvas-bg: #f3f4f6;      /* Premium 2026 Light Shell Background */
    --card-bg: rgba(255, 255, 255, 0.75); /* White glass container background */
    --text-dark: #111827;      /* Primary Slate Dark for headings */
    --text-body: #4b5563;      /* Slate Medium for body copy */
    --text-muted: #9ca3af;     /* Light Slate for borders/muted copy */
    --text-light: #ffffff;
    --border-color: rgba(0, 90, 174, 0.08);
    --border-glass: rgba(255, 255, 255, 0.45);
    --footer-bg: #0f172a;      /* Deep Slate Dark */
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Animation & Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadow systems */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.04), inset 0 1px 1px 0 rgba(255, 255, 255, 0.6);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.06);
    --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--canvas-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   2. BUTTONS & UI COMPONENTS
   ========================================================================== */
/* Industrial Navy Action Button - Softer Rounded */
.btn-flat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-hover);
    color: var(--text-light);
    padding: 14px 35px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 30px !important; /* Rounded pill shape for softer look */
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 90, 174, 0.12);
}

.btn-flat:hover {
    background-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(0, 90, 174, 0.35);
}

.btn-demo-1m {
    background-color: #0284c7 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2) !important;
}

.btn-demo-1m:hover {
    background-color: #0274ae !important;
    box-shadow: 0 12px 24px -6px rgba(2, 132, 199, 0.4) !important;
}

/* Hero Pill Outline Button */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #ffffff;
    padding: 12px 36px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 50px; /* Pill Shape */
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background-color: #ffffff;
    color: var(--text-dark);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(255, 255, 255, 0.3);
}

/* Global Section Spacings */
.section_padding {
    padding: 100px 0;
}

.section_title {
    text-align: center;
    margin-bottom: 60px;
}

.section_title h2 {
    font-size: 2.25rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    font-weight: 800;
}

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

/* ==========================================================================
   3. STICKY HEADER & FLOATING NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

/* Topbar */
.header_up {
    background-color: var(--primary);
    color: var(--text-light);
    height: 45px;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.header_up .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_contact {
    display: flex;
    gap: 25px;
}

.header_contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.header_contact a:hover {
    opacity: 1;
}

.header_right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang_selector {
    display: flex;
    gap: 8px;
    font-weight: 600;
}

.lang_selector a {
    opacity: 0.7;
}

.lang_selector a.active, .lang_selector a:hover {
    opacity: 1;
    text-decoration: underline;
}

.lang_selector_mobile {
    display: none;
}

/* Navbar */
.header_down {
    background-color: #E6E7E7;
    height: 100px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.header_down .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo_subtext {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 3px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .logo img {
        height: 38px;
    }
    .logo_subtext {
        font-size: 11px;
        margin-top: 2px;
    }
}

.nav_wrapper {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav_menu {
    display: flex;
    list-style: none;
    gap: 32px;
    height: 100%;
    align-items: center;
}

.nav_menu li {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav_menu a {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    position: relative;
    padding: 12px 0;
}

.nav_menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav_menu a:hover,
.nav_menu li.current-menu-item a {
    color: var(--primary);
}

.nav_menu a:hover::after,
.nav_menu li.current-menu-item a::after {
    width: 100%;
}

/* Submenu Dropdowns - Modern Glass Transition */
.nav_menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    min-width: 250px;
    box-shadow: var(--shadow-premium);
    list-style: none;
    padding: 10px 0;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(12px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--primary);
}

.nav_menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.nav_menu .sub-menu li {
    width: 100%;
    height: auto;
    display: block;
}

.nav_menu .sub-menu a {
    display: block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.nav_menu .sub-menu li:last-child a {
    border-bottom: none;
}

.nav_menu .sub-menu a::after {
    display: none;
}

.nav_menu .sub-menu a:hover {
    background-color: rgba(0, 90, 174, 0.05);
    color: var(--primary);
    padding-left: 30px;
}

/* Sticky Shrinking Header State (Glassmorphism, no page shift) */
.header.active .header_up {
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.header.active .header_down {
    height: 75px;
    background-color: rgba(230, 231, 231, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.header.active .logo img {
    height: 38px;
}

.header.active .logo_subtext {
    font-size: 11px;
    margin-top: 2px;
}

/* Mobile Toggle Hamburger */
.menu_toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu_toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.menu_toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.menu_toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   4. HERO BANNER SLIDER
   ========================================================================== */
.hero_section {
    margin-top: 145px; /* Keeps initial header spacing fixed */
    position: relative;
    height: 600px;
    background: radial-gradient(circle at 30% 30%, #0c1c33 0%, #040912 100%);
    overflow: hidden;
}

.hero_bg_glow_1 {
    position: absolute;
    top: -10%;
    left: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 90, 174, 0.22) 0%, rgba(0, 90, 174, 0) 70%);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: orb-float-1 25s ease-in-out infinite alternate;
}

.hero_bg_glow_2 {
    position: absolute;
    bottom: -15%;
    right: 10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(226, 135, 67, 0.12) 0%, rgba(226, 135, 67, 0) 70%);
    filter: blur(90px);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: orb-float-2 30s ease-in-out infinite alternate;
}

.hero_bg_grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to right, rgba(0, 90, 174, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 90, 174, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px, 50px 50px;
    background-position: center center;
    mask-image: radial-gradient(ellipse at 50% 50%, black 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 70%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.slide_content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    perspective: 1000px;
}

@keyframes orb-float-1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.1); }
    100% { transform: translate(-40px, 80px) scale(0.9); }
}

@keyframes orb-float-2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, -50px) scale(0.95); }
    100% { transform: translate(50px, -30px) scale(1.05); }
}

.slide_content .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.slide_info {
    flex: 1.2;
    max-width: 650px;
    color: var(--text-light);
}

.slide_info .product_tag {
    display: inline-block;
    background-color: var(--accent);
    color: var(--text-light);
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.slide_info h2 {
    color: var(--text-light);
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.slide_info p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: #cbd5e1;
    line-height: 1.7;
}

.slide_media {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slide_media::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 90, 174, 0.35) 0%, rgba(0, 90, 174, 0) 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

.slide_media img {
    max-height: 440px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55));
    animation: float-animation 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes pulse-glow {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 1.1; filter: blur(35px); }
}

@keyframes float-animation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Swiper Styling */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
    transition: var(--transition-smooth);
}

.swiper-pagination-bullet-active {
    background: #ffffff !important;
    width: 28px !important;
    border-radius: 5px !important;
}

.swiper-button-next, .swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: 700;
}

/* ==========================================================================
   5. PRODUCT EXPLORER (Alternating rows with white glass panels)
   ========================================================================== */
.product_explorer {
    background-color: var(--canvas-bg);
}

.product_row {
    display: flex;
    align-items: center;
    gap: 70px;
    margin-bottom: 80px;
}

.product_row:last-child {
    margin-bottom: 0;
}

.product_row:nth-child(even) {
    flex-direction: row-reverse;
}

.product_image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: none;
    box-shadow: var(--shadow-glass);
    border-radius: 16px; /* Smooth card rounding */
    padding: 50px;
    height: 460px;
    transition: var(--transition-smooth);
}

.product_image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.product_image img {
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.05));
}

.product_details {
    flex: 1.25;
}

.product_details .product_tag {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
}

.product_details h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.product_details p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.75;
}

/* Bullet list grids (2 columns) */
.product_links_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    margin-bottom: 35px;
    list-style: none;
}

.sub_prod_link {
    position: relative;
    padding-left: 18px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    display: inline-block;
    transition: var(--transition-smooth);
}

.sub_prod_link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

.sub_prod_link:hover {
    color: var(--primary-hover);
    transform: translateX(4px);
}

/* ==========================================================================
   6. APPLICATIONS TABS (Dashboard glass styling)
   ========================================================================== */
.applications_section {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 90, 174, 0.05);
    border-bottom: 1px solid rgba(0, 90, 174, 0.05);
}

.app_container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.app_sidebar {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 12px;
}

.app_sidebar::-webkit-scrollbar {
    width: 4px;
}
.app_sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.app_sidebar::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 10px;
}

.app_tab {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background-color: var(--canvas-bg);
    border-radius: 8px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: var(--transition-smooth);
}

.app_tab:hover {
    background-color: rgba(0, 90, 174, 0.03);
    color: var(--primary);
}

.app_tab.active {
    background-color: #edf5fe;
    color: var(--primary-hover);
    border-left-color: var(--primary);
}

.app_content {
    flex: 2;
    background-color: var(--canvas-bg);
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow-glass);
    border: none;
    position: relative;
}

.app_pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
    z-index: 1;
}

.app_pane.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.app_pane_img {
    flex: 1.1;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.app_pane_info {
    flex: 1;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.app_pane_info h4 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.app_pane_info p {
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* ==========================================================================
   7. CORE STRENGTHS GRID
   ========================================================================== */
.strengths_section {
    background-color: var(--canvas-bg);
}

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

.strength_card {
    background-color: #ffffff;
    padding: 45px 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-glass);
    border: none;
    transition: var(--transition-smooth);
    border-top: 4px solid transparent;
}

/* 3D Product Image Hover Effect */
.product-image-container {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    perspective: 1000px;
    overflow: hidden;
}

.product-image-container img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.product-image-container .img-front {
    position: relative;
    z-index: 2;
    opacity: 1;
}

.product-image-container .img-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9) rotateY(-180deg);
    z-index: 1;
    opacity: 0;
}

.strength_card {
    background-color: #ffffff;
    padding: 45px 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-glass);
    border: none;
    transition: var(--transition-smooth);
    border-top: 4px solid transparent;
}

.strength_card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08), 0 0 30px rgba(0, 90, 174, 0.03);
    border-top-color: var(--primary);
}

.strength_card:hover .product-image-container .img-front {
    transform: scale(1.12);
}

/* Hover behaviors */
/* 1. When card is hovered, if it has a hover image, flip front to back and show hover image */
.strength_card:hover .product-image-container.has-hover .img-front {
    opacity: 0;
    transform: scale(0.9) rotateY(180deg);
}

.strength_card:hover .product-image-container.has-hover .img-hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05) rotateY(0deg);
    z-index: 2;
}

/* 2. If it does not have a hover image, apply a premium 3D tilt rotation to the front image */
.strength_card:hover .product-image-container:not(.has-hover) .img-front {
    transform: scale(1.08) rotateY(20deg) rotateX(10deg);
}

.strength_icon {
    width: 54px;
    height: 54px;
    background-color: #edf5fe;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 800;
}

.strength_card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.strength_card p {
    font-size: 14.5px;
    color: var(--text-body);
    line-height: 1.65;
}

/* ==========================================================================
   8. PARTNERS & TRUST LOGOS
   ========================================================================== */
.partners_section {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.partners_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    align-items: center;
    margin-top: 40px;
}

.partner_logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    background-color: var(--canvas-bg);
    border-radius: 8px;
    border: none;
    padding: 20px;
    transition: var(--transition-smooth);
}

.partner_logo span {
    font-size: 16px;
    font-weight: 800;
    color: #4b5563;
    letter-spacing: 0.05em;
    opacity: 0.75;
    transition: var(--transition-smooth);
}

.partner_logo:hover {
    background-color: #ffffff;
    box-shadow: var(--shadow-subtle);
}

.partner_logo:hover span {
    color: var(--primary);
    opacity: 1;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.footer {
    background-color: var(--footer-bg);
    color: #94a3b8;
    padding: 90px 0 30px;
    font-size: 14.5px;
    border-top: 4px solid var(--primary-hover);
}

.footer h4 {
    color: var(--text-light);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.footer_grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1.4fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer_about p {
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer_socials {
    display: flex;
    gap: 12px;
}

.footer_socials a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.footer_socials a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer_links {
    list-style: none;
}

.footer_links li {
    margin-bottom: 12px;
}

.footer_links a {
    color: #94a3b8;
}

.footer_links a:hover {
    color: var(--text-light);
    padding-left: 6px;
}

.footer_contact_item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer_contact_item i {
    color: var(--primary);
    margin-top: 4px;
}

.footer_bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: #64748b;
}

.footer_bottom a {
    color: #64748b;
}

.footer_bottom a:hover {
    color: #94a3b8;
}

/* ==========================================================================
   10. PRODUCT DETAIL PAGES & GENERAL LAYOUTS
   ========================================================================== */
.site-main {
    margin-top: 145px;
    padding-bottom: 100px;
    background-color: var(--canvas-bg);
}

/* Product header banner */
.product-banner, .page-banner {
    background-color: #0b1a30;
    padding: 70px 0;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-banner h1, .page-banner h1 {
    color: #ffffff;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 12px;
}

/* Specs lists */
.product_specs {
    margin-bottom: 35px;
    list-style: none;
}

.product_specs li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text-body);
}

.product_specs li::before {
    content: "\f00c"; /* FontAwesome Checkmark */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-size: 13px;
}

/* Gallery thumb boxes */
.thumb-box {
    transition: var(--transition-smooth);
}
.thumb-box:hover {
    transform: scale(1.05);
}

/* Modern Technical specification table */
table {
    border-collapse: separate !important;
    border-spacing: 0;
}

table th {
    background-color: var(--primary-hover) !important;
}

table tr:hover td {
    background-color: rgba(0, 90, 174, 0.02);
}

/* Form inputs & cards */
input, textarea, select {
    border: 1px solid rgba(0, 90, 174, 0.15) !important;
    transition: var(--transition-smooth);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 90, 174, 0.15);
}

/* Contact office cards */
.office-card {
    transition: var(--transition-smooth);
}
.office-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium) !important;
}

/* ==========================================================================
   11. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    /* Sticky Header spacing adjustments */
    .hero_section, .site-main {
        margin-top: 100px !important;
    }
    
    .header.active ~ .hero_section {
        margin-top: 100px;
    }
    
    .header_up {
        display: none; /* Hide top bar on mobile/tablet */
    }
    
    .header_down {
        height: 100px;
    }
    
    /* Toggle Mobile Hamburger display */
    .menu_toggle {
        display: block;
    }
    
    /* Mobile slide down navigation container */
    .nav_wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: auto !important;
        background-color: #ffffff;
        box-shadow: var(--shadow-premium);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.4s ease-in-out, visibility 0.4s;
        z-index: 999;
        flex-direction: column;
        align-items: stretch;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav_wrapper.mobile-active {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        overflow-x: hidden;
        visibility: visible;
    }
    
    .header.active .nav_wrapper.mobile-active {
        max-height: calc(100vh - 75px);
    }
    
    .nav_menu {
        flex-direction: column;
        align-items: stretch;
        padding: 30px;
        gap: 20px;
        height: auto;
    }

    .lang_selector_mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        padding: 20px;
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        font-weight: 700;
        font-size: 16px;
        color: var(--text-dark);
    }
    
    .nav_menu li {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav_menu a {
        width: 100%;
        padding: 8px 0;
        font-size: 16px;
    }
    
    .nav_menu a::after {
        display: none;
    }
    
    /* Dropdown Submenu inside mobile list */
    .nav_menu .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--primary);
        background: transparent;
        backdrop-filter: none;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        padding: 5px 0 5px 15px;
        display: none;
    }
    
    .nav_menu li:hover > .sub-menu,
    .nav_menu li.submenu-active > .sub-menu {
        display: block;
        transform: none !important;
    }
    
    /* Layout stacks */
    .product_row, .product_row:nth-child(even) {
        flex-direction: column;
        gap: 40px;
    }
    
    .product_image {
        width: 100%;
        height: 320px;
        padding: 30px;
    }
    
    .app_container {
        flex-direction: column;
    }
    
    .app_sidebar {
        flex-direction: column !important;
        max-height: none !important;
        overflow-y: visible !important;
        overflow-x: visible !important;
        padding-right: 0 !important;
    }
    
    .app_tab {
        white-space: normal !important;
        padding: 18px 24px !important;
    }
    
    .app_content {
        min-height: 0 !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    .app_pane {
        position: relative !important;
        max-height: none !important;
        height: auto !important;
        overflow-y: visible !important;
        overflow-x: visible !important;
    }
    
    /* Reset floating image container layouts inside panes on mobile */
    .app_pane div[style*="float: right"],
    .app_pane div[style*="float: left"] {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 20px 0 !important;
    }

    /* Reset inline grids inside panes on mobile */
    .app_pane div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .strengths_grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .partners_grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .footer_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .slide_content .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        justify-content: center;
    }
    
    .slide_info {
        max-width: 100%;
    }
    
    .slide_info h2 {
        font-size: 2.5rem;
    }
    
    .slide_media img {
        max-height: 280px;
    }
}

@media (max-width: 768px) {
    .strengths_grid {
        grid-template-columns: 1fr !important;
    }
    
    .partners_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer_grid {
        grid-template-columns: 1fr;
    }
    
    .footer_bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .product_links_grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ==========================================================================
   5. STICKY SUB-NAVIGATION & REPLICATED PRODUCT PAGE LAYOUT (LANGDE 450)
   ========================================================================== */
.product-sub-nav {
    position: sticky;
    top: 145px;
    background-color: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 990;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s;
}

.header.active ~ #primary .product-sub-nav {
    top: 75px;
}

.sub-nav-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 14px 0;
    scrollbar-width: none;
}

.sub-nav-links::-webkit-scrollbar {
    display: none;
}

.sub-nav-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-body);
    padding: 8px 18px;
    border-radius: 30px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.sub-nav-link:hover {
    color: var(--primary);
    background-color: rgba(0, 90, 174, 0.05);
}

.sub-nav-link.active {
    color: #ffffff !important;
    background-color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 90, 174, 0.25);
}

.sub-nav-link-demo {
    color: #0284c7;
}

.sub-nav-link-demo:hover {
    color: #0274ae;
    background-color: rgba(2, 132, 199, 0.05);
}

.sub-nav-link-demo.active {
    color: #ffffff !important;
}

/* Product Detail Sections */
.product-detail-section {
    padding: 90px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.product-detail-section:nth-of-type(odd) {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.product-detail-section:nth-of-type(even) {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.detail-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 45px;
    position: relative;
    padding-bottom: 18px;
    letter-spacing: -0.02em;
}

.detail-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(0, 90, 174, 0.3) 100%);
    border-radius: 4px;
}

/* Spec Card Grid layout */
.spec-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 30px;
}

.spec-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 35px 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px -10px rgba(0, 90, 174, 0.04), 
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.8),
                0 0 0 1px rgba(0, 90, 174, 0.02);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(0, 90, 174, 0.2) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.spec-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: rgba(0, 90, 174, 0.15);
    box-shadow: 0 20px 40px -15px rgba(0, 90, 174, 0.12),
                inset 0 1px 2px rgba(255, 255, 255, 1);
}

.spec-card:hover::before {
    opacity: 1;
}

.spec-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.spec-card h4 i {
    font-size: 1.1rem;
    color: var(--primary);
    background: rgba(0, 90, 174, 0.06);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 90, 174, 0.08);
}

.spec-card:hover h4 i {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.08) rotate(6deg);
    border-color: var(--primary);
}

.spec-card ul {
    list-style: none;
    padding: 0;
}

.spec-card ul li {
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
    color: var(--text-body);
    transition: var(--transition-smooth);
}

.spec-card ul li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.spec-card ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 9px;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    background: rgba(0, 90, 174, 0.08);
    border-radius: 50%;
}

/* Height visual grid */
.spec-height-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.spec-height-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.spec-height-item:hover {
    background: #ffffff;
    border-color: rgba(0, 90, 174, 0.2);
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
}

.spec-height-item .h-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.spec-height-item .h-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.spec-height-item .h-desc {
    font-size: 13.5px;
    color: var(--text-body);
}

/* Interface language tags */
.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.lang-tag {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
}

.lang-tag:hover {
    background: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 20px -5px rgba(0, 90, 174, 0.1);
}

.lang-tag i {
    color: var(--primary);
    font-size: 14px;
}

/* Media Queries for Sub-Nav */
@media (max-width: 1024px) {
    .product-sub-nav {
        top: 100px;
    }
    .header.active ~ #primary .product-sub-nav {
        top: 75px;
    }
}

@media (max-width: 768px) {
    .product-sub-nav {
        top: 100px;
    }
    .header.active ~ #primary .product-sub-nav {
        top: 75px;
    }
    .sub-nav-links {
        justify-content: flex-start;
        padding-left: 20px;
        padding-right: 20px;
    }
    .detail-section-title {
        font-size: 1.65rem;
    }
    .spec-height-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ==========================================================================
   6. PREMIUM REQUEST QUOTE FORM
   ========================================================================== */
.premium-quote-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 50px 45px;
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(0, 90, 174, 0.06), 0 0 0 1px rgba(0, 90, 174, 0.05);
    border: 1px solid var(--border-glass);
    position: relative;
    overflow: hidden;
}

.premium-quote-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
}

.premium-quote-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.premium-quote-subtitle {
    text-align: center;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 35px auto;
}

.premium-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.premium-form-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.premium-form-input, .premium-form-textarea {
    width: 100%;
    padding: 14px 18px;
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 90, 174, 0.12);
    border-radius: 12px;
    outline: none;
    font-size: 15px;
    color: var(--text-dark);
    font-family: var(--font-primary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

.premium-form-input:hover, .premium-form-textarea:hover {
    border-color: rgba(0, 90, 174, 0.25);
    background-color: #ffffff;
}

.premium-form-input:focus, .premium-form-textarea:focus {
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 90, 174, 0.08);
}

.premium-form-textarea {
    min-height: 140px;
    resize: vertical;
}

.premium-form-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 90, 174, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.premium-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 90, 174, 0.3);
    filter: brightness(1.05);
}

.premium-form-submit:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .premium-quote-card {
        padding: 35px 25px;
        border-radius: 20px;
    }
    
    .premium-quote-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   12. CUSTOM PRODUCT DIFFERENTIATION LAYOUTS
   ========================================================================== */

/* 12.1. LANGDE 450 - Modular TIJ & Ports Layout */
.stitching-visualizer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.stitching-head-box {
    background: #ffffff;
    border: 1px solid rgba(0, 90, 174, 0.1);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stitching-head-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary);
}

.stitching-height-preview {
    margin: 20px auto;
    width: 60px;
    background: #f1f5f9;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stitching-height-bar-fill {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-hover) 100%);
    width: 100%;
    border-radius: 4px;
    transition: height 0.5s ease;
}

.stitching-head-box[data-heads="1"] .stitching-height-preview {
    height: 50px;
}
.stitching-head-box[data-heads="1"] .stitching-height-bar-fill {
    height: 33%;
}

.stitching-head-box[data-heads="2"] .stitching-height-preview {
    height: 90px;
}
.stitching-head-box[data-heads="2"] .stitching-height-bar-fill {
    height: 66%;
}

.stitching-head-box[data-heads="3"] .stitching-height-preview {
    height: 130px;
}
.stitching-head-box[data-heads="3"] .stitching-height-bar-fill {
    height: 100%;
}

.stitching-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(0, 90, 174, 0.08);
    color: var(--primary);
}

/* Ports Connection Hub */
.ports-hub-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.port-item-card {
    flex: 1;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid rgba(0, 90, 174, 0.06);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
}

.port-item-card:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 90, 174, 0.08);
}

.port-connector-visual {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f8fafc;
    border: 3px dashed rgba(0, 90, 174, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 20px;
    transition: var(--transition-smooth);
}

.port-item-card:hover .port-connector-visual {
    background: var(--primary);
    color: #ffffff;
    border-style: solid;
    border-color: var(--primary);
}

/* 12.2. LANGDE 850NET - Bionic & Fluid Loop Layout */
.bionic-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.bionic-table-card {
    background: #ffffff;
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.03);
}

.bionic-table-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.comparison-list li {
    padding: 12px 0 12px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    font-size: 14.5px;
    color: var(--text-body);
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list li i {
    position: absolute;
    left: 0;
    top: 15px;
    font-size: 14px;
}

/* Viscosity closed loop steps */
.viscosity-loop-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.viscosity-step-card {
    flex: 1;
    min-width: 180px;
    background: #ffffff;
    border: 1px solid rgba(20, 184, 166, 0.1);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    position: relative;
    transition: var(--transition-smooth);
}

.viscosity-step-card:hover {
    border-color: #14b8a6;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(20, 184, 166, 0.08);
}

.viscosity-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.1);
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    margin: 0 auto 15px auto;
}

.viscosity-step-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.viscosity-step-card p {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.5;
}

/* 12.3. LANGDE 910NET - Dark Premium Cyber Theme & speed gauges */
/* 12.3. LANGDE 910NET - Light Premium Cyber Theme & speed gauges */
.cij-dark-theme-wrapper {
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    color: var(--text-body);
    padding: 90px 0;
    border-bottom: 1px solid var(--border-color);
}

.cij-dark-theme-wrapper .detail-section-title {
    color: var(--text-dark);
}

.cij-dark-theme-wrapper .detail-section-title::after {
    background: linear-gradient(90deg, var(--primary) 0%, rgba(0, 90, 174, 0.3) 100%);
}

.cij-dark-theme-wrapper .spec-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 90, 174, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.cij-dark-theme-wrapper .spec-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-premium);
}

.cij-dark-theme-wrapper .spec-card h4 {
    color: var(--text-dark);
}

.cij-dark-theme-wrapper .spec-card h4 i {
    background: rgba(0, 90, 174, 0.06);
    color: var(--primary);
    border-color: rgba(0, 90, 174, 0.08);
}

.cij-dark-theme-wrapper .spec-card:hover h4 i {
    background: var(--primary);
    color: #ffffff;
}

.cij-dark-theme-wrapper .spec-card ul li {
    color: var(--text-body);
}

.cij-dark-theme-wrapper .spec-card ul li strong {
    color: var(--text-dark);
}

.cij-dark-theme-wrapper .spec-card ul li::before {
    background: rgba(0, 90, 174, 0.08);
    color: var(--primary);
}

/* Speed configuration progress bars */
.speed-gauges-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.speed-gauge-row {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 90, 174, 0.08);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.speed-gauge-label {
    flex: 1.2;
    min-width: 150px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-dark);
}

.speed-gauge-bar-wrapper {
    flex: 3;
    min-width: 250px;
    height: 10px;
    background: rgba(0, 90, 174, 0.06);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.speed-gauge-bar-fill {
    height: 100%;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--primary) 0%, #00d2ff 100%);
    box-shadow: 0 0 8px rgba(0, 90, 174, 0.15);
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.speed-gauge-value {
    flex: 0.8;
    min-width: 80px;
    text-align: right;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

/* IoT Cloud Dashboard simulated widget */
.iot-dashboard-mockup {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.75) 100%);
    border: 1px solid rgba(0, 90, 174, 0.12);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow-premium), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.iot-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 90, 174, 0.08);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.iot-dashboard-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.iot-status-badge {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 8px;
}

.iot-status-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px #10b981; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

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

.iot-stat-widget {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 90, 174, 0.06);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.iot-stat-widget .stat-lbl {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-body);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.iot-stat-widget .stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.iot-stat-widget .stat-progress-bar {
    width: 80%;
    height: 5px;
    background: rgba(0, 90, 174, 0.08);
    border-radius: 10px;
    margin: 12px auto 0 auto;
    overflow: hidden;
}

.iot-stat-widget .stat-progress-fill {
    height: 100%;
    border-radius: 10px;
}

/* Responsive Custom Components */
@media (max-width: 1024px) {
    .stitching-visualizer {
        grid-template-columns: 1fr 1fr;
    }
    .iot-grid-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stitching-visualizer {
        grid-template-columns: 1fr;
    }
    .bionic-comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .viscosity-loop-container {
        flex-direction: column;
    }
    .iot-grid-stats {
        grid-template-columns: 1fr;
    }
}

/* Hide CookieAdmin Consent Banner elements */
.cookieadmin_law_container,
#cookieadmin_law_container,
[class*="cookieadmin"],
.cookieadmin_bottom,
.cookieadmin_box {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: fixed !important;
    z-index: -9999 !important;
}

/* ==========================================================================
   FORM & PREMIUM QUOTE STYLES
   ========================================================================== */
.premium-quote-card {
    background-color: var(--card-bg, rgba(255, 255, 255, 0.75));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 50px 45px;
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(0, 90, 174, 0.06), 0 0 0 1px rgba(0, 90, 174, 0.05);
    border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.45));
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}
.premium-quote-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary, #005AAE), var(--primary-hover, #10589F));
}
.premium-quote-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark, #111827);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}
.premium-quote-subtitle {
    text-align: center;
    color: var(--text-body, #4b5563);
    font-size: 15px;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 35px auto;
}
.premium-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.premium-form-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark, #111827);
    letter-spacing: -0.01em;
}
.premium-form-input, .premium-form-textarea {
    width: 100%;
    padding: 14px 18px;
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 90, 174, 0.12);
    border-radius: 12px;
    outline: none;
    font-size: 15px;
    color: var(--text-dark, #111827);
    font-family: var(--font-primary, sans-serif);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
}
.premium-form-input:hover, .premium-form-textarea:hover {
    border-color: rgba(0, 90, 174, 0.25);
    background-color: #ffffff;
}
.premium-form-input:focus, .premium-form-textarea:focus {
    border-color: var(--primary, #005AAE);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 90, 174, 0.08);
}
.premium-form-textarea {
    min-height: 140px;
    resize: vertical;
}
.premium-form-submit {
    background: linear-gradient(135deg, var(--primary, #005AAE), var(--primary-hover, #10589F));
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 90, 174, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}
.premium-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 90, 174, 0.3);
    filter: brightness(1.05);
}
.premium-form-submit:active {
    transform: translateY(0);
}
@media (max-width: 768px) {
    .premium-quote-card {
        padding: 35px 25px;
        border-radius: 20px;
    }
    .premium-quote-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVE OVERRIDES
   Override inline styles that prevent media queries from working
   ========================================================================== */

/* --- TABLET (max-width: 1024px) --- */
@media (max-width: 1024px) {
    /* Hero section adjustments */
    .slide_info h2 {
        font-size: 2rem !important;
    }
    
    /* Section padding reduction */
    .section_padding {
        padding: 70px 0 !important;
    }
    
    /* Force flex containers with inline styles to wrap */
    div[style*="display: flex"][style*="gap: 50px"] {
        gap: 35px !important;
    }
}

/* --- MOBILE (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Fix min-width: 320px that crowds mobile viewport */
    div[style*="min-width: 320px"] {
        min-width: 0 !important;
    }

    /* ===== TYPOGRAPHY SCALING ===== */
    .section_title h2 {
        font-size: 1.55rem !important;
    }
    
    .section_title {
        margin-bottom: 35px !important;
    }
    
    h1[style*="font-size: 2.75rem"] {
        font-size: 1.75rem !important;
    }
    
    h3[style*="font-size: 2.25rem"] {
        font-size: 1.45rem !important;
    }
    
    h3[style*="font-size: 2rem"] {
        font-size: 1.4rem !important;
    }
    
    h3[style*="font-size: 1.8rem"] {
        font-size: 1.35rem !important;
    }
    
    h2[style*="font-size: 2.25rem"] {
        font-size: 1.55rem !important;
    }
    
    .slide_info h2 {
        font-size: 1.65rem !important;
    }
    
    .slide_info p {
        font-size: 14px !important;
    }

    /* ===== SECTION SPACING ===== */
    .section_padding {
        padding: 50px 0 !important;
    }
    
    section[style*="padding: 80px 0"] {
        padding: 50px 0 !important;
    }
    
    section[style*="padding: 70px 0"] {
        padding: 45px 0 !important;
    }

    /* ===== PRODUCT DETAIL PAGES ===== */
    .product-detail-section {
        padding: 55px 0 !important;
    }
    
    .detail-section-title {
        font-size: 1.5rem !important;
        margin-bottom: 30px !important;
    }

    /* Sub-nav horizontal scroll improvement */
    .sub-nav-links {
        justify-content: flex-start !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        gap: 8px !important;
    }
    
    .sub-nav-link {
        font-size: 12px !important;
        padding: 7px 14px !important;
    }

    /* ===== BUTTONS ===== */
    .btn-flat {
        padding: 12px 24px !important;
        font-size: 13px !important;
    }

    /* ===== PRODUCT HERO IMAGE ===== */
    .premium-quote-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* ===== GRIDS ===== */
    .partners_grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .partner_logo {
        height: 55px !important;
        padding: 8px !important;
    }
    
    .partner_logo span {
        font-size: 11px !important;
    }
    
    /* Spec cards on mobile */
    .spec-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    
    .spec-card {
        padding: 25px 20px !important;
    }
    
    /* Speed gauge bars */
    .speed-gauge-row {
        padding: 14px 16px !important;
        gap: 12px !important;
    }
    
    .speed-gauge-bar-wrapper {
        min-width: 150px !important;
    }
    
    /* IoT dashboard */
    .iot-dashboard-mockup {
        padding: 20px !important;
    }
    
    .iot-grid-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .iot-dashboard-header {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: flex-start !important;
    }

    /* ===== FOOTER ===== */
    .footer_social {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    /* Bionic comparison grid */
    .bionic-comparison-grid {
        grid-template-columns: 1fr !important;
    }

    /* Stitching visualizer */
    .stitching-visualizer {
        grid-template-columns: 1fr !important;
    }

    /* Page banner */
    .page-banner h1,
    section[class*="page-banner"] h1 {
        font-size: 1.75rem !important;
    }

    /* Product image container on mobile */
    .product-image-container img {
        max-height: 250px !important;
        object-fit: contain !important;
    }

    /* Strength card min-height */
    .strength_card {
        min-height: auto !important;
    }

    /* Contact page info boxes */
    div[style*="display: flex"][style*="gap: 15px"][style*="align-items: center"][style*="background-color: #edf5fe"] {
        flex-direction: column !important;
        text-align: center !important;
    }

    /* Fourier deep dive inline flex box */
    div[style*="display: inline-flex"][style*="gap: 20px"] {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 20px !important;
        width: 100% !important;
    }
}

/* --- PHONE ONLY (max-width: 600px) --- */
@media (max-width: 600px) {
    /* Force major flex containers to stack vertically on phones */
    div[style*="display: flex"][style*="gap: 50px"],
    div[style*="display: flex"][style*="gap: 40px"] {
        flex-direction: column !important;
        gap: 25px !important;
    }
    
    /* Force flex children with fractional flex to take full width */
    div[style*="flex: 1.2"],
    div[style*="flex: 0.8"],
    div[style*="flex: 1.1"],
    div[style*="flex: 0.9"],
    div[style*="flex: 1;"] {
        flex: 1 1 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }
    
    /* Full-width buttons on phone */
    .btn-flat {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Force CTA button container to stack */
    div[style*="display: flex"][style*="margin-top: 10px"] {
        flex-direction: column !important;
    }

    /* Min-width override */
    div[style*="min-width: 320px"] {
        width: 100% !important;
    }
}

/* --- SMALL MOBILE (max-width: 480px) --- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px !important;
    }
    
    .iot-grid-stats {
        grid-template-columns: 1fr !important;
    }
    
    .partners_grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .slide_info h2 {
        font-size: 1.4rem !important;
    }
    
    .btn-outline {
        padding: 10px 24px !important;
        font-size: 13px !important;
    }
    
    /* Hero section spacing */
    .hero_section .slide_content .container {
        gap: 20px !important;
    }
    
    .slide_media img {
        max-height: 200px !important;
    }
    
    /* Sub nav even smaller */
    .sub-nav-link {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
    
    /* Form inputs */
    .premium-quote-card {
        padding: 25px 18px !important;
    }
}

/* Google Translate styling overrides to prevent header overlap */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
iframe.skiptranslate {
    display: none !important;
}
body {
    top: 0px !important;
    position: static !important;
}
html {
    padding-top: 0px !important;
    margin-top: 0px !important;
}

/* Submenu Grid Layout (2 columns for large dropdowns like Applications) */
@media (min-width: 992px) {
    .nav_menu .sub-menu.sub-menu-grid {
        min-width: 560px; /* Wide dropdown */
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 15px;
        gap: 5px 15px;
    }
    .nav_menu .sub-menu.sub-menu-grid li {
        width: 100%;
        display: block;
    }
    .nav_menu .sub-menu.sub-menu-grid a {
        border-bottom: none;
        padding: 10px 18px;
        border-radius: 6px;
        transition: all 0.2s ease;
    }
    .nav_menu .sub-menu.sub-menu-grid a:hover {
        padding-left: 24px;
        background-color: rgba(0, 90, 174, 0.05);
    }
}

/* ==========================================================================
   11. APPLICATIONS SWITCHER RESPONSIVE OPTIMIZATIONS
   ========================================================================== */

/* --- TABLET & MOBILE (max-width: 1024px) --- */
@media (max-width: 1024px) {
    /* Main wrapper layout */
    .app_container {
        flex-direction: column !important;
        gap: 24px !important;
        margin-top: 24px !important;
    }

    /* Swipeable horizontal tab bar */
    .app_sidebar {
        flex-direction: row !important;
        flex: none !important;
        width: 100% !important;
        max-height: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        padding-right: 0 !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid rgba(0, 90, 174, 0.08);
        gap: 8px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    /* Custom scrollbar styling for the tab bar */
    .app_sidebar::-webkit-scrollbar {
        height: 4px !important;
    }
    .app_sidebar::-webkit-scrollbar-track {
        background: #f1f1f1 !important;
        border-radius: 10px !important;
    }
    .app_sidebar::-webkit-scrollbar-thumb {
        background: var(--primary) !important;
        border-radius: 10px !important;
        opacity: 0.5 !important;
    }

    /* Horizontal tab style */
    .app_tab {
        flex: 0 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 12px 18px !important;
        font-size: 14px !important;
        border-left: none !important;
        border-bottom: 3px solid transparent !important;
        border-radius: 6px !important;
        background-color: var(--canvas-bg) !important;
        box-shadow: var(--shadow-subtle) !important;
    }

    .app_tab:hover {
        background-color: rgba(0, 90, 174, 0.05) !important;
    }

    .app_tab.active {
        background-color: #edf5fe !important;
        color: var(--primary) !important;
        border-bottom-color: var(--primary) !important;
        border-left-color: transparent !important;
    }

    /* Tab content height adjustments */
    .app_content {
        flex: none !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        background-color: #ffffff !important;
        border-radius: 12px !important;
    }

    .app_pane {
        position: relative !important;
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        height: auto !important;
        max-height: none !important;
    }

    .app_pane.active {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Padding within tabs */
    .app_pane > div {
        padding: 24px 20px !important;
        gap: 30px !important;
    }

    /* Float elements styling reset */
    .app_pane div[style*="float: right"] {
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
    }

    .app_pane div[style*="float: right"] img {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
    }

    /* Grids inside tab content */
    .app_pane div[style*="grid-template-columns: 1fr 1fr"],
    .app_pane div[style*="grid-template-columns: 1fr 1fr;"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .app_pane div[style*="grid-template-columns: repeat(3, 1fr)"],
    .app_pane div[style*="grid-template-columns: repeat(3, 1fr);"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

/* --- MOBILE (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Responsive image banner inside content panel */
    .app_pane > div[style*="background-image"] {
        height: 180px !important;
    }

    /* Stacking horizontal card grids inside industries section */
    .app_pane div[style*="display: flex"][style*="transition: transform 0.3s"],
    .app_pane div[style*="display: flex"][style*="transition: transform 0.3s;"],
    .app_pane div[style*="display: flex"][style*="margin-top: 24px"],
    .app_pane div[style*="display: flex"][style*="margin-top: 24px;"] {
        flex-direction: column !important;
    }

    .app_pane div[style*="display: flex"][style*="transition: transform 0.3s"] div[style*="width: 250px"],
    .app_pane div[style*="display: flex"][style*="transition: transform 0.3s;"] div[style*="width: 250px"],
    .app_pane div[style*="display: flex"][style*="margin-top: 24px"] div[style*="width: 250px"],
    .app_pane div[style*="display: flex"][style*="margin-top: 24px;"] div[style*="width: 250px"] {
        width: 100% !important;
        height: 160px !important;
    }

    /* Adjust industry card image heights */
    .app_pane div[style*="height: 160px"][style*="background-image"] {
        height: 150px !important;
    }
}

/* --- SMALL PHONES (max-width: 480px) --- */
@media (max-width: 480px) {
    .app_pane > div {
        padding: 20px 15px !important;
        gap: 20px !important;
    }

    /* Specs block */
    div[style*="background-color: var(--canvas-bg)"][style*="padding: 18px"] {
        padding: 12px !important;
    }

    /* Buttons block stacking */
    .app_pane div[style*="display: flex"][style*="justify-content: flex-start"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .app_pane div[style*="display: flex"][style*="justify-content: flex-start"] a {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px 20px !important;
    }
}


