/* Samsung Internet dark mode support */
:root {
  color-scheme: light dark;
}

html, body {
  background-color: inherit; /* Keeps your custom background */
  color: inherit;            /* Keeps your custom text colors */
}

/* Samsung Internet forced dark mode shim */
.si-force-light { filter: invert(1) hue-rotate(180deg); }

/* Re-invert media back to normal so images/videos/logos don't look weird */
.si-force-light img,
.si-force-light video,
.si-force-light canvas,
.si-force-light iframe,
.si-force-light svg,
.si-force-light picture,
.si-force-light model-viewer {
  filter: invert(1) hue-rotate(180deg);
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

/* Samsung Internet specific dark mode prevention */
@media (prefers-color-scheme: dark) {
  /* Only apply to Samsung Internet */
  html[class*="si-force-light"], 
  body[class*="si-force-light"] {
    color-scheme: light !important;
  }
}
  
  body {
    font-family: 'Orbitron', sans-serif;
    color: white;
    min-height: 100vh;
    margin-top: 180px; /* Margin for navbar space */
  }
  
  /* Homepage Sine Wave Pixel Grid Canvas */
  #homepage-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
  }
  
  /* Matrix Background Canvas (for other pages) */
  #matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
  }
  
  /* Exact Logo Styles */
  .exact-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));
  }
  
  /* NAVBAR - Amaron Style Layout */
  .main-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    background: #8BC34A; /* Green background like Amaron */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  /* Main Navigation Bar */
  .main-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 20px; /* Much more reduced padding */
    background: black; /* Swapped to black */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Add subtle border */
    min-height: 35px; /* Much more reduced minimum height */
    position: relative; /* For absolute positioning */
    width: 100%;
  }

  .logo-section {
    display: flex;
    align-items: center;
  }

  .navbar-logo {
    height: 90px; /* Very slightly reduced logo size */
    width: auto;
    max-width: 500px; /* Increased max width for larger logo */
  }

  /* Search Section */
  .search-section {
    position: absolute; /* Position absolutely */
    left: 50%; /* Move to center */
    transform: translateX(-50%); /* Perfect center alignment */
    max-width: 500px;
    width: 100%;
    max-width: 400px; /* Limit width for better proportions */
  }

  .search-container {
    display: flex;
    background: #f5f5f5; /* Light gray background for visibility */
    border: 2px solid #8BC34A; /* Green border */
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
    background: #f5f5f5; /* Match container background */
    color: #333; /* Dark text for visibility */
  }

  .search-input::placeholder {
    color: #666; /* Darker placeholder text */
  }

  .search-btn {
    background: #8BC34A; /* Green background */
    border: none;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
  }

  .search-btn:hover {
    background: #7CB342; /* Darker green on hover */
  }

  /* Left section grouping */
  .nav-left-section {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  /* Header Social Icons - Far Right */
  .header-socials {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-socials .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: transform 0.3s ease;
    text-decoration: none;
  }

  .header-socials .social-icon:hover {
    transform: scale(1.1);
  }

  /* Bottom Navigation */
  .bottom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white; /* Swapped to white */
    padding: 12px 20px;
    position: relative; /* For absolute positioning of nav-center */
  }

	/* Branch selector - left side */
	.nav-left {
		display: flex;
		align-items: center;
		gap: 10px;
		position: relative;
	}

	.nav-placeholder {
		width: 140px;
		height: 1px;
		visibility: hidden;
	}

	#branchToggle {
		color: #000;
		text-decoration: none;
		font-weight: 700;
		text-transform: uppercase;
		font-size: 0.9rem;
		padding: 6px 10px;
		border: 1px solid rgba(0,0,0,0.2);
		border-radius: 6px;
		transition: all 0.2s ease;
	}

	#branchToggle:hover {
		background: rgba(0,0,0,0.1);
		border-color: rgba(0,0,0,0.35);
	}

	/* Force branch dropdown to be white/black, overriding any inherited colors */
	.branch-menu {
		position: absolute;
		top: 42px;
		left: 0;
		background: #fff !important; /* solid white */
		border: 1px solid rgba(0,0,0,0.15);
		border-radius: 8px;
		min-width: 240px;
		display: none;
		flex-direction: column;
		z-index: 1000;
		box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important;
	}

	#branchToggle {
		visibility: visible;
	}

	/* Hard override any inherited/brand backgrounds within the branch menu */
	.branch-menu * {
		background: transparent !important;
		text-shadow: none !important;
	}

	.bottom-nav .branch-menu .branch-option {
		background: #fff;
		color: #000;
	}

	.bottom-nav .branch-menu .branch-option:hover {
		background: #f0f0f0;
		color: #000;
	}

	.branch-menu.open { display: flex; }

	.branch-option {
		background: #fff !important;
		color: #000;
		border: none;
		text-align: left;
		padding: 10px 12px;
		cursor: pointer;
		font-family: 'Orbitron', sans-serif;
		font-size: 0.9rem;
		transition: background 0.2s ease, color 0.2s ease;
		box-shadow: none !important;
	}

	.branch-option:hover {
		background: #8BC34A !important; /* Amaron green on hover */
		color: #000 !important; /* readable text on green */
	}

	/* Divider inside branch menu */
	.branch-menu .divider {
		height: 1px;
		background: rgba(255,255,255,0.1);
		margin: 6px 8px;
	}

  .nav-center {
    display: flex;
    gap: 30px;
    align-items: center;
    position: absolute; /* Position absolutely */
    left: 50%; /* Move to center */
    transform: translateX(-50%); /* Perfect center alignment */
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white; /* White text on dark olive background */
    font-size: 0.9rem;
    margin-left: auto; /* Push to right side */
  }

  .social-icon {
    color: white; /* White icons on dark olive background */
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
  }

  .social-icon:hover {
    transform: scale(1.2);
  }
  .main-navbar .neon-text {
    color: var(--energy-blue);
    text-shadow: 0 0 10px var(--energy-blue),
                  0 0 20px var(--energy-blue),
                  0 0 30px var(--energy-blue);
  }
  .main-navbar .neon-text-secondary {
    color: var(--energy-purple);
    text-shadow: 0 0 10px var(--energy-purple),
                  0 0 20px var(--energy-purple),
                  0 0 30px var(--energy-purple);
  }
  .main-navbar .nav-link {
    color: #000; /* Black text on white background */
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
    padding: 8px 0;
  }
  
  .main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #000; /* Black underline */
    transition: width 0.3s ease;
  }
  
  .main-navbar .nav-link:hover {
    color: #333; /* Dark gray on hover */
  }
  
  .main-navbar .nav-link:hover::after {
    width: 100%;
  }
  
    /* Responsive Dropdown Menu Styles */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-toggle {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  /* Desktop: show dropdown, hide inline brand links, restore original layout */
  @media (min-width: 1024px) {
    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
      display: block;
      opacity: 1;
      visibility: visible;
    }
    
    .nav-brand-links {
      display: none !important;
    }
    
    .nav-center {
      display: flex !important;
      flex-direction: row !important;
      gap: 30px !important;
      align-items: center !important;
      position: absolute !important;
      left: 50% !important;
      transform: translateX(-50%) !important;
    }
    
    .nav-main-links {
      display: flex !important;
      flex-direction: row !important;
      gap: 30px !important;
      align-items: center !important;
    }
    
    /* Desktop nav-links with panel styling */
    .nav-main-links .nav-link {
      font-size: 0.9rem !important;
      font-weight: 700 !important;
      text-transform: uppercase !important;
      padding: 6px 20px !important;
      border-radius: 6px !important;
      color: #000 !important;
      text-decoration: none;
      transition: all 0.2s ease;
      white-space: nowrap;
      background: transparent !important;
      border: 1px solid rgba(0,0,0,0.2) !important;
      -webkit-backdrop-filter: none !important;
      backdrop-filter: none !important;
      min-width: 100px !important;
      text-align: center !important;
    }
    
    .nav-main-links .nav-link:hover, 
    .nav-main-links .nav-link:focus, 
    .nav-main-links .nav-link.active {
      color: #000 !important;
      background: rgba(0,0,0,0.1) !important;
      border-color: rgba(0,0,0,0.35) !important;
      transform: none;
      box-shadow: none !important;
    }
  }

  .dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 500;
  }

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

  .dropdown-item:hover {
    background: #8BC34A;
    color: white;
  }
  
  /* Brand-specific dropdown colors */
  .dropdown-item.amaron-brand:hover {
    background: #4CAF50;
    color: white;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
  }
  
  .dropdown-item.hegmo-brand:hover {
    background: #E31C23;
    color: white;
    box-shadow: 0 0 15px rgba(227, 28, 35, 0.4);
  }
  
  .dropdown-item:hover::after {
    display: none;
  }
  
  /* BACKGROUND IMAGE */
  .gradient-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.15;
  }
  
  /* HOMEPAGE PANEL AREA */
  .diagonal-homepage {
    position: relative;
    width: 100vw;
    height: 100vh;
    padding-top: 4.5rem;
    overflow: hidden;
    display: flex;
  }
  
  .diagonal-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(225deg, #222 50%, #32CD32 50%);
    z-index: 0;
    transition: transform 1.5s ease, opacity 1s ease;
  }
  
  .diagonal-content {
    position: absolute;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    z-index: 1;
  }
  
  .left-fill, .right-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
    transition: opacity 0.4s ease;
  }
  
  .left-fill {
    background-color: #32CD32;
    clip-path: polygon(0% 0%, 100% 100%, 0% 100%);
  }
  
  .right-fill {
    background-color: #222;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
  }
  
  .left-content, .right-content {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 1.5s ease, opacity 1s ease;
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .left-content h2, .right-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
  }
  
  /* ENTER BUTTON */
  .intro-button {
    padding: 14px 30px;
    font-size: 1.1rem;
    background: black;
    color: white;
    border: 2px solid silver;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 0 20px 6px rgba(242, 120, 28, 0.3);
    transition: all 0.3s ease;
  }
  .intro-button:hover {
    background: white;
    color: black;
    box-shadow: none;
  }
  
  /* RESPONSIVE */
  @media (max-width: 1023px) {
    /* Prevent horizontal overflow on any mobile width */
    body { overflow-x: hidden; }
    .industrial-container, .main-content { width: 100%; box-sizing: border-box; }

    /* Disable conflicting panel rules for mobile tabs */
    /* .industrial-panel { 
      width: 100%; 
      max-width: clamp(300px, 96vw, 420px); 
      margin-left: auto; 
      margin-right: auto; 
      box-sizing: border-box; 
    } */

    .industrial-panel .panel-content { padding: clamp(12px, 4vw, 18px); }

    /* Media elements never exceed their containers */
    img, video, canvas, svg, model-viewer { max-width: 100%; height: auto; }
    .video-container, .industrial-panel .model-container model-viewer { width: 100%; max-width: 100%; }

    /* Support grid padding responsive to viewport */
    .support-grid { padding: 0 clamp(8px, 3vw, 14px); }
    .diagonal-content {
      flex-direction: column;
    }
    .left-content, .right-content {
      width: 100%;
      height: 50%;
    }
  }
  
  /* Amaron Battery Catalogue Section */
  .products-section {
    display: block;
    padding-top: 5rem;
    min-height: 100vh;
    opacity: 1;
    transform: scale(1);
    transition: opacity 1s ease, transform 1s ease;
    background: transparent;
    position: relative;
    z-index: 1;
  }
  
  .products-section.show {
    opacity: 1;
    transform: scale(1);
    margin-top: 40px;
  }
  
  .products-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: limegreen;
  }
  
  /* Product Grid and Cards */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
  }
  
  .battery-card {
    background: transparent;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid var(--energy-blue);
    position: relative;
    overflow: hidden;
  }

  .battery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.1), transparent);
    animation: battery-shimmer 3s infinite;
  }

  @keyframes battery-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
  }
  
  .battery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.3);
    border-color: var(--energy-blue);
  }
  
  .battery-image img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
  }
  
  .battery-info p {
    margin: 0.5rem 0;
    color: #fff;
    flex-grow: 1;
  }
  
  .buy-btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    background: #f2781c;
    color: #fff;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
  }
  .buy-btn:hover {
    background: white;
    color: #f2781c;
  }
  
  .pagination {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
  }
  
  /* Pagination Button Styling */
  .pagination .page-btn {
    background: #222;
    color: white;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    margin: 0 0.3rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .pagination .page-btn:hover {
    background: #333;
    border-color: #f2781c;
    color: #f2781c;
    box-shadow: 0 0 10px rgba(242, 120, 28, 0.5);
  }
  
  .pagination .page-btn.active-page {
    background: #f2781c;
    border-color: #f2781c;
    color: black;
    font-weight: bold;
  }
  
  /* Update hover effect for fill divs */
  .left-content:hover ~ .left-fill {
    opacity: 0.6;
  }
  
  .right-content:hover ~ .right-fill {
    opacity: 0.6;
  }
  
  /* Update hover effect for both content panels (keep transform, remove filter) */
  .left-content:hover,
  .right-content:hover {
    transform: translateY(-5px) scale(1.02);
    z-index: 3;
    background-color: transparent;
  }
  
  /* Define the state when the homepage is "opening" */
  .diagonal-homepage.homepage-opening .left-content {
    transform: translate(-100vw, -50vh) rotate(-45deg) scale(0.8);
    opacity: 0;
    transition: transform 1.5s ease, opacity 1s ease;
  }
  
  .diagonal-homepage.homepage-opening .right-content {
    transform: translate(100vw, 50vh) rotate(45deg) scale(0.8);
    opacity: 0;
    transition: transform 1.5s ease, opacity 1s ease;
  }
  
  .diagonal-homepage.homepage-opening .diagonal-bg {
    transform: scale(1.5);
    opacity: 0;
    transition: transform 1.5s ease, opacity 1s ease;
  }
  
  /* Keep fade out for fill divs */
  .diagonal-homepage.homepage-opening .left-fill,
  .diagonal-homepage.homepage-opening .right-fill {
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  /* HOMEPAGE - CYBERNETIC GRID STYLE */
  .homepage-grid-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0a0a0a; /* Dark background */
  }
  
  .grid-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(50, 205, 50, 0.1) 1px, transparent 1px), linear-gradient(to bottom, rgba(50, 205, 50, 0.1) 1px, transparent 1px);
    background-size: 40px 40px; /* Size of the grid cells */
    opacity: 0.2;
    z-index: 0;
    animation: grid-fade-in 2s ease-out;
  }
  
  @keyframes grid-fade-in {
    from { opacity: 0; }
    to { opacity: 0.2; }
  }
  
  .homepage-content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px; /* Drastically reduced gap to eliminate empty space */ /* Space between panels */
  }
  
  .content-panel {
    background-color: rgba(30, 30, 30, 0.6); /* Semi-transparent dark panel */
    border: 1px solid rgba(50, 205, 50, 0.3); /* Subtle green border */
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  }
  
  .content-panel:hover {
    transform: translateY(-10px) scale(1.03); /* Lift and slightly scale on hover */
    border-color: #32CD32; /* Vibrant green border on hover */
    box-shadow: 0 0 25px rgba(50, 205, 50, 0.6); /* Green glow on hover */
  }
  
  .content-panel h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 0 10px rgba(50, 205, 50, 0.4); /* Subtle text glow */
  }
  
  /* HOMEPAGE - ABSTRACT GEOMETRIC LAYERS STYLE */
  .homepage-layers-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0a0a0a; /* Dark background */
  }
  
  .geometric-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(70, 80, 90, 0.2) 0%, transparent 50%); /* Subtle radial gradient */
    z-index: 0;
  }
  
  .geometric-background::before, .geometric-background::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    opacity: 0.15;
    z-index: -1;
    filter: blur(60px);
  }
  
  .geometric-background::before {
    top: -50%;
    left: -50%;
    background: linear-gradient(135deg, rgba(50, 205, 50, 0.6) 0%, transparent 50%); /* Green gradient layer */
    transform: rotate(30deg);
  }
  
  .geometric-background::after {
    bottom: -50%;
    right: -50%;
    background: linear-gradient(45deg, rgba(199, 21, 133, 0.6) 0%, transparent 50%); /* Pink gradient layer */
    transform: rotate(-30deg);
  }
  
  .homepage-content-panels {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px; /* Drastically reduced gap to eliminate empty space */ /* Space between panels */
  }
  
  .content-panel {
    background-color: rgba(30, 30, 30, 0.7); /* Semi-transparent dark panel */
    border: 1px solid rgba(200, 200, 200, 0.15); /* Subtle border */
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  }
  
  .content-panel.amaron-panel:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: #32CD32; /* Vibrant green border on hover */
    box-shadow: 0 0 25px rgba(50, 205, 50, 0.6); /* Green glow on hover */
  }
  
  .content-panel.hegmo-panel:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: #C71585; /* Vibrant pink border on hover */
    box-shadow: 0 0 25px rgba(199, 21, 133, 0.6); /* Pink glow on hover */
  }
  
  .content-panel h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
  }
  
  /* HOMEPAGE - MINIMALIST CONSOLE/INTERFACE STYLE */
  .homepage-console-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0a0a0a; /* Dark background */
    font-family: 'Share Tech Mono', monospace; /* Console font */
  }
  
  .console-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(to bottom, #0a0a0a, #111 1px, #0a0a0a 3px);
    opacity: 0.4;
    z-index: 0;
  }
  
  .console-panels-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 60px; /* Space between panels */
  }
  
  .console-panel {
    background-color: rgba(0, 255, 0, 0.05); /* Subtle green background */
    border: 1px solid #00ff00; /* Green border */
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3); /* Green glow */
    border-radius: 4px;
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    width: 300px; /* Fixed width for panels */
  }
  
  .console-panel.hegmo-panel {
    background-color: rgba(199, 21, 133, 0.05); /* Subtle pink background */
    border: 1px solid #C71585; /* Pink border */
    box-shadow: 0 0 15px rgba(199, 21, 133, 0.3); /* Pink glow */
  }
  
  .console-panel:hover {
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.6); /* Stronger green glow on hover */
  }
  
  .console-panel.hegmo-panel:hover {
    box-shadow: 0 0 30px rgba(199, 21, 133, 0.6); /* Stronger pink glow on hover */
  }
  
  .panel-header {
    font-size: 0.9rem;
    color: #00ff00; /* Green text */
    margin-bottom: 20px;
  }
  
  .console-panel.hegmo-panel .panel-header {
    color: #C71585; /* Pink text for Hegmo */
  }
  
  .panel-body h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white; /* White text for main headings */
  }
  
  .panel-body p {
    font-size: 1rem;
    color: #ccc; /* Lighter grey text for descriptions */
    margin-bottom: 20px;
  }
  
  /* Console Button Style */
  .console-button {
    display: inline-block;
    padding: 8px 15px;
    font-size: 1rem;
    background: transparent;
    color: #00ff00; /* Green text */
    border: 1px solid #00ff00; /* Green border */
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .console-panel.hegmo-panel .console-button {
    color: #C71585; /* Pink text for Hegmo */
    border-color: #C71585; /* Pink border for Hegmo */
  }
  
  .console-button:hover {
    background-color: #00ff00; /* Green background on hover */
    color: #0a0a0a; /* Dark text on hover */
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  }
  
  .console-panel.hegmo-panel .console-button:hover {
    background-color: #C71585; /* Pink background on hover */
    color: #0a0a0a; /* Dark text on hover */
    box-shadow: 0 0 10px rgba(199, 21, 133, 0.5);
  }
  
  /* FUTURE-TECH THEME STYLES */
  :root {
    --neon-blue: #00f3ff;
    --neon-pink: #ff00ff;
    --neon-green: #39ff14;
    --dark-bg: #0a0a0a;
    --panel-bg: rgba(20, 20, 20, 0.8);
    --glow-intensity: 0.8;
    --energy-blue: #00aaff;
    --energy-purple: #aa00ff;
    --energy-green: #00ffaa;
    --dark-bg-energy: #05051a;
    --panel-bg-energy: rgba(10, 10, 30, 0.7);
  }
  
  /* ANIMATIONS */
  @keyframes text-reveal {
    from { width: 0; }
    to { width: 100%; }
  }
  
  @keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--neon-blue); }
  }
  
  @keyframes fadeInScaleUp {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
  }
  
  @keyframes circuit-flow {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
  }
  
  @keyframes icon-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
  }
  
  @keyframes fluid-motion {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  @keyframes pulse-glow {
    0% { box-shadow: 0 0 10px var(--energy-blue); }
    50% { box-shadow: 0 0 25px var(--energy-blue), 0 0 30px var(--energy-purple); }
    100% { box-shadow: 0 0 10px var(--energy-blue); }
  }
  
  @keyframes energy-flow-line {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  
  /* FUTURE-TECH CONTAINER */
  .future-tech-container {
    position: relative;
    width: 100vw;
    min-height: 100vh; /* Use min-height instead of height for content flexibility */
    overflow-x: hidden; /* Hide horizontal overflow */
    background: var(--dark-bg);
  }
  
  .cyber-background {
    position: fixed; /* Keep background fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    z-index: 0;
  }
  
  .circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      linear-gradient(90deg, rgba(0, 243, 255, 0.1) 1px, transparent 1px),
      linear-gradient(0deg, rgba(0, 243, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: circuit-flow 20s linear infinite; /* Animated circuit flow */
  }
  
  .glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
      rgba(0, 243, 255, 0.1) 0%,
      transparent 70%);
    animation: pulse 4s infinite;
  }
  
  @keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; }
  }
  
  /* TECH PANELS */
  .tech-panels-wrapper {
    display: flex;
    gap: 60px; /* Space between panels */
    justify-content: center; /* Center the panels */
    flex-wrap: wrap; /* Allow panels to wrap on smaller screens */
  }
  
  .tech-panel {
    background: var(--panel-bg);
    border: 1px solid var(--neon-blue);
    border-radius: 4px;
    padding: 30px;
    width: 100%; /* Make panels take full width on smaller screens */
    max-width: 350px; /* Max width for wider screens */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .tech-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
      transparent 0%,
      rgba(0, 243, 255, 0.1) 50%,
      transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
  }
  
  .tech-panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
  }
  
  .tech-panel:hover::before {
    transform: translateX(100%);
  }
  
  .panel-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .cyber-line {
    flex: 1;
    height: 1px;
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
  }
  
  .panel-title {
    margin: 0 15px;
    color: var(--neon-blue);
    font-family: 'Orbitron', sans-serif; /* Match Experience font */
    font-weight: 700; /* Match Experience font weight */
    font-size: 1.2rem;
    letter-spacing: 1px; /* Match Experience letter spacing */
    text-shadow: 0 0 10px var(--neon-blue);
    text-transform: uppercase; /* Match Experience text transform */
  }
  
  .tech-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    position: relative;
    border: 2px solid var(--neon-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--neon-blue);
    opacity: 0.2;
    animation: iconPulse 2s infinite;
  }
  
  @keyframes iconPulse {
    0% { transform: scale(0.8); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.4; }
    100% { transform: scale(0.8); opacity: 0.2; }
  }
  
  .panel-body h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
    text-align: center;
  }
  
  .panel-body p {
    color: #ccc;
    text-align: center;
    margin-bottom: 25px;
  }
  
  /* CYBER BUTTON */
  .cyber-button {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
  }
  
  .cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(0, 243, 255, 0.2),
      transparent
    );
    transition: 0.5s;
  }
  
  .cyber-button:hover {
    background: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 20px var(--neon-blue);
  }
  
  .cyber-button:hover::before {
    left: 100%;
  }
  
  /* PAGINATION */
  .cyber-page-btn {
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 8px 15px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .cyber-page-btn:hover {
    background: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 15px var(--neon-blue);
  }
  
  /* HERO SECTION */
  .hero-section {
    position: relative;
    width: 100%;
    height: 320px;
    padding: 0;
    text-align: center;
    z-index: 2;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: -35px; /* Close the gap with the reduced navigation bar */
  }
  
  .banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  /* Responsive Design */
  @media (max-width: 1023px) {
    .hero-section {
      height: 240px;
    }
  }
  
  /* Three Column Reasons Section */
  .reasons-section {
    background: #f5f5f5;
    padding: 20px 20px; /* Reduced padding */
    position: relative;
    z-index: 2;
    margin-top: -10px; /* Negative margin to close gap with previous section */
  }

  .reasons-section .section-title {
    color: black; /* Black text for WHY CHOOSE US title */
  }
  
  .reasons-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
  }
  
  .reason-column {
    display: flex;
    flex-direction: column;
  }
  
  .reason-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  }
  
  .reason-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .reason-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .reason-img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .reason-card:hover .reason-img {
    transform: scale(1.05);
  }
  
  /* Responsive Design for Reasons Section */
  @media (max-width: 1023px) {
    .reasons-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
  }
  
  @media (max-width: 1023px) {
    .reasons-section {
      padding: 30px 20px;
    }
    
    /* Why Choose Us: horizontal swipe carousel on mobile */
    .reasons-container {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: 100vw; /* one full viewport per slide */
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 0;
      padding: 0 0 12px 0;

      overscroll-behavior-x: contain;
      touch-action: pan-x;
      /* scale cards so full frame is visible on narrow screens */
      --rcardW: 460px;
      --rcardH: 624px;
      --rcardPad: 24px; /* breathing space */
      --rcardScale: calc(min(100vw - var(--rcardPad), var(--rcardW)) / var(--rcardW));
    }
    .reasons-container::-webkit-scrollbar { display: none; }
    .reasons-container > .reason-column { 
      scroll-snap-align: center; 
      width: 100vw;
      display: flex; 
      justify-content: center; 
      align-items: center; 
      padding: 0; 
      height: calc(var(--rcardH) * var(--rcardScale) + 8px);
    }
    .reasons-container > .reason-column .reason-card {
      width: var(--rcardW);
      height: var(--rcardH);
      transform: scale(var(--rcardScale));
      transform-origin: center center;
    }
    
    .reason-card {
      padding: 15px;
    }
    
    .reason-title {
      font-size: 1rem;
    }
  }
  
  .cyber-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 0 20px var(--energy-blue),
                  0 0 40px var(--energy-blue);
    animation: titleGlow 2s infinite;
  }
  
  @keyframes titleGlow {
    0% { text-shadow: 0 0 20px var(--energy-blue),
                      0 0 40px var(--energy-blue); }
    50% { text-shadow: 0 0 30px var(--energy-blue),
                      0 0 60px var(--energy-blue); }
    100% { text-shadow: 0 0 20px var(--energy-blue),
                       0 0 40px var(--energy-blue); }
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 40px;
  }
  
  .hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
  }
  
  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--energy-blue);
    text-shadow: 0 0 10px var(--energy-blue);
  }
  
  .stat-label {
    font-size: 1rem;
    color: #ccc;
    margin-top: 5px;
  }
  
  /* MAIN CONTENT */
  .main-content {
    position: relative;
    z-index: 1;
    padding: 5px 15px; /* Drastically reduced padding to eliminate empty spaces */
    padding-top: 30px; /* Drastically reduced top padding */
    max-width: 1800px; /* Increased from 1400px for wider content */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Drastically reduced gap to eliminate empty space */
  }
  
  /* FEATURE LIST */
  .feature-list {
    margin: 20px 0;
  }
  
  .feature-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
    color: #ccc;
  }
  
  .feature-icon {
    margin-right: 10px;
    font-size: 1.2rem;
  }

  /* Mobile Tabs + Swipe Track */
  .mobile-tab-bar { display: none; }
  .mobile-reasons-tab-bar { display: none; }
  .mobile-tab { 
    background: rgba(255,255,255,.75); color: #000; border: 1px solid rgba(0,0,0,.25);
    padding: 8px 12px; border-radius: 20px; font-family: 'Orbitron', sans-serif; letter-spacing: .5px;
    font-size: 0.85rem; font-weight: 500;
  }
  .mobile-tab.active { 
    background: linear-gradient(180deg, #3aa85c, #2f8b4e); 
    border-color: #8BC34A; 
    box-shadow: 0 2px 8px rgba(139, 195, 74, 0.3);
  }

  @media (max-width: 1023px) {
    body { 
      overflow-x: hidden; 
      margin: 0;
      padding: 0;
    }
    
    /* Force homepage mobile layout */
    .homepage .heavy-duty-panels-wrapper {
      display: block !important;
      justify-content: initial !important;
      flex-wrap: initial !important;
      gap: 0 !important;
      flex-direction: column !important;
      align-items: center !important;
      position: relative !important;
      height: 62vh !important;
      width: calc(100vw - 50px) !important;
      max-width: calc(100vw - 50px) !important;
      overflow: hidden !important;
      margin: 0 auto !important;
      padding: 0 !important;
      box-sizing: border-box !important;
    }
    
    .homepage .mobile-tab-bar {
      display: flex !important;
    }
    
    .homepage .industrial-panel {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      border-radius: 15px !important;
      margin: 0 !important;
      padding: 0 !important;
      display: flex !important;
      flex-direction: column !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
      max-width: none !important;
      transform: none !important;
    }
    
    .homepage .industrial-panel.active {
      opacity: 1 !important;
      visibility: visible !important;
      z-index: 10 !important;
      display: flex !important;
    }
    
    /* Remove excessive top spacing */
    .homepage {
      padding-top: 0 !important;
      margin-top: 0 !important;
    }
    
    /* Fix canvas positioning */
    #homepage-canvas {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
      z-index: -1 !important;
    }
    
    /* Main content container padding */
    .main-content {
      padding: 0 0 120px 0;
      margin-top: 0 !important;
      box-sizing: border-box;
    }
    
    /* Override desktop flex layout for main content panels */
    .heavy-duty-panels-wrapper {
      display: block !important;
      justify-content: initial !important;
      flex-wrap: initial !important;
      gap: 0 !important;
      flex-direction: column !important;
      align-items: center !important;
    }
    
    /* Mobile tabs - Close to hero */
    .mobile-tab-bar { 
      display: flex !important; 
      gap: 12px; 
      justify-content: center; 
      margin: 10px 0 15px 0; 
      padding: 0 20px;
      background: transparent;
      position: relative;
      z-index: 20;
    }
    
    /* Simple mobile main content - stack vertically, show one at a time */
    .heavy-duty-panels-wrapper {
      position: relative;
      height: 62vh;
      width: calc(100vw - 50px);
      max-width: calc(100vw - 50px);
      overflow: hidden;
      margin: 0 auto;
      padding: 0;
      box-sizing: border-box;
    }
    
    .industrial-panel {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      border-radius: 15px !important;
      margin: 0 !important;
      padding: 0 !important;
      display: flex !important;
      flex-direction: column !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
      max-width: none !important;
      transform: none !important;
    }
    
    /* Show active panel */
    .industrial-panel.active {
      opacity: 1 !important;
      visibility: visible !important;
      z-index: 10;
      display: flex !important;
    }
    
    /* Mobile-only panel rules */
    
    /* Panel headers */
    .industrial-panel .panel-header {
      padding: 25px 20px 15px;
      text-align: center;
      background: rgba(0,0,0,0.4);
      -webkit-backdrop-filter: blur(8px);
      backdrop-filter: blur(8px);
    }
    
    .industrial-panel .panel-header .panel-title {
      font-size: 1.6rem;
      font-weight: 700;
      color: #fff;
      text-shadow: 0 2px 8px rgba(0,0,0,0.8);
      margin: 0;
      text-transform: uppercase;
      letter-spacing: 1.5px;
    }
    
    /* Panel content */
    .industrial-panel .panel-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      padding: 15px;
      overflow-y: auto;
    }
    
    .industrial-panel .panel-body {
      flex: 1;
      padding: 15px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      text-align: center;
      width: 100%;
      overflow-y: auto;
    }
    
    /* Video styling */
    .video-panel .video-container {
      width: calc(100% - 20px);
      max-width: calc(100% - 20px);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 25px rgba(0,0,0,0.6);
      margin: 0 auto 25px auto;
      aspect-ratio: 16 / 9;
    }
    
    .video-panel .amaron-video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .video-panel .robot-description {
      color: #fff;
      margin: 20px 15px 15px 15px;
      padding: 0 10px;
    }
    
    .video-panel .robot-description p {
      font-size: 1rem;
      line-height: 1.6;
      margin: 12px 0;
      text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    }
    
    .video-panel .robot-description .robot-intro {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 8px;
    }
    
    .video-panel .robot-description .highlight-text {
      color: #3aa85c;
      font-weight: 700;
      text-transform: uppercase;
    }
    
    /* Amaron panel specific */
    .amaron-panel {
      background: linear-gradient(135deg, rgba(58,168,92,0.2) 0%, rgba(0,0,0,0.9) 100%);
    }
    
    .amaron-panel .panel-header .panel-title {
      color: #3aa85c;
    }
    
    .amaron-panel .model-container {
      width: 100%;
      margin: 15px 0;
    }
    
    .amaron-panel model-viewer {
      width: 100%;
      height: 45vh;
      border-radius: 12px;
      background: rgba(255,255,255,0.05);
    }
    
    .amaron-panel h2 {
      color: #8BC34A;
      font-size: 1.1rem;
      margin: 15px 0 8px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    
    .amaron-panel p {
      color: #ccc;
      font-size: 1rem;
      margin-bottom: 20px;
    }
    
    .amaron-panel .heavy-duty-button {
      background: linear-gradient(45deg, #3aa85c, #2f8b4e);
      color: white;
      padding: 12px 25px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0 4px 12px rgba(58,168,92,0.4);
      margin-top: 15px;
      display: inline-block;
    }
    
    /* Keep header models visible but remove their backgrounds on mobile */
    .industrial-panel .panel-header .sitting-model,
    .industrial-panel .panel-header .looking-around-model {
      background: transparent !important;
      --poster-color: transparent !important;
      box-shadow: none !important;
      border: none !important;
      -webkit-backdrop-filter: none !important;
      backdrop-filter: none !important;
    }
    
    /* Remove any container backgrounds around the models */
    .industrial-panel .panel-header model-viewer {
      background: transparent !important;
      --poster-color: transparent !important;
      box-shadow: none !important;
      border: none !important;
      -webkit-backdrop-filter: none !important;
      backdrop-filter: none !important;
      background-color: transparent !important;
    }
    
    /* Why Choose Us Mobile Tabs */
    .mobile-reasons-tab-bar {
      display: flex;
      gap: 6px;
      justify-content: center;
      margin: 20px 0;
      padding: 0 15px;
    }
    
    .mobile-reasons-tab {
      background: rgba(0,0,0,0.8);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.3);
      padding: 8px 12px;
      border-radius: 20px;
      font-family: 'Orbitron', sans-serif;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: all 0.3s ease;
      flex: 1;
      max-width: 100px;
    }
    
    .mobile-reasons-tab.active {
      background: rgba(0,0,0,0.9);
      color: #fff;
      border-color: rgba(255,255,255,0.5);
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    
    /* Why Choose Us Mobile Layout */
    .reasons-container {
      position: relative;
      height: 62vh !important; /* Same as main content cards */
      width: calc(100vw - 50px) !important; /* Same as main content cards */
      max-width: calc(100vw - 50px);
      overflow: hidden;
      margin: 20px auto;
      padding: 0;
      box-sizing: border-box;
      left: 50%;
      transform: translateX(-50%);
    }
    
    .reason-column {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      display: flex !important;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    
    .reason-column.active {
      opacity: 1 !important;
      visibility: visible !important;
      z-index: 10;
    }
    
    .reason-card {
      background: white;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
      text-align: center;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    
    .reason-title {
      color: #333;
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 20px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    
    .reason-image {
      margin: 15px 0;
    }
    
    .reason-img {
      width: 100%;
      max-width: 100%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.5);
      object-fit: cover;
    }
    
    /* Mobile Navigation Styles - Fix positioning */
    .main-navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      margin: 0;
      padding: 0;
    }
    
    /* Mobile Header - Proper App Style */
    .main-nav-bar {
      padding: 8px 15px !important;
      min-height: 50px !important;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(0, 0, 0, 0.95) !important;
      -webkit-backdrop-filter: blur(10px) !important;
      backdrop-filter: blur(10px) !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    

    
    .navbar-logo {
      height: 32px !important;
      width: auto !important;
    }
    
    .search-section {
      flex: 1;
      max-width: 140px;
      margin-left: 8px;
    }
    
    .search-container {
      display: flex;
      background: rgba(255,255,255,0.1);
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.2);
    }
    
    .search-input {
      flex: 1;
      padding: 6px 8px;
      background: transparent;
      border: none;
      color: white;
      font-size: 0.7rem;
    }
    
    .search-input::placeholder {
      color: rgba(255,255,255,0.6);
      font-size: 0.7rem;
    }
    
    .search-btn {
      padding: 6px 8px;
      background: linear-gradient(45deg, #3aa85c, #2f8b4e);
      border: none;
      color: white;
      cursor: pointer;
      font-size: 0.8rem;
    }
    
    /* Mobile Bottom Navigation - Compact Horizontal Scroll */
    .bottom-nav {
      background: rgba(255,255,255,0.95) !important;
      -webkit-backdrop-filter: blur(15px) !important;
      backdrop-filter: blur(15px) !important;
      padding: 12px 0 !important;
      border-top: 1px solid rgba(0,0,0,0.1) !important;
      overflow-x: auto;
      white-space: nowrap;


      -ms-overflow-style: none;
      box-shadow: 0 -2px 20px rgba(0,0,0,0.1) !important;
    }
    
    .bottom-nav::-webkit-scrollbar {
      display: none;
    }
    
    .nav-center {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      gap: 8px !important;
      padding: 8px 5px !important;
      justify-content: center !important;
      position: relative !important;
      left: auto !important;
      transform: none !important;
    }

    .nav-main-links {
      display: flex !important;
      flex-direction: row !important;
      gap: 8px !important;
      justify-content: center !important;
      flex-wrap: nowrap !important;
    }

    .nav-brand-links {
      display: flex;
      gap: 8px;
      justify-content: center;
      flex-wrap: nowrap;
      opacity: 0;
      max-height: 0;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .nav-brand-links.show {
      opacity: 1;
      max-height: 50px;
    }

    .nav-brand-links .nav-link {
      font-size: 0.7rem !important;
      padding: 6px 12px !important;
      background: rgba(0, 0, 0, 0.05) !important;
      border: 1px solid rgba(0, 0, 0, 0.2) !important;
    }

    .nav-brand-links .nav-link.amaron-brand {
      border-color: rgba(139, 195, 74, 0.5) !important;
      color: #8BC34A !important;
    }

    .nav-brand-links .nav-link.hegmo-brand {
      border-color: rgba(227, 28, 35, 0.5) !important;
      color: #E31C23 !important;
    }

    .nav-brand-links .nav-link.amaron-brand:hover {
      background: rgba(139, 195, 74, 0.1) !important;
      border-color: #8BC34A !important;
    }

    .nav-brand-links .nav-link.hegmo-brand:hover {
      background: rgba(227, 28, 35, 0.1) !important;
      border-color: #E31C23 !important;
    }

    /* Hide dropdown on mobile, show inline brand links */
    .dropdown,
    .dropdown-menu {
      display: none !important;
    }
    
    .nav-brand-links {
      display: flex !important;
    }
    
    .nav-left, .nav-right {
      display: none !important;
    }
    
    /* COMPLETELY HIDE nav-right on mobile */
    .nav-right {
      display: none !important;
      visibility: hidden !important;
      width: 0 !important;
      height: 0 !important;
      overflow: hidden !important;
    }
    
    .nav-right * {
      display: none !important;
    }
    
    .nav-link {
      font-size: 0.75rem !important;
      font-weight: 700 !important;
      padding: 8px 10px !important;
      border-radius: 8px !important;
      color: #000 !important;
      text-decoration: none;
      transition: all 0.3s ease;
      white-space: nowrap;
      background: rgba(0, 0, 0, 0.08) !important;
      border: 1px solid rgba(0, 0, 0, 0.15) !important;
      -webkit-backdrop-filter: blur(8px) !important;
      backdrop-filter: blur(8px) !important;
      min-width: -webkit-fill-available;
      min-width: -moz-available;
    }
    
    .nav-link:hover, .nav-link:focus, .nav-link.active {
      color: #000 !important;
      background: rgba(0,0,0,0.12) !important;
      border-color: rgba(0,0,0,0.25) !important;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }
    
    /* Clean mobile navigation - no arrows needed */
    
    /* Mobile Branch Selector - Moved to avoid overlap */
    #branchToggle {
      position: fixed;
      top: 45px;
      right: 10px;
      background: rgba(139, 195, 74, 0.15) !important;
      border: 1px solid rgba(139, 195, 74, 0.3) !important;
      -webkit-backdrop-filter: blur(8px) !important;
      backdrop-filter: blur(8px) !important;
      color: #000;
      padding: 5px 8px;
      border-radius: 12px;
      font-size: 0.7rem;
      z-index: 100;
    }
    
    .branch-menu {
      position: fixed;
      top: 75px;
      right: 10px;
      width: 180px;
      z-index: 101;
    }
    
    /* Old dropdown styles removed - using inline brand layout */
    
    .dropdown-item {
      display: block;
      padding: 12px 20px;
      color: #333;
      text-decoration: none;
      font-size: 0.9rem;
      transition: all 0.3s ease;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .dropdown-item:hover {
      background: #f5f5f5;
      color: #333;
    }
    
    .dropdown-item:last-child {
      border-bottom: none;
    }
    
    .dropdown-item:hover {
      background: rgba(58,168,92,0.2);
      color: #8BC34A;
    }
    
    /* Mobile Footer */
    .mobile-footer {
      background: rgba(255,255,255,0.95);
      padding: 20px 15px;
      margin-top: 30px;
      border-top: 1px solid rgba(58,168,92,0.3);
    }
    
    .mobile-footer-content {
      text-align: center;
    }
    
    .mobile-footer h4 {
      color: #8BC34A;
      font-size: 1rem;
      margin-bottom: 15px;
      font-family: 'Orbitron', sans-serif;
    }
    
    .mobile-footer-links {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-bottom: 15px;
      flex-wrap: wrap;
    }
    
    .mobile-footer-links a {
      color: #000;
      text-decoration: none;
      font-size: 0.8rem;
      padding: 5px 10px;
      border-radius: 10px;
      transition: all 0.3s ease;
    }
    
    .mobile-footer-links a:hover {
      background: rgba(58,168,92,0.2);
      color: #8BC34A;
    }
    
    .mobile-social-icons {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-bottom: 15px;
    }
    
    .mobile-social-icons a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      background: rgba(0,0,0,0.1);
      transition: all 0.3s ease;
    }
    
    .mobile-social-icons a:hover {
      background: rgba(58,168,92,0.3);
      transform: scale(1.1);
    }
    
    .mobile-copyright {
      color: rgba(0,0,0,0.6);
      font-size: 0.7rem;
      font-family: 'Orbitron', sans-serif;
      letter-spacing: 0.5px;
    }
  }
  
  /* ULTIMATE CONTACT EXPERIENCE */
  .ultimate-contact-section {
    margin-top: 10px;
    padding: 80px 20px;
    position: relative;
    z-index: 1;
    min-height: 600px;
    overflow: hidden;
  }

  /* Support Actions Grid (replaces EXACT POWER layout) */
  .support-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto 10px;
    padding: 0 12px;
    position: relative;
    z-index: 5;
  }

  .support-card {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.6);
    border-radius: 16px;
    padding: 12px 14px;
    color: #fff;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    text-align: left;
  }

  .support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0,0,0,.35);
    border-color: rgba(139,195,74,.35);
  }

  .support-icon {
    width: 46px; height: 46px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08);
    border: 2px solid rgba(255,255,255,.15);
    flex-shrink: 0;
  }

  .support-text { display: flex; flex-direction: column; line-height: 1.15; }
  .support-text strong { font-family: 'Orbitron', sans-serif; letter-spacing: 1px; font-size: 1rem; }
  .support-text em { font-family: 'Roboto Mono', monospace; font-style: normal; font-size: .85rem; opacity: .9; }

  .support-card.wa:hover { border-color: #25D36655; }
  .support-card.call:hover { border-color: #2196F355; }
  .support-card.email:hover { border-color: #FF980055; }
  .support-card.location:hover { border-color: #F4433655; }
  .support-card.deliver:hover { border-color: #4CAF5055; }

  @media (max-width: 992px) {
    .support-grid { grid-template-columns: repeat(3, 1fr); }
  }

  @media (max-width: 1023px) {
    .support-grid { grid-template-columns: 1fr; gap: 12px; padding: 0 10px; }
    .support-icon { width: 42px; height: 42px; }
    .support-text strong { font-size: .95rem; }
    .support-text em { font-size: .8rem; }
  }

  /* Dynamic Background Canvas */
  .contact-background-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
  }

  /* Quantum Energy Field */
  .quantum-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .energy-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #8BC34A;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(139, 195, 74, 0.8);
    animation: nodePulse 4s ease-in-out infinite;
  }

  .node-1 { top: 15%; left: 20%; animation-delay: 0s; }
  .node-2 { top: 25%; right: 25%; animation-delay: 0.5s; }
  .node-3 { bottom: 30%; left: 30%; animation-delay: 1s; }
  .node-4 { bottom: 25%; right: 20%; animation-delay: 1.5s; }
  .node-5 { top: 60%; left: 15%; animation-delay: 2s; }
  .node-6 { top: 70%; right: 15%; animation-delay: 2.5s; }

  /* Holographic Header */
  .holographic-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
  }

  .header-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 200px;
    pointer-events: none;
  }

  .header-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(139, 195, 74, 0.2);
    animation: headerRingRotate 12s linear infinite;
  }

  .ring-a {
    width: 100%;
    height: 100%;
    border-color: rgba(139, 195, 74, 0.3);
  }

  .ring-b {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-color: rgba(255, 235, 59, 0.3);
    animation-direction: reverse;
    animation-duration: 8s;
  }

  .ring-c {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-color: rgba(255, 152, 0, 0.3);
    animation-duration: 6s;
  }

  .holographic-title {
    position: relative;
    z-index: 5;
    margin: 0 0 20px 0;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
  }

  .title-line {
    display: block;
    font-size: 2.5rem;
    color: #8BC34A;
    text-shadow: 
      0 0 10px rgba(139, 195, 74, 0.5),
      0 0 20px rgba(139, 195, 74, 0.3),
      0 0 40px rgba(139, 195, 74, 0.2);
    animation: titleLineGlow 3s ease-in-out infinite;
  }

  .line-1 { animation-delay: 0s; }
  .line-2 { animation-delay: 0.5s; }
  .line-3 { animation-delay: 1s; }

  .holographic-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 2px;
    margin: 0 0 30px 0;
    animation: subtitleFloat 4s ease-in-out infinite;
  }

  .title-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .title-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #8BC34A;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(139, 195, 74, 0.8);
    animation: titleParticleFloat 6s ease-in-out infinite;
  }

  .tp-1 { top: 20%; left: 30%; animation-delay: 0s; }
  .tp-2 { top: 40%; right: 25%; animation-delay: 2s; }
  .tp-3 { bottom: 30%; left: 40%; animation-delay: 4s; }

  /* Neural Network Hub */
  .neural-hub {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Central Neural Core */
  .neural-core {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    z-index: 20;
  }

  .core-sphere {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .sphere-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .sphere-layer {
    position: absolute;
    border-radius: 50%;
    border: 3px solid rgba(139, 195, 74, 0.2);
    animation: sphereLayerRotate 10s linear infinite;
  }

  .layer-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(139, 195, 74, 0.4);
  }

  .layer-2 {
    width: 85%;
    height: 85%;
    top: 7.5%;
    left: 7.5%;
    border-color: rgba(255, 235, 59, 0.3);
    animation-direction: reverse;
    animation-duration: 7s;
  }

  .layer-3 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-color: rgba(255, 152, 0, 0.4);
    animation-duration: 5s;
  }

  .core-content {
    position: relative;
    z-index: 5;
    background: radial-gradient(circle, 
      rgba(139, 195, 74, 0.25) 0%, 
      rgba(0, 0, 0, 0.9) 70%);
    border: 4px solid #8BC34A;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 
      0 0 40px rgba(139, 195, 74, 0.5),
      inset 0 0 40px rgba(139, 195, 74, 0.15);
    animation: neuralCoreBreathing 4s ease-in-out infinite;
  }

  .neural-symbol {
    margin-bottom: 20px;
    animation: neuralSymbolPulse 3s ease-in-out infinite;
  }

  .neural-title {
    color: #8BC34A;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(139, 195, 74, 0.9);
  }

  .neural-tagline {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-family: 'Roboto Mono', monospace;
  }

  .quantum-delivery {
    background: linear-gradient(135deg, 
      rgba(76, 175, 80, 0.4), 
      rgba(76, 175, 80, 0.15));
    border: 2px solid rgba(76, 175, 80, 0.6);
    border-radius: 30px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
  }

  .delivery-orb {
    font-size: 1.5rem;
    margin-bottom: 3px;
    animation: deliveryOrbFloat 2s ease-in-out infinite;
  }

  .delivery-text {
    color: #4CAF50;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .delivery-locations {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
  }

  /* Neural Network Nodes */
  .neural-node {
    position: absolute;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .node-sphere {
    background: linear-gradient(135deg, 
      rgba(0, 0, 0, 0.95), 
      rgba(20, 20, 20, 0.9));
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 25px;
    width: 280px;
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    box-shadow: 
      0 12px 40px rgba(0, 0, 0, 0.4),
      inset 0 2px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
  }

  .sphere-glow {
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
    filter: blur(25px);
  }

  .whatsapp-glow { background: radial-gradient(circle, rgba(37, 211, 102, 0.4) 0%, transparent 70%); }
  .phone-glow { background: radial-gradient(circle, rgba(33, 150, 243, 0.4) 0%, transparent 70%); }
  .email-glow { background: radial-gradient(circle, rgba(255, 152, 0, 0.4) 0%, transparent 70%); }
  .location-glow { background: radial-gradient(circle, rgba(244, 67, 54, 0.4) 0%, transparent 70%); }
  .delivery-glow { background: radial-gradient(circle, rgba(76, 175, 80, 0.4) 0%, transparent 70%); }

  .neural-node:hover .sphere-glow {
    opacity: 1;
  }

  .neural-node:hover {
    transform: translateY(-15px) scale(1.08);
  }

  .node-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .node-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    position: relative;
    flex-shrink: 0;
  }

  .node-icon svg {
    color: #25D366;
  }

  .neural-node:hover .node-icon {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
  }

  .node-info {
    flex: 1;
    min-width: 0;
  }

  .node-info h4 {
    color: white;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .node-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-family: 'Roboto Mono', monospace;
    line-height: 1.4;
  }

  .neural-status {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    animation: neuralStatusPulse 2.5s ease-in-out infinite;
  }

  .online { background: #25D366; }
  .available { background: #2196F3; }
  .active { background: #FF9800; }
  .open { background: #4CAF50; }
  .delivery { background: #4CAF50; }

  /* Neural Node Positions */
  .node-whatsapp {
    top: 20px;
    left: 60px;
    animation: neuralFloat1 8s ease-in-out infinite;
  }

  .node-phone {
    top: 20px;
    right: 60px;
    animation: neuralFloat2 8s ease-in-out infinite 1s;
  }

  .node-email {
    bottom: 120px;
    left: 60px;
    animation: neuralFloat3 8s ease-in-out infinite 2s;
  }

  .node-location {
    bottom: 120px;
    right: 60px;
    animation: neuralFloat4 8s ease-in-out infinite 3s;
  }

  /* Delivery Node */
  .delivery-node {
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    animation: neuralFloat5 8s ease-in-out infinite 4s;
  }

  /* Ensure delivery node has exact same dimensions as other nodes */
  .delivery-node .node-sphere {
    width: 280px !important;
    padding: 25px !important;
    border-radius: 25px !important;
    min-height: 120px !important;
    max-width: 280px !important;
    box-sizing: border-box !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  /* Force delivery node to match other nodes exactly */
  .delivery-node {
    width: 280px !important;
    max-width: 280px !important;
    height: auto !important;
  }

  /* Ensure delivery node content matches other nodes */
  .delivery-node .node-content {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    width: 100% !important;
  }

  .delivery-node .node-info {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .delivery-node .node-icon {
    width: 60px !important;
    height: 60px !important;
    flex-shrink: 0 !important;
  }

  /* Branch Preview Animation Styles */
  .branch-preview {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    margin-left: 20px;
  }

  .branch-preview-connector {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, rgba(244, 67, 54, 0.8), transparent);
    border-radius: 1px;
    animation: energyLineFlow 2s ease-in-out infinite;
  }

  @keyframes energyLineFlow {
    0%, 100% {
      background: linear-gradient(90deg, rgba(244, 67, 54, 0.8), transparent);
      box-shadow: 0 0 5px rgba(244, 67, 54, 0.5);
    }
    50% {
      background: linear-gradient(90deg, rgba(244, 67, 54, 1), rgba(244, 67, 54, 0.3));
      box-shadow: 0 0 15px rgba(244, 67, 54, 0.8);
    }
  }

  .branch-preview-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 10px;
  }

  .branch-preview-box {
    background: linear-gradient(135deg, 
      rgba(0, 0, 0, 0.95), 
      rgba(20, 20, 20, 0.9));
    border: 2px solid rgba(244, 67, 54, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 140px;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }

  .branch-preview-box span {
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .mombasa-branches {
    border-color: rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
  }

  .nairobi-branch {
    border-color: rgba(33, 150, 243, 0.4);
    transition: all 0.3s ease;
  }

  /* Hover effects for preview boxes */
  .branch-preview-box:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    cursor: pointer;
  }

  .mombasa-branches:hover {
    border-color: rgba(76, 175, 80, 0.8);
    background: linear-gradient(135deg, 
      rgba(0, 0, 0, 0.95), 
      rgba(76, 175, 80, 0.1));
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.3);
  }

  .nairobi-branch:hover {
    border-color: rgba(33, 150, 243, 0.8);
    background: linear-gradient(135deg, 
      rgba(0, 0, 0, 0.95), 
      rgba(33, 150, 243, 0.1));
    box-shadow: 0 12px 35px rgba(33, 150, 243, 0.3);
  }

  .branch-preview-box:hover span {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }

  /* Click Animation */
  .neural-node.node-location.preview-active .branch-preview {
    opacity: 1;
    visibility: visible;
    margin-left: 30px;
  }

  .neural-node.node-location.preview-active .branch-preview-box {
    transform: scale(1);
  }

  .neural-node.node-location.preview-active .branch-preview-box:nth-child(1) {
    animation: branchPreviewSlide 0.4s ease-out 0.1s both;
  }

  .neural-node.node-location.preview-active .branch-preview-box:nth-child(2) {
    animation: branchPreviewSlide 0.4s ease-out 0.2s both;
  }

  @keyframes branchPreviewSlide {
    from {
      opacity: 0;
      transform: translateX(-20px) scale(0.8);
    }
    to {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
  }

  /* Click Animation - Expand the main node */
  .neural-node.node-location.expanded {
    transform: scale(1.1);
    z-index: 1001;
  }

  .neural-node.node-location.expanded .node-sphere {
    box-shadow: 0 0 40px rgba(244, 67, 54, 0.6);
  }

  /* Neural Connections */
  .neural-connection {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(139, 195, 74, 0.9) 50%, 
      transparent 100%);
    border-radius: 3px;
    animation: neuralConnectionFlow 5s ease-in-out infinite;
  }

  .conn-1 {
    top: 140px;
    left: 280px;
    width: 200px;
    transform: rotate(35deg);
    animation-delay: 0s;
  }

  .conn-2 {
    top: 140px;
    right: 280px;
    width: 200px;
    transform: rotate(-35deg);
    animation-delay: 1s;
  }

  .conn-3 {
    bottom: 140px;
    left: 280px;
    width: 200px;
    transform: rotate(-35deg);
    animation-delay: 2s;
  }

  .conn-4 {
    bottom: 140px;
    right: 280px;
    width: 200px;
    transform: rotate(35deg);
    animation-delay: 3s;
  }

  /* Data Streams */
  .data-stream {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(255, 235, 59, 0.8) 50%, 
      transparent 100%);
    border-radius: 2px;
    animation: dataStreamFlow 6s ease-in-out infinite;
  }

  .stream-1 {
    top: 200px;
    left: 200px;
    width: 150px;
    transform: rotate(45deg);
    animation-delay: 0.5s;
  }

  .stream-2 {
    top: 200px;
    right: 200px;
    width: 150px;
    transform: rotate(-45deg);
    animation-delay: 1.5s;
  }

  .stream-3 {
    bottom: 200px;
    left: 200px;
    width: 150px;
    transform: rotate(-45deg);
    animation-delay: 2.5s;
  }

  .stream-4 {
    bottom: 200px;
    right: 200px;
    width: 150px;
    transform: rotate(45deg);
    animation-delay: 3.5s;
  }

  /* Quantum Particles */
  .quantum-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #8BC34A;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(139, 195, 74, 0.9);
    animation: quantumParticleFloat 10s ease-in-out infinite;
  }

  .qp-1 { top: 15%; left: 10%; animation-delay: 0s; }
  .qp-2 { top: 25%; right: 15%; animation-delay: 1s; }
  .qp-3 { bottom: 20%; left: 20%; animation-delay: 2s; }
  .qp-4 { bottom: 30%; right: 10%; animation-delay: 3s; }
  .qp-5 { top: 50%; left: 5%; animation-delay: 4s; }
  .qp-6 { top: 60%; right: 5%; animation-delay: 5s; }
  .qp-7 { bottom: 50%; left: 15%; animation-delay: 6s; }
  .qp-8 { bottom: 60%; right: 15%; animation-delay: 7s; }



  /* ULTIMATE ANIMATIONS */
  @keyframes nodePulse {
    0%, 100% { 
      transform: scale(1); 
      opacity: 0.8; 
      box-shadow: 0 0 20px rgba(139, 195, 74, 0.8);
    }
    50% { 
      transform: scale(1.5); 
      opacity: 1; 
      box-shadow: 0 0 30px rgba(139, 195, 74, 1);
    }
  }

  @keyframes headerRingRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  @keyframes titleLineGlow {
    0%, 100% { 
      text-shadow: 
        0 0 10px rgba(139, 195, 74, 0.5),
        0 0 20px rgba(139, 195, 74, 0.3),
        0 0 40px rgba(139, 195, 74, 0.2);
    }
    50% { 
      text-shadow: 
        0 0 25px rgba(139, 195, 74, 0.9),
        0 0 35px rgba(139, 195, 74, 0.6),
        0 0 60px rgba(139, 195, 74, 0.4);
    }
  }

  @keyframes subtitleFloat {
    0%, 100% { transform: translateY(0px); opacity: 0.9; }
    50% { transform: translateY(-5px); opacity: 1; }
  }

  @keyframes titleParticleFloat {
    0%, 100% { 
      transform: translateY(0px) scale(1); 
      opacity: 0.8; 
    }
    25% { 
      transform: translateY(-25px) scale(1.3); 
      opacity: 1; 
    }
    50% { 
      transform: translateY(-15px) scale(0.9); 
      opacity: 0.6; 
    }
    75% { 
      transform: translateY(-35px) scale(1.2); 
      opacity: 0.9; 
    }
  }

  @keyframes sphereLayerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  @keyframes neuralCoreBreathing {
    0%, 100% { 
      transform: scale(1);
      box-shadow: 
        0 0 40px rgba(139, 195, 74, 0.5),
        inset 0 0 40px rgba(139, 195, 74, 0.15);
    }
    50% { 
      transform: scale(1.05);
      box-shadow: 
        0 0 60px rgba(139, 195, 74, 0.7),
        inset 0 0 50px rgba(139, 195, 74, 0.25);
    }
  }

  @keyframes neuralSymbolPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.15); opacity: 1; }
  }

  @keyframes deliveryOrbFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
  }

  @keyframes neuralStatusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.3); }
  }

  @keyframes neuralFloat1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(3deg); }
    50% { transform: translateY(8px) rotate(-2deg); }
    75% { transform: translateY(-20px) rotate(1deg); }
  }

  @keyframes neuralFloat2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(12px) rotate(-3deg); }
    50% { transform: translateY(-18px) rotate(2deg); }
    75% { transform: translateY(15px) rotate(-1deg); }
  }

  @keyframes neuralFloat3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(2deg); }
    50% { transform: translateY(15px) rotate(-3deg); }
    75% { transform: translateY(-18px) rotate(1deg); }
  }

  @keyframes neuralFloat4 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(18px) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
    75% { transform: translateY(20px) rotate(-2deg); }
  }

  @keyframes neuralFloat5 {
    0%, 100% { transform: translateX(-50%) translateY(0px) rotate(0deg); }
    25% { transform: translateX(-50%) translateY(-8px) rotate(-1deg); }
    50% { transform: translateX(-50%) translateY(-4px) rotate(3deg); }
    75% { transform: translateX(-50%) translateY(-12px) rotate(-2deg); }
  }

  @keyframes neuralConnectionFlow {
    0% { 
      opacity: 0; 
      transform: scale(0.8); 
    }
    50% { 
      opacity: 1; 
      transform: scale(1); 
    }
    100% { 
      opacity: 0; 
      transform: scale(0.8); 
    }
  }

  @keyframes dataStreamFlow {
    0% { 
      opacity: 0; 
      transform: scale(0.7); 
    }
    50% { 
      opacity: 0.8; 
      transform: scale(1); 
    }
    100% { 
      opacity: 0; 
      transform: scale(0.7); 
    }
  }

  @keyframes quantumParticleFloat {
    0%, 100% { 
      transform: translateY(0px) scale(1); 
      opacity: 0.8; 
    }
    20% { 
      transform: translateY(-30px) scale(1.4); 
      opacity: 1; 
    }
    40% { 
      transform: translateY(-15px) scale(0.8); 
      opacity: 0.6; 
    }
    60% { 
      transform: translateY(-40px) scale(1.2); 
      opacity: 0.9; 
    }
    80% { 
      transform: translateY(-25px) scale(0.9); 
      opacity: 0.7; 
    }
  }



  /* Branch Locations Modal */
  .branches-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }

  .branches-content {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    margin: 5% auto;
    padding: 0;
    border: 2px solid #8BC34A;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
  }

  .branches-content h2 {
    color: #8BC34A;
    text-align: center;
    padding: 20px;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    border-bottom: 1px solid rgba(139, 195, 74, 0.3);
  }

  .branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
  }

  .branch-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
  }

  .branch-card:hover {
    border-color: #8BC34A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.2);
  }

  .branch-card h3 {
    color: #8BC34A;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
  }

  .branch-card p {
    color: #ccc;
    margin: 8px 0;
    line-height: 1.4;
  }

  .branch-card p strong {
    color: white;
  }

  .map-btn {
    background: #8BC34A;
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
  }

  .map-btn:hover {
    background: #7CB342;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(139, 195, 74, 0.3);
  }

  .close-btn {
    color: #8BC34A;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 15px 20px;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .close-btn:hover {
    color: #7CB342;
    text-shadow: 0 0 10px rgba(139, 195, 74, 0.5);
  }

  /* Mobile Responsive for Ultimate Contact */
  @media (max-width: 1023px) {
    .ultimate-contact-section {
      padding: 50px 15px;
      min-height: 500px;
    }

    .holographic-title .title-line {
      font-size: 1.8rem;
      letter-spacing: 2px;
    }

    .holographic-subtitle {
      font-size: 1rem;
    }

    .neural-hub {
      height: auto;
      max-width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      padding: 10px 0;
    }

    .neural-core {
      position: relative;
      top: 0;
      left: 0;
      transform: none;
      width: 160px;
      height: 160px;
      margin-bottom: 10px;
    }

    .neural-title {
      font-size: 1.1rem;
    }

    .neural-tagline {
      font-size: 0.75rem;
    }

    .quantum-delivery {
      padding: 8px 15px;
    }

    .delivery-text {
      font-size: 0.7rem;
    }

    .delivery-locations {
      font-size: 0.6rem;
    }

    .neural-node {
      position: static;
      transform: none !important;
      animation: none;
      width: 100%;
      max-width: 340px;
      margin: 0 auto;
    }

    .node-sphere {
      width: 100%;
      max-width: 320px;
      padding: 16px;
      border-radius: 18px;
    }

    .node-icon {
      width: 44px;
      height: 44px;
    }

    .node-info h4 {
      font-size: 1rem;
    }

    .node-info span {
      font-size: 0.8rem;
    }

    /* Positions now flow-based; remove offsets */
    .node-whatsapp, .node-phone, .node-email, .node-location { top: auto; right: auto; bottom: auto; left: auto; }

    /* Delivery node same flow sizing */
    .delivery-node .node-sphere {
      width: 100% !important;
      max-width: 320px !important;
      padding: 16px !important;
      border-radius: 18px !important;
      box-sizing: border-box !important;
    }

    .delivery-node {
      width: 100% !important;
      max-width: 340px !important;
      margin-bottom: 70px;
    }



    .neural-connection {
      display: none; /* Hide neural connections on mobile */
    }

    .data-stream {
      display: none; /* Hide data streams on mobile */
    }

    .quantum-particle {
      display: none; /* Hide quantum particles on mobile */
    }

    .energy-node {
      display: none; /* Hide energy nodes on mobile */
    }

    .title-particle {
      display: none; /* Hide title particles on mobile */
    }

    .header-rings {
      display: none; /* Hide header rings on mobile */
    }

    .contact-background-canvas {
      display: none; /* Hide background canvas on mobile for performance */
    }

    /* Hide branch preview flyout on mobile to prevent overlap */
    .branch-preview { display: none !important; }

    .branches-content {
      width: 95%;
      margin: 2% auto;
    }

    .branches-grid {
      grid-template-columns: 1fr;
      gap: 15px;
      padding: 15px;
    }

    .branch-card {
      padding: 15px;
    }
  }
  
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: white;
    text-shadow: 0 0 15px var(--energy-blue);
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .feature-card {
    background: var(--panel-bg-energy);
    border: 1px solid var(--energy-blue);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.3);
  }
  
  .feature-card .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
  }
  
  .feature-card p {
    color: #ccc;
    font-size: 1rem;
  }
  
  /* QUICK CONTACT SECTION */
  .quick-contact {
    margin-top: 80px;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
  }
  
  .contact-card {
    background: var(--panel-bg-energy);
    border: 1px solid var(--energy-blue);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.2);
  }
  
  .contact-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 0 10px var(--energy-blue);
  }
  
  .contact-card p {
    color: #ccc;
    margin-bottom: 30px;
  }
  
  /* RESPONSIVE ADJUSTMENTS */
  @media (max-width: 1023px) {
    .cyber-title {
      font-size: 2.5rem;
    }
    
    .hero-stats {
      flex-direction: column;
      gap: 30px;
    }
    
    .features-grid {
      grid-template-columns: 1fr;
    }
    
    /* Removed specific tech-panel responsive styles as updated above */
  }
  
  /* DATA MODULES */
  .data-module {
    position: relative;
    width: 100%;
    max-width: 350px;
    background: var(--dark-bg);
    border: 1px solid var(--neon-blue);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    margin: 0 auto; /* Center modules when stacked */
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
  }
  
  .data-module model-viewer {
    width: 100%;
    height: 200px;
    margin: 20px auto;
  }
  
  .data-module:hover {
    border-color: var(--neon-pink); /* Change border color on hover */
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.3); /* Pink glow on hover */
    transform: translateY(-10px) scale(1.02);
  }
  
  .module-border {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(0, 243, 255, 0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
  }
  
  .data-module:hover .module-border {
    transform: translateX(100%);
  }
  
  .module-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    background: var(--panel-bg); /* Semi-transparent background */
  }
  
  /* Amaron and Hegmo specific styles (optional, for color variations) */
  .data-module.amaron-module .module-border {
    background: linear-gradient(45deg, transparent 0%, rgba(0, 243, 255, 0.2) 50%, transparent 100%);
  }
  
  .data-module.hegmo-module .module-border {
    background: linear-gradient(45deg, transparent 0%, rgba(255, 0, 255, 0.2) 50%, transparent 100%);
  }
  
  .data-module.amaron-module:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
  }
  
  .data-module.hegmo-module:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.3);
  }
  
  .data-module.amaron-module .panel-title,
  .data-module.amaron-module .cyber-line,
  .data-module.amaron-module .tech-icon,
  .data-module.amaron-module .icon-glow,
  .data-module.amaron-module .cyber-button,
  .data-module.amaron-module .cyber-button::before {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
    background: var(--neon-blue);
  }
  
  .data-module.hegmo-module .panel-title,
  .data-module.hegmo-module .cyber-line,
  .data-module.hegmo-module .tech-icon,
  .data-module.hegmo-module .icon-glow,
  .data-module.hegmo-module .cyber-button,
  .data-module.hegmo-module .cyber-button::before {
    color: var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
    background: var(--neon-pink);
  }
  
  /* Ensure existing styles for inner elements like h2, p, feature-list apply within module-content */
  
  /* INDUSTRIAL POWER THEME STYLES */
  :root {
    --industrial-dark-bg: #1a1a1a;
    --industrial-panel-bg: rgba(30, 30, 30, 0.9);
    --industrial-accent-yellow: #ffcc00;
    --industrial-accent-red: #cc3300;
    --industrial-border-gray: #555;
    --industrial-accent-hegmo-red: #E31C23;
  }
  

  
  /* ANIMATIONS - Adjust or add new ones for industrial feel */
  /* Example: subtle machine hum or flicker */
  

  
  /* INDUSTRIAL CONTAINER */
  .industrial-container {
    position: relative;
    width: 100vw;
    overflow-x: hidden;
    z-index: 1;
    margin-top: 10px; /* Reduced space between banner and main content */
    padding-bottom: 50px; /* Increased bottom spacing for better separation */
  }
  
  .metal-background {
    display: none; /* Hide the old background since we're using the universe background */
  }
  

  
  /* MAIN CONTENT */
  .main-content {
    position: relative;
    z-index: 1;
    padding: 5px 15px; /* Drastically reduced padding to eliminate empty spaces */
    padding-top: 30px; /* Drastically reduced top padding */
    max-width: 1800px; /* Increased from 1400px for wider content */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Drastically reduced gap to eliminate empty space */
  }
  
  /* INDUSTRIAL PANELS */
  .heavy-duty-panels-wrapper {
    display: flex;
    gap: 10px; /* Drastically reduced gap to eliminate empty spaces */
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .industrial-panel {
    position: relative;
    width: 100%;
    max-width: 400px; /* Increased from 350px */
    background: var(--industrial-panel-bg);
    border: 2px solid var(--industrial-border-gray); /* Default gray border */
    border-radius: 5px; /* Slightly sharper corners */
    overflow: hidden;
    transition: all 0.4s ease;
    margin: 0 auto 0; /* No bottom margin to eliminate gaps */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  }
  
  /* Amaron specific styles */
  .industrial-panel.amaron-panel {
    border-color: var(--industrial-accent-yellow); /* Yellow border */
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4); /* Yellow glow */
  }
  
  .industrial-panel:hover {
    border-color: var(--industrial-accent-yellow);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.4); /* Yellow glow on hover */
    transform: translateY(-8px);
  }
  
  /* Amaron panel hover */
  .industrial-panel.amaron-panel:hover {
    border-color: var(--industrial-accent-yellow); /* Yellow border on hover */
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.6); /* Stronger yellow glow */
  }
  
  /* Hegmo specific styles */
  .industrial-panel.hegmo-panel {
    border-color: var(--industrial-accent-hegmo-red); /* Hegmo red border */
    box-shadow: 0 0 15px rgba(227, 28, 35, 0.4); /* Hegmo red glow */
  }
  
  .industrial-panel.hegmo-panel:hover {
    border-color: var(--industrial-accent-hegmo-red); /* Hegmo red border on hover */
    box-shadow: 0 0 20px rgba(227, 28, 35, 0.6); /* Stronger Hegmo red glow */
  }

  /* Video Panel specific styles */
  .industrial-panel.video-panel {
    border-color: var(--industrial-accent-yellow); /* Yellow border to match Amaron */
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4); /* Yellow glow */
  }
  
  .industrial-panel.video-panel:hover {
    border-color: var(--industrial-accent-yellow); /* Yellow border on hover */
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.6); /* Stronger yellow glow */
  }

  /* Video Panel title */
  .industrial-panel.video-panel .panel-header .panel-title {
    color: #8BC34A; /* Green color similar to the image */
    text-shadow: 0 0 10px rgba(139, 195, 74, 0.5); /* Match Experience text shadow */
    font-family: 'Orbitron', sans-serif; /* Match Experience font */
    font-weight: 700; /* Match Experience font weight */
    letter-spacing: 1px; /* Match Experience letter spacing */
    text-transform: uppercase;
    font-size: 1.1rem; /* Same size as right panel */
    text-rendering: optimizeLegibility;
    white-space: nowrap; /* Keep text on same line */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ... if still too long */
  }

  /* Video Container */
  .video-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid var(--industrial-border-gray);
    position: relative;
    background: #000; /* Dark background for video */
  }

  .amaron-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
  }

  .video-panel:hover .amaron-video {
    transform: scale(1.05);
  }

  /* Right Video Panel specific styling */
  .industrial-panel.right-video-panel {
    border-color: #8BC34A; /* Green border to match the brand */
    box-shadow: 0 0 15px rgba(139, 195, 74, 0.4); /* Green glow */
  }
  
  .industrial-panel.right-video-panel:hover {
    border-color: #8BC34A; /* Green border on hover */
    box-shadow: 0 0 20px rgba(139, 195, 74, 0.6); /* Stronger green glow */
  }

  /* Right Video Panel title */
  .industrial-panel.right-video-panel .panel-header .panel-title {
    color: #8BC34A; /* Green color to match brand */
    text-shadow: 0 0 10px rgba(139, 195, 74, 0.5); /* Match Experience text shadow */
    font-family: 'Orbitron', sans-serif; /* Match Experience font */
    font-weight: 700; /* Match Experience font weight */
    letter-spacing: 1px; /* Match Experience letter spacing */
    text-transform: uppercase;
    font-size: 1.1rem; /* Smaller font size to fit */
    text-rendering: optimizeLegibility;
    white-space: nowrap; /* Keep text on same line */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ... if still too long */
  }

  /* Robot Description Styling */
  .robot-description {
    margin-top: 65px; /* Moved down even more from 45px */
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.1), rgba(255, 204, 0, 0.05));
    border-radius: 8px;
    border: 1px solid rgba(255, 204, 0, 0.3);
    position: relative;
    overflow: hidden;
  }

  .robot-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.1), transparent);
    animation: shimmer 3s infinite;
  }

  @keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
  }

  .robot-intro {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
  }

  .highlight-text {
    color: var(--industrial-accent-yellow);
    font-weight: 800;
    text-shadow: 0 0 15px var(--industrial-accent-yellow);
    animation: pulse-glow 2s infinite alternate;
  }

  @keyframes pulse-glow {
    0% { 
      text-shadow: 0 0 15px var(--industrial-accent-yellow);
      transform: scale(1);
    }
    100% { 
      text-shadow: 0 0 25px var(--industrial-accent-yellow), 0 0 35px var(--industrial-accent-yellow);
      transform: scale(1.05);
    }
  }

  .robot-tagline {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
    margin: 0;
    font-style: italic;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }
   
  .industrial-panel .panel-content {
    padding: 30px;
    position: relative;
    z-index: 2;
  }
   
  .industrial-panel .panel-header {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Align items vertically in the flex container */
    justify-content: space-between; /* Put space between title and potential other elements */
    text-align: left; /* Align text left */
    margin-bottom: 20px;
    border-bottom: 1px dashed var(--industrial-border-gray);
    padding-bottom: 15px;
    position: relative; /* Keep relative positioning */
  }
   
  .industrial-panel .panel-header .panel-title {
    margin-right: auto; /* Push title to the left */
    /* Keep other title styles */
  }
   
  /* Amaron panel title - match battery color and font design */
  .industrial-panel.amaron-panel .panel-header .panel-title {
    color: #8BC34A; /* Green color to match brand */
    text-shadow: 0 0 10px rgba(139, 195, 74, 0.5); /* Match Experience text shadow */
    font-family: 'Orbitron', sans-serif; /* Match Experience font */
    font-weight: 700; /* Match Experience font weight */
    letter-spacing: 1px; /* Match Experience letter spacing */
    text-transform: uppercase;
    font-size: 1.1rem; /* Same size as other panels */
    text-rendering: optimizeLegibility;
    white-space: nowrap; /* Keep text on same line */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ... if still too long */
  }
   
  .panel-body h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
    text-align: center;
  }
   
  .panel-body p {
    color: #bbb;
    text-align: center;
    margin-bottom: 25px;
  }
   
  .panel-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 3px solid var(--industrial-border-gray);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background-color: rgba(50, 50, 50, 0.5);
  }
   
  /* Amaron panel icon */
  .industrial-panel.amaron-panel .panel-icon {
    border-color: var(--industrial-accent-yellow);
  }
   
  /* Hegmo panel icon */
  .industrial-panel.hegmo-panel .panel-icon {
    border-color: var(--industrial-accent-hegmo-red);
  }
   
  /* model-viewer inside industrial panel */
  .industrial-panel .model-container model-viewer {
    width: 100%;
    height: 200px;
    margin: 20px auto;
    border: 1px solid var(--industrial-border-gray);
  }
   
  /* Amaron panel model-viewer border */
  .industrial-panel.amaron-panel .model-container .battery-model {
    border-color: var(--industrial-accent-yellow);
  }
   
  /* Hegmo panel model-viewer border */
  .industrial-panel.hegmo-panel .model-container .battery-model {
    border-color: var(--industrial-accent-hegmo-red);
  }
   
  /* Feature List - Adjust colors */
  .feature-list {
    margin: 20px 0;
  }
   
  .feature-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
    color: #ddd;
  }
   
  .feature-icon {
    margin-right: 10px;
    font-size: 1.4rem;
    color: var(--industrial-accent-yellow);
  }
   
  /* Hegmo panel feature icons */
  .industrial-panel.hegmo-panel .feature-icon {
    color: var(--industrial-accent-hegmo-red);
  }
   
  /* WHY CHOOSE US SECTION - Adjust colors and text glow */
  .why-choose-section {
    margin-top: 80px;
    padding: 40px 20px;
  }
   
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  }
   
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
   
  .feature-card {
    background: var(--industrial-panel-bg);
    border: 2px solid var(--industrial-border-gray);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
   
  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
  }
   
  .feature-card .feature-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--industrial-accent-yellow);
  }
   
  /* QUICK CONTACT SECTION - Adjust colors and button style */
  .quick-contact {
    margin-top: 80px;
    padding: 40px 20px;
  }
   
  .contact-card {
    background: var(--industrial-panel-bg);
    border: 2px solid var(--industrial-border-gray);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  }
   
  .contact-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
  }
   
  .contact-card p {
    color: #ccc;
    margin-bottom: 30px;
  }
   
  /* HEAVY-DUTY BUTTON */
  .heavy-duty-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: var(--industrial-accent-yellow);
    color: var(--industrial-dark-bg);
    border: none;
    border-radius: 5px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    min-height: 48px;
  }
   
  /* Hegmo panel button */
  .industrial-panel.hegmo-panel .heavy-duty-button {
    background: var(--industrial-accent-hegmo-red);
  }
   
  .heavy-duty-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent
    );
    transition: 0.5s;
  }
   
  .heavy-duty-button:hover {
    background: var(--industrial-accent-red);
    box-shadow: 0 0 15px rgba(204, 51, 0, 0.6);
  }
   
  /* Hegmo panel button hover - Keeping red glow for consistency with Amaron yellow hover */
  .industrial-panel.hegmo-panel .heavy-duty-button:hover {
    background: var(--industrial-accent-red);
    box-shadow: 0 0 15px rgba(204, 51, 0, 0.6);
  }

  /* Amaron panel button hover - use Amaron brand green */
  .industrial-panel.amaron-panel .heavy-duty-button:hover {
    background: #8BC34A;
    color: var(--industrial-dark-bg);
    box-shadow: 0 0 15px rgba(139, 195, 74, 0.6);
  }
   
  .heavy-duty-button:hover::before {
    left: 100%;
  }
   
  /* INDUSTRIAL PAGINATION */
  .industrial-page-btn {
    background: var(--industrial-panel-bg);
    border: 1px solid var(--industrial-border-gray);
    color: #ccc;
    padding: 8px 15px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
  }
   
  .industrial-page-btn:hover {
    background: var(--industrial-accent-yellow);
    color: var(--industrial-dark-bg);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
  }
   
  .industrial-page-btn.active-page {
    background: var(--industrial-accent-yellow);
    color: var(--industrial-dark-bg);
    border-color: var(--industrial-accent-yellow);
    font-weight: 700;
  }
   
  /* RESPONSIVE ADJUSTMENTS - Update class names */
  @media (max-width: 1023px) {
    .hero-section {
        padding: 100px 20px 40px;
    }

    .industrial-container {
      margin-top: 5px; /* Drastically reduced margin on mobile */
    }

    .main-content {
      padding: 5px 8px; /* Drastically reduced padding on mobile */
      padding-top: 20px; /* Drastically reduced top padding on mobile */
    }

    .industrial-title {
      font-size: 2rem;
    }
    
    .hero-stats {
      flex-direction: column;
      gap: 30px;
    }
    
    .features-grid {
      grid-template-columns: 1fr;
    }
    
         /* Main content: mobile layout - DISABLED for horizontal swipe */
    /* .heavy-duty-panels-wrapper {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
      flex-direction: initial;
    } */
     
     /* Disabled conflicting panel rules */
     /* .industrial-panel {
       width: 100%;
       max-width: 100%;
       margin: 0 auto;
     } */

    .industrial-panel .panel-content {
      padding: 16px; /* tighter mobile padding */
    }

    .industrial-panel .panel-header .panel-title { font-size: 1rem; }

    .video-container { height: auto; aspect-ratio: 16 / 9; }
    .amaron-video { width: 100%; height: 100%; object-fit: cover; }

    /* 3D model sizing on mobile */
    .industrial-panel .model-container model-viewer {
      height: auto;
      aspect-ratio: 16 / 9;
      max-height: 220px;
    }

    /* Header GLB models: shrink to avoid overlap */
    .industrial-panel .panel-header .sitting-model,
    .industrial-panel.hegmo-panel .panel-header .looking-around-model {
      top: -24px;
      width: 110px;
      height: 110px;
    }

    .robot-description {
      padding: 12px; /* Reduce padding on mobile */
      margin-top: 15px; /* Reduce margin on mobile */
    }

    .robot-intro { font-size: 1rem; }

    .robot-tagline { font-size: 0.85rem; }

    .why-choose-section {
        margin-top: 40px;
    }

    .quick-contact {
        margin-top: 40px;
    }
  }
   
  /* Ensure the yellow border is applied to the battery model viewer itself */
  .industrial-panel.amaron-panel .model-container .battery-model {
    border-color: var(--industrial-accent-yellow);
  }
   
  /* Styling for the sitting model relative to the container */
  .industrial-container > .sitting-model {
    position: absolute; /* Position relative to the industrial container */
    top: 455px; /* Initial estimate: Adjust this value to position vertically on the outline */
    left: calc(42% - 205px); /* Value to center horizontally on the Amaron panel */
    transform: translateX(-50%); /* Center the model itself horizontally relative to the left point */
    display: block; /* Ensure it takes up space */
    width: 150px; /* Further increased size */
    height: 150px; /* Further increased size */
    border: none; /* Remove border */
    outline: none; /* Remove outline */
    z-index: 100; /* High z-index to ensure it's on top */
    pointer-events: none; /* Disable pointer events on the model */
  }
   
  /* Styling for the sitting model inside the panel header */
  .industrial-panel .panel-header .sitting-model {
    position: absolute; /* Position relative to the panel header */
    top: -38px; /* Moved upwards again */
    left: 50%; /* Center horizontally within the header */
    transform: translateX(-50%); /* Center the model itself horizontally */
    display: block; /* Ensure it takes up space */
    width: 150px; /* Keep size consistent */
    height: 150px; /* Keep size consistent */
    border: none; /* Remove border */
    outline: none; /* Remove outline */
    z-index: 1; /* Ensure it's above other header content */
  }
   
  /* Styling for the Looking Around model inside the Hegmo panel header */
  .industrial-panel.hegmo-panel .panel-header .looking-around-model {
    position: absolute; /* Position relative to the panel header */
    top: -100px; /* Match the sitting model's position */
    left: 50%; /* Center horizontally within the header */
    transform: translateX(-50%); /* Center the model itself horizontally */
    display: block; /* Ensure it takes up space */
    width: 150px; /* Keep size consistent with sitting model */
    height: 150px; /* Keep size consistent */
    border: none; /* Remove border */
    outline: none; /* Remove outline */
    z-index: 1; /* Ensure it's above other header content */
  }
  
  @media (max-width: 1023px) {
    /* Force mobile bottom navigation to show all four links in one row */
    .bottom-nav { padding: 0px 2px !important; }
    .nav-center {
      width: 100% !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
      justify-content: flex-start !important;
      gap: 6px !important;
      position: relative !important;
      left: auto !important;
      transform: none !important;
    }
    .nav-main-links {
      width: 100% !important;
      display: flex !important;
      flex-direction: row !important;
      justify-content: space-between !important;
      align-items: center !important;
      gap: 6px !important;
      flex-wrap: nowrap !important;
    }
    .nav-main-links .nav-link {
      flex: 1 1 0 !important;
      text-align: center !important;
      min-width: 0 !important;
      padding: 8px 6px !important;
    }
    /* Removed - BRANDS now shows on mobile */
    .nav-brand-links { display: flex !important; justify-content: center !important; gap: 10px !important; }
  }
  
  @media (max-width: 1023px) {
    /* FORCE BRANDS to show on mobile - override all hiding rules */
    .dropdown,
    #brandsDropdown,
    #brandsToggle {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
    
    /* Hide only the dropdown menu */
    .dropdown-menu,
    #brandsMenu {
      display: none !important;
    }

    /* Make each top-level nav item take equal width */
    .nav-main-links > * { 
      flex: 1 1 0 !important; 
      min-width: 0 !important; 
      display: block !important;
    }
    
    #brandsDropdown > .nav-link { 
      display: block !important; 
      width: 100% !important; 
      text-align: center !important; 
    }
  }
  
  @media (max-width: 1023px) {
    /* Hide only the dropdown menu on mobile; keep the BRANDS trigger visible */
    .dropdown-menu { display: none !important; }
  }
  
  @media (max-width: 1023px) {
    /* Mobile BRANDS dropdown: full-width overlay under header, in-frame */
    #brandsMenu {
      display: none !important;
      position: fixed !important;
      top: var(--mobile-navbar-bottom, 64px) !important; /* fallback */
      left: 10px !important;
      right: 10px !important;
      width: calc(100vw - 20px) !important;
      max-width: calc(100vw - 20px) !important;
      max-height: 50vh !important;
      overflow-y: auto !important;
      transform: none !important;
      background: rgba(255,255,255,0.95) !important;
      border: 1px solid #8BC34A !important;
      border-radius: 10px !important;
      box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
      z-index: 3000 !important;
      padding: 8px 0 !important;
    }
    
    /* Show when active on mobile */
    #brandsDropdown.active #brandsMenu, .dropdown.active #brandsMenu { display: block !important; }

    /* Larger touch-friendly items */
    #brandsMenu .dropdown-item {
      display: block !important;
      padding: 16px 18px !important;
      font-size: 18px !important;
      line-height: 1.25 !important;
      color: #000 !important;
      text-align: center !important;
      text-decoration: none !important;
      border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    }
    #brandsMenu .dropdown-item:last-child { border-bottom: none !important; }
    #brandsMenu .dropdown-item.amaron-brand:hover { background: rgba(139,195,74,0.18) !important; color: #8BC34A !important; }
    #brandsMenu .dropdown-item.hegmo-brand:hover { background: rgba(227,28,35,0.18) !important; color: #E31C23 !important; }

    /* Hide inline brand links on mobile to avoid duplication */
    .nav-brand-links { display: none !important; }
  }
  
  /* Brands popover (shared styles) */
  .brands-item { position: relative; }
  .brands-popover {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.98);
    transform-origin: top center;
    background: rgba(255,255,255,0.95);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.08);
    min-width: 180px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 6000;
    overflow: hidden;
  }

  /* Caret */
  .brands-popover::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent rgba(255,255,255,0.95) transparent;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25));
  }

  /* Visible state */
  .brands-item.open > .brands-popover { opacity: 1; pointer-events: auto; transform: translateX(-50%) scale(1); }

  /* Options */
  .brands-option {
    display: block;
    width: 100%;
    padding: 12px 14px;
    text-align: center;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .brands-option:last-child { border-bottom: 0; }
  .brands-option:hover, .brands-option:focus { background: rgba(0,0,0,0.06); outline: none; }

  /* Ensure dropdown can render over nav after swap */
  .main-navbar, .main-nav-bar, .bottom-nav, .nav-center, .nav-main-links { overflow: visible !important; }
  .main-nav-bar { position: relative; z-index: 3000; }
  .bottom-nav { position: relative; z-index: 4000; }

  /* Mobile adjustments */
  @media (max-width: 1023px) {
    .brands-popover {
      left: 50%;
      min-width: 220px;
      max-width: calc(100vw - 20px);
    }
  }
  
  @media (max-width: 1023px) {
    /* Ensure popover can overflow containers on mobile */
    .bottom-nav, .nav-center, .nav-main-links { overflow: visible !important; }

    /* Constrain and center the popover within the viewport */
    .brands-popover {
      max-width: calc(100vw - 24px) !important;
      min-width: 220px !important;
      left: 50% !important;
      transform: translateX(-50%) scale(0.98) !important;
      z-index: 6000 !important;
    }

    /* Constrain and center the popover within the viewport */
    .brands-popover {
      max-width: calc(100vw - 24px) !important;
      min-width: 220px !important;
      left: 50% !important;
      transform: translateX(-50%) scale(0.98) !important;
      z-index: 6000 !important;
    }

    .brands-option { padding: 14px 16px !important; font-size: 16px !important; }
  }
  
  /* Brand-specific highlight for popover options */
  @media (min-width: 1024px) {
    .brands-option.amaron-brand:hover { background: rgba(139,195,74,0.18); color: #8BC34A; }
    .brands-option.hegmo-brand:hover { background: rgba(227,28,35,0.18); color: #E31C23; }
  }

  @media (max-width: 1023px) {
    /* On mobile, highlight on tap (active state) */
    .brands-option:active { background: rgba(255,255,255,0.08); }
    .brands-option.amaron-brand:active { background: rgba(139,195,74,0.22); color: #8BC34A; }
    .brands-option.hegmo-brand:active { background: rgba(227,28,35,0.22); color: #E31C23; }
  }
  
  @media (max-width: 1023px) {
    /* Why Choose Us: ensure images have no tinted background/frames on mobile */
    .reasons-section .reason-image,
    .reasons-section .reason-img {
      background: transparent !important;
      box-shadow: none !important;
      border: 0 !important;
    }
  }
  
  @media (max-width: 1023px) {
    /* Hero banner: keep top fully visible, crop bottom instead */
    .banner-image { object-position: top center !important; }
  }
  
  @media (max-width: 1023px) {
    /* Keep top of hero visible on mobile: remove negative margin that caused top crop */
    .hero-section { margin-top: 0 !important; }
  }
  
  @media (max-width: 1023px) {
    /* Ensure hero clears fixed nav on mobile; keep same height, crop bottom */
    .hero-section { margin-top: 70px !important; }
    .banner-image { object-position: top center !important; }
  }
  
  /* Hero tagline overlay */
  .hero-tagline {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* bottom-left placement */
    justify-content: flex-end;
    padding: 16px;
    pointer-events: none; /* decorative, not interactive */
    z-index: 2; /* above banner image */
  }
  .hero-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #8BC34A; /* Amaron green like section headings */
    text-align: left;
    text-shadow: 0 0 6px rgba(0,0,0,0.65), 0 2px 10px rgba(0,0,0,0.55);
    margin: 0 0 2px 0;
    text-transform: uppercase;
  }
  .hero-sub {
    color: #8BC34A; /* Match heading color for visibility */
    text-align: left;
    max-width: 540px;
    margin: 0;
    font-family: 'Orbitron', sans-serif; /* match font */
    letter-spacing: 0.4px;
    text-shadow: 0 0 5px rgba(0,0,0,0.65), 0 2px 8px rgba(0,0,0,0.5);
  }
  /* remove panel background */
  .hero-copy {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    max-width: 540px;
    width: auto;
    margin: 0 0 10px 0;
  }

  /* Desktop sizes */
  @media (min-width: 1024px) {
    .hero-section { position: relative; }
    .hero-title { font-size: 20px; }
    .hero-sub { font-size: 13px; }
  }

  /* Mobile sizes and placement */
  @media (max-width: 1023px) {
    .hero-section { position: relative; }
    .hero-tagline { padding: 12px; }
    .hero-title { font-size: 15px; }
    .hero-sub { font-size: 11.5px; }
    .hero-copy { max-width: 88%; margin-bottom: 8px; }
  }
  
  /* Hero brand pill */
  .hero-pill {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #0b0f0a;
    background: linear-gradient(180deg, #8BC34A, #6FAF35);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 6px 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
    text-shadow: none;
    pointer-events: auto;
  }
  .hero-pill.primary::after {
    content: '';
  }

  /* Placement */
  .hero-tagline { align-items: center; justify-content: flex-end; }

  /* Desktop sizing */
  @media (min-width: 1024px) {
    .hero-pill { font-size: 14px; padding: 8px 16px; }
  }

  /* Mobile sizing */
  @media (max-width: 1023px) {
    .hero-pill { 
      font-size: 9px; 
      padding: 3px 8px; 
      max-width: 72vw; 
      text-align: center; 
      letter-spacing: 0.25px; 
      line-height: 1.1;
      box-shadow: 0 4px 12px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.2);
    }
    .hero-tagline { padding: 8px; }
  }
  
  @media (max-width: 1023px) {
    /* Mobile: black background for main nav (logo + search + socials) */
    .main-nav-bar {
      background: #000000 !important;
      -webkit-backdrop-filter: none !important;
      backdrop-filter: none !important;
      border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    }
    /* Mobile search colors on black nav */
    .search-container {
      background: rgba(255,255,255,0.1) !important;
      border: 2px solid #8BC34A !important;
      border-radius: 18px !important;
    }
    .search-input {
      background: transparent !important;
      color: #ffffff !important;
    }
    .search-input::placeholder { color: rgba(255,255,255,0.6) !important; }
    /* Keep green button; ensure contrast */
    .search-btn { color: #ffffff !important; }
  }
  
  @media (max-width: 1023px) {
    /* Mobile: arrange header socials neatly at far right */
    .main-nav-bar { display: flex; align-items: center; justify-content: space-between; }
    .nav-left-section { flex: 1 1 auto; min-width: 0; }
    .header-socials {
      display: flex !important;
      align-items: center !important;
      gap: 8px !important;
      margin-left: 8px !important;
      flex-shrink: 0 !important;
    }
    .header-socials .social-icon {
      width: 28px !important;
      height: 28px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      border-radius: 50% !important;
      background: transparent !important;
    }
    .header-socials .social-icon svg { width: 18px; height: 18px; }
  }
  
  /* Hide the sitting model everywhere */
  .sitting-model,
  .industrial-panel .panel-header .sitting-model,
  .industrial-container > .sitting-model {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
  }
  
  @media (max-width: 1023px) {
    /* Cards: auto-height and normal flow on mobile */
    .heavy-duty-panels-wrapper { height: auto !important; }
    .industrial-panel { position: static !important; height: auto !important; overflow: visible !important; padding-bottom: 6px !important; }
    .industrial-panel .panel-content,
    .industrial-panel .panel-body { padding-bottom: 6px !important; margin-bottom: 0 !important; }
    .industrial-panel .panel-content > *:last-child,
    .industrial-panel .panel-body > *:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }
    .industrial-panel .video-container,
    .industrial-panel .model-container,
    .industrial-panel .feature-list,
    .industrial-panel .robot-description { margin-bottom: 6px !important; }
  }
  
  @media (max-width: 1023px) {
    /* Stack all three cards uniformly (mobile) */
    .heavy-duty-panels-wrapper {
      display: block !important;
      height: auto !important;
      overflow: visible !important;
      margin: 0 !important;
      max-width: 100% !important;
    }
    .industrial-panel {
      position: relative !important;
      opacity: 1 !important;
      visibility: visible !important;
      z-index: auto !important;
      height: auto !important;
      margin: 0 0 12px 0 !important; /* reduce bottom to avoid big blank area */
      display: block !important;
    }
    .industrial-panel.active { opacity: 1 !important; visibility: visible !important; }

    /* Trim bottoms inside the cards */
    .industrial-panel .panel-content,
    .industrial-panel .panel-body { padding-bottom: 8px !important; margin-bottom: 0 !important; }
    .industrial-panel .panel-content > *:last-child,
    .industrial-panel .panel-body > *:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }

    /* Remove the oversized gap after this section */
    .industrial-container { padding-bottom: 10px !important; }
    .main-content { gap: 10px !important; padding-bottom: 10px !important; }
    .main-content + * { margin-top: 0 !important; }
  }
  
  @media (max-width: 1023px) {
    /* Restore overlay panels for mobile tabs/swipe (do not stack) */
    .heavy-duty-panels-wrapper {
      position: relative !important;
      display: block !important;
      height: 62vh !important;
      width: calc(100vw - 50px) !important;
      max-width: calc(100vw - 50px) !important;
      margin: 0 auto !important;
      overflow: hidden !important;
    }
    .industrial-panel {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
      opacity: 0 !important;
      visibility: hidden !important;
      margin: 0 !important;
      display: flex !important;
      flex-direction: column !important;
    }
    .industrial-panel.active {
      opacity: 1 !important;
      visibility: visible !important;
      z-index: 10 !important;
    }
    /* Trim only internal bottoms to remove empty space */
    .industrial-panel .panel-content,
    .industrial-panel .panel-body { padding-bottom: 8px !important; margin-bottom: 0 !important; }
    .industrial-panel .panel-content > *:last-child,
    .industrial-panel .panel-body > *:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }
    /* Remove oversized gap after section */
    .industrial-container { padding-bottom: 10px !important; }
  }
  
  @media (max-width: 1023px) {
    /* Reduce card frame height (mobile) */
    .heavy-duty-panels-wrapper {
      height: 62vh !important; /* shorter card length */
    }
    /* Allow panel content to scroll inside the shorter frame */
    .industrial-panel .panel-content,
    .industrial-panel .panel-body {
      flex: 1 1 auto !important;
      overflow-y: auto !important;
      padding-bottom: 20px !important;
    }
    
    /* Custom scrollbar styling for webkit browsers */
    .industrial-panel .panel-content::-webkit-scrollbar,
    .industrial-panel .panel-body::-webkit-scrollbar {
      width: 6px !important;
    }
    
    .industrial-panel .panel-content::-webkit-scrollbar-track,
    .industrial-panel .panel-body::-webkit-scrollbar-track {
      background: #333 !important;
      border-radius: 3px !important;
    }
    
    .industrial-panel .panel-content::-webkit-scrollbar-thumb,
    .industrial-panel .panel-body::-webkit-scrollbar-thumb {
      background: #8BC34A !important;
      border-radius: 3px !important;
    }
    
    .industrial-panel .panel-content::-webkit-scrollbar-thumb:hover,
    .industrial-panel .panel-body::-webkit-scrollbar-thumb:hover {
      background: #6FAF35 !important;
    }
  }
  
  @media (max-width: 1023px) {
    /* Amaron card: pull content up so it fits within the shorter card without inner scroll */
    .industrial-panel.amaron-panel .panel-header { padding: 12px 12px 6px !important; margin-bottom: 6px !important; border-bottom-width: 1px; }
    .industrial-panel.amaron-panel .panel-header .panel-title { margin: 0 !important; line-height: 1.1 !important; }
    .industrial-panel.amaron-panel .model-container { margin: 6px 0 8px 0 !important; }
    .industrial-panel.amaron-panel model-viewer { max-height: 36vh !important; } /* keep ample room for list and button */
    .industrial-panel.amaron-panel .feature-list { margin: 8px 0 6px 0 !important; }
    .industrial-panel.amaron-panel .heavy-duty-button { margin-top: 6px !important; }
    /* Let Amaron use scrollable content when needed */
    .industrial-panel.amaron-panel .panel-content,
    .industrial-panel.amaron-panel .panel-body { overflow-y: auto !important; }
  }
  
  