 
/*
 * SIMPAC Website Styles
 * 
 * Mobile Responsive Features:
 * - Submenus (Mechanical Presses, Hydraulic Presses, Automation) open below on mobile/tablet
 * - Increased font sizes for better readability on small screens
 * - Desktop view remains unchanged
 * 
 * Last updated: 2024
 */

/* CSS Variables */
:root {
  /* Root Color Palette */
  --root-color: #0054A1;
  --root-color-light: #0077cc;
  --root-color-dark: #003d7a;
  --root-color-accent: #00d4ff;
  
  /* Primary Colors */
  --primary-color: #0054A1;
  --secondary-color: #1e40af;
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --text-dark: #1f2937;
  
  /* Shadow System */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  padding-top: 65px; /* Account for fixed navbar */
}

/* PERFORMANCE OPTIMIZATION: Consolidated and optimized CSS for high performance */

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-container {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
    position: relative;
}

.logo-section {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out;
}

.loading-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #0054A1, #00d4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    animation: pulse 2s infinite;
}

.loading-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.loading-company-name {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0054A1, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.loading-tagline {
    font-size: 1.1rem;
    color: #a0a0a0;
    font-weight: 400;
}

.loading-animation {
    margin: 3rem 0;
    position: relative;
}

.gear-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.gear {
    width: 60px;
    height: 60px;
    border: 3px solid #00d4ff;
    border-radius: 50%;
    position: relative;
    animation: rotate 3s linear infinite;
}

.gear::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #00d4ff;
    border-radius: 50%;
}

.gear::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 15px;
    background: #00d4ff;
    border-radius: 2px;
}

.gear:nth-child(2) {
    animation-direction: reverse;
    animation-duration: 2.5s;
}

.gear:nth-child(3) {
    animation-duration: 3.5s;
}

.progress-container {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 3px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 8px;
    background: linear-gradient(90deg, #0054A1, #00d4ff);
    border-radius: 8px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.progress-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.status-messages {
    margin: 2rem 0;
    min-height: 60px;
}

.status-message {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.status-message.active {
    opacity: 1;
    transform: translateY(0);
}

.status-message.success {
    color: #10b981;
}

.loading-dots {
    display: inline-block;
    margin-left: 0.5rem;
}

.loading-dots span {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #00d4ff;
    margin: 0 2px;
    animation: dots 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

.industrial-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

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

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00d4ff;
    border-radius: 50%;
    animation: float 6s infinite linear;
}

.skip-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: 1px solid #a0a0a0;
    color: #a0a0a0;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.skip-button:hover {
    background: #a0a0a0;
    color: #0a0a0a;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes dots {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .loading-container {
        padding: 1rem;
    }
    
    .loading-company-name {
        font-size: 2rem;
    }
    
    .gear-container {
        gap: 1rem;
    }
    
    .gear {
        width: 50px;
        height: 50px;
    }
    
    .skip-button {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Navbar Styles */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
  transition: all 0.3s ease;
  top: 0; /* Fixed at the very top */
  position: fixed;
  width: 100%;
  z-index: 1030;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--primary-color) !important;
  text-decoration: none;
}

.navbar .navbar-brand .logo-icon {
  font-size: 2.2rem;
  height: 2rem;
  width: auto;
  object-fit: contain;
}

.navbar .navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin: 0 0.25rem;
  overflow: hidden;
}

.navbar .navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--root-color-accent));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.navbar .navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.navbar .navbar-nav .nav-link:hover::before {
  width: 80%;
}

.navbar .navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

.navbar .navbar-nav .nav-link:focus {
  outline: none;
}

.navbar .navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar .navbar-toggler:focus {
  box-shadow: none;
}

.navbar .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(37, 99, 235, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Logo Text */
.logo-text {
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-left: -0.5rem;
}

/* Dropdown Styles */
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  margin-top: 0.5rem;
  min-width: 250px;
  text-align: left;
}

.dropdown-item {
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--root-color-accent));
  opacity: 0.1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-item:hover {
  color: var(--primary-color);
  transform: translateX(8px);
}

.dropdown-item:hover::before {
  width: 4px;
}

.dropdown-item:focus {
  outline: none;
}

/* Multi-level Dropdown */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .submenu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
  margin-top: -0.5rem;
  display: none;
  position: absolute;
  z-index: 1001;
  text-align: left;
}

/* Optimized submenu positioning - consolidated for all submenus */
.dropdown-submenu .submenu:has(a[href="#mc-series"]),
.dropdown-submenu .submenu:has(a[href="../index.html#mc-series"]),
.dropdown-submenu .submenu:has(a[href="#ph-series"]),
.dropdown-submenu .submenu:has(a[href="../index.html#ph-series"]),
.dropdown-submenu .submenu:has(a[href="#transfer-line"]),
.dropdown-submenu .submenu:has(a[href="../index.html#transfer-line"]),
.dropdown-menu > .dropdown-submenu:first-child .submenu,
.dropdown-menu > .dropdown-submenu:nth-child(3) .submenu,
.dropdown-menu > .dropdown-submenu:nth-child(4) .submenu,
.dropdown-menu .dropdown-submenu:first-child .submenu,
.dropdown-menu .dropdown-submenu:nth-child(3) .submenu,
.dropdown-menu .dropdown-submenu:nth-child(4) .submenu {
  left: calc(100% + 0.5rem);
  margin-left: 0.1rem;
}

/* Important declarations for specific targeting */
.dropdown-menu .dropdown-submenu:first-child .submenu,
.dropdown-menu .dropdown-submenu:nth-child(3) .submenu,
.dropdown-menu .dropdown-submenu:nth-child(4) .submenu {
  left: calc(100% + 0.5rem) !important;
  margin-left: 0.1rem !important;
}

.dropdown-submenu .submenu.show {
  display: block;
}

.dropdown-submenu .submenu-toggle {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
}

.dropdown-submenu .submenu-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
  margin-left: 0.5rem;
  position: absolute;
  right: 1rem;
}

.dropdown-submenu .submenu-arrow.rotated {
  transform: rotate(90deg);
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.3s ease-in;
}

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

/* Mobile/Tablet Responsive Design */
@media (max-width: 991.98px) {
  /* Center main navbar items (excluding navbar-brand) */
  .navbar-nav {
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  .nav-item {
    text-align: center !important;
  }
  
  .nav-link {
    text-align: center !important;
    justify-content: center !important;
  }
  
  /* Center Products dropdown menu */
  .dropdown-menu {
    text-align: center !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    min-width: 250px !important;
    padding: 0.5rem 0 !important;
  }
  
  /* Ensure navbar dropdown renders below toggle on mobile (avoid left offset) */
  .navbar .dropdown-menu {
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0.5rem 0 !important;
    width: 100% !important;
    max-width: none !important;
  }
  
  /* Center all dropdown items */
  .dropdown-item {
    text-align: center !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 1.05rem !important;
  }
  
  /* Center submenu toggles */
  .submenu-toggle {
    text-align: center !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 1.05rem !important;
  }
  
  /* Ensure submenus open below and are centered */
  .dropdown-submenu .submenu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin: 0.5rem auto !important;
    width: calc(100% - 2rem) !important;
    text-align: center !important;
    box-shadow: none !important;
    border-left: 2px solid var(--gray-200) !important;
    border-radius: 0.5rem !important;
    background-color: var(--gray-50) !important;
    padding: 0.5rem 0 !important;
    display: none !important; /* Override global display: none */
  }

  /* Show submenus when they have the 'show' class in mobile */
  @media (max-width: 991px) {
    .navbar-collapse .dropdown-submenu .submenu.show {
      display: block !important;
      position: static !important;
      left: auto !important;
      top: auto !important;
      margin: 0.5rem auto !important;
      width: calc(100% - 2rem) !important;
      text-align: center !important;
      box-shadow: none !important;
      border-left: 2px solid var(--gray-200) !important;
      border-radius: 0.5rem !important;
      background-color: var(--gray-50) !important;
      padding: 0.5rem 0 !important;
    }
  }
  
  /* Center submenu items */
  .submenu .dropdown-item {
    text-align: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    padding: 0.6rem 1rem !important;
    margin: 0.25rem auto !important;
    border-radius: 0.25rem !important;
    transition: all 0.2s ease !important;
  }
  
  .submenu .dropdown-item:hover {
    background-color: var(--gray-100) !important;
    transform: translateY(-2px) !important;
  }
  
  /* Center submenu arrows */
  .dropdown-submenu .submenu-arrow {
    position: static !important;
    margin-left: 0.5rem !important;
    transform: none !important;
    transition: transform 0.3s ease !important;
  }
  
  .dropdown-submenu .submenu-arrow.rotated {
    transform: rotate(90deg) !important;
  }
  
  /* Increase font sizes for better readability */
  .navbar-nav .nav-link {
    font-size: 1.1rem !important;
    padding: 0.75rem 1rem !important;
  }
  
  /* Ensure proper spacing and alignment */
  .dropdown-submenu .submenu-toggle {
    justify-content: center !important;
    text-align: center !important;
  }
  
  /* Center the entire navbar collapse */
  .navbar-collapse {
    justify-content: center !important;
    align-items: center !important;
  }
  
  /* Ensure navbar brand stays in place */
  .navbar-brand {
    position: relative !important;
    left: auto !important;
    transform: none !important;
  }
  
  /* Improve mobile dropdown positioning */
  .dropdown {
    position: relative !important;
  }
  
  /* Ensure proper spacing for mobile */
  .navbar-nav .nav-item {
    margin: 0.25rem 0 !important;
  }
  

  /* Center download brochure button */
  .navbar .d-flex.gap-2 {
    width: 100% !important;
    justify-content: center !important;
  }
  .navbar .download-brochure-btn {
    display: inline-flex !important;
    width: 100% !important;
    max-width: 240px !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }

  .navbar .download-brochure-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--root-color-accent));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
  }

  .navbar .download-brochure-btn:hover::before {
    width: 80%;
  }
}

/* CTA Buttons */
.btn-primary {
  background: var(--primary-color);
  border: none;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn-outline-primary {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background: transparent;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn-close {
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' d='M.146.146a.5.5 0 01.708 0L8 7.293 15.146.146a.5.5 0 11.708.708L8.707 8l7.147 7.146a.5.5 0 01-.708.708L8 8.707.854 15.854a.5.5 0 01-.708-.708L7.293 8 .146 1.854a.5.5 0 010-.708z'/%3E%3C/svg%3E") center/1em auto no-repeat;
  border: 0;
  box-sizing: content-box;
  color: #000;
  cursor: pointer;
  height: 1em;
  opacity: 0.5;
  padding: 0.25em 0.25em;
  transition: opacity 0.15s ease-in-out;
  user-select: none;
  width: 1em;
}

.btn-close:hover {
  color: #000;
  opacity: 0.75;
  text-decoration: none;
}

.btn-close:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  opacity: 1;
  outline: 0;
}

/* Download Brochure Button */
.download-brochure-btn {
  position: relative;
  overflow: hidden;
}

.download-brochure-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.download-brochure-btn:hover::before {
  left: 100%;
}

/* Responsive button width utilities */
.w-100 {
  width: 100%;
}

/* Large screen and up - auto width for buttons */
@media (min-width: 992px) {
  .w-lg-auto {
    width: auto !important;
  }
}

/* Navbar language button - keep compact */
.navbar .language-select-btn {
  width: auto !important;
  min-width: auto;
  padding: 0.5rem 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 !important;
}

/* GTranslate Custom Styling */
.gtranslate_wrapper {
  position: absolute !important;
  top: calc(100% + 0.5rem) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 9999 !important;
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  min-width: 200px;
  min-height: 50px;
  margin: 0 !important;
}

.gtranslate_wrapper.show-translate {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Override GTranslate default positioning */
.gtranslate_wrapper select,
.gtranslate_wrapper .gt_selector {
  width: auto !important;
  max-width: 150px !important;
  padding: 0.375rem 0.625rem !important;
  font-size: 0.8125rem !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  background: white !important;
  cursor: pointer !important;
  height: auto !important;
  min-height: 36px !important;
  line-height: 1.4 !important;
}

/* Style the language dropdown */
.gtranslate_wrapper .gt_switcher,
.gtranslate_wrapper .gt_languages {
  position: relative !important;
  top: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  background: white !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  padding: 0.375rem !important;
  width: auto !important;
  min-width: auto !important;
  max-width: 150px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Make language options smaller and cleaner */
.gtranslate_wrapper .gt_switcher a,
.gtranslate_wrapper .gt_switcher option,
.gtranslate_wrapper select option {
  font-size: 0.8125rem !important;
  padding: 0.25rem 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
  border-radius: 3px !important;
  transition: all 0.2s ease !important;
  line-height: 1.4 !important;
}

.gtranslate_wrapper .gt_switcher a:hover {
  background: rgba(0, 84, 161, 0.1) !important;
}

/* Make flags smaller */
.gtranslate_wrapper img.gt_flag {
  width: 16px !important;
  height: 12px !important;
  margin-right: 0.375rem !important;
}

/* Adjust dropdown positioning on mobile */
@media (max-width: 991px) {
  /* Center the language dropdown in mobile navbar */
  .navbar-collapse .gtranslate_wrapper {
    position: static !important;
    width: auto !important;
    max-width: 250px !important;
    margin: 0 auto !important;
    display: block !important;
    text-align: center !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }

  /* Style the GTranslate select for mobile */
  .navbar-collapse .gtranslate_wrapper select {
    width: auto !important;
    min-width: 200px !important;
    font-size: 0.875rem !important;
    padding: 0.5rem !important;
    min-height: 40px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    background: white !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  }

  /* Show select element when dropdown is open */
  .navbar-collapse .gtranslate_wrapper.show-translate select {
    position: static !important;
    left: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: auto !important;
    min-width: 200px !important;
  }

  /* Hide select element when dropdown is closed */
  .navbar-collapse .gtranslate_wrapper:not(.show-translate) select {
    position: absolute !important;
    left: -9999px !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  
  /* Ensure CTA buttons container is properly aligned */
  .navbar-collapse .d-flex.flex-row {
    justify-content: center !important;
    gap: 0.25rem !important;
    margin-top: 0 !important;
  }
  
  /* Reduce spacing between navbar nav and CTA buttons */
  .navbar-collapse .navbar-nav {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Remove any extra margins from CTA buttons container */
  .navbar-collapse .d-flex {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* Remove any spacing from the ul element */
  .navbar-collapse .navbar-nav ul {
    margin-bottom: 0 !important;
  }
  
  /* Remove any spacing from the last nav item */
  .navbar-collapse .navbar-nav .nav-item:last-child {
    margin-bottom: 0 !important;
  }
  
  /* Globe button in mobile should be centered */
  .navbar-collapse .language-select-btn {
    width: auto !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Remove any default margins from position-relative container */
  .navbar-collapse .position-relative {
    margin: 0 !important;
  }
}

/* Ensure GTranslate doesn't interfere with navbar */
.position-relative {
  position: relative;
}

/* Remove extra margins from language button wrapper */
.navbar .position-relative {
  margin: 0 !important;
}

/* Add space between language globe and download button */
.navbar .position-relative + .btn {
  margin-left: 15px;
}

/* Add space between contact and language globe in mobile */
@media (max-width: 991px) {
  .navbar-collapse .d-flex.flex-row {
    margin-top: 15px !important;
  }
}

/* Style improvements for GTranslate elements */
.gtranslate_wrapper * {
  box-sizing: border-box !important;
}

/* Hide GTranslate branding if present */
.gtranslate_wrapper .gt_branding {
  display: none !important;
}

/* Prevent navbar from closing when interacting with dropdowns on mobile */
@media (max-width: 991px) {
  .navbar-collapse .dropdown-menu,
  .navbar-collapse .dropdown-submenu {
    pointer-events: auto !important;
  }
  
  .navbar-collapse .dropdown-menu .dropdown-item,
  .navbar-collapse .dropdown-submenu .submenu .dropdown-item {
    pointer-events: auto !important;
  }
}

/* Scrollbar for language list if too long */
.gtranslate_wrapper .gt_switcher {
  max-height: 300px !important;
  overflow-y: auto !important;
}

/* Compact select dropdown */
.gtranslate_wrapper select {
  max-height: 300px !important;
}

/* Custom scrollbar */
.gtranslate_wrapper .gt_switcher::-webkit-scrollbar {
  width: 6px;
}

.gtranslate_wrapper .gt_switcher::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.gtranslate_wrapper .gt_switcher::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.gtranslate_wrapper .gt_switcher::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}

/* Mobile responsive navbar buttons */
@media (max-width: 991px) {
  .navbar .download-brochure-btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
  
  .navbar .language-select-btn {
    width: auto !important;
    min-width: auto;
    padding: 0.5rem 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
  }
}

/* Mobile navbar slide from right */
@media (max-width: 991px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 400px;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 1050;
    padding: 2rem 1.5rem;
    padding-top: 4rem;
  }
  
  /* Close button styling */
  .btn-close-mobile {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1051;
  }
  
  .btn-close-mobile:hover {
    color: #0056b3;
    transform: rotate(90deg);
  }

  /* Translation Notification */
  .translation-notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    font-size: 0.95rem;
  }

  .translation-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  .translation-notification .iconify {
    font-size: 1.25rem;
  }
  
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    right: 0;
  }
  
  .navbar-collapse.collapsing {
    right: -100%;
    transition: right 0.3s ease-in-out;
  }
  
  .navbar-collapse.show {
    display: block;
  }
  
  /* Overlay backdrop */
  .navbar-collapse.show::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    z-index: -1;
  }
  
  /* Close button for mobile menu */
  .navbar-toggler.collapsed ~ .navbar-collapse {
    right: -100%;
  }
  
  /* Menu items styling for slide-in */
  .navbar-collapse .navbar-nav {
    width: 100%;
    margin: 0;
  }
  
  .navbar-collapse .nav-item {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .navbar-collapse .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .navbar-collapse .nav-link:hover {
    background: rgba(0, 84, 161, 0.1);
  }
  
  /* Dropdown menu in mobile */
  .navbar-collapse .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.02);
    margin-left: 1rem;
    margin-top: 0.5rem;
  }
  
  /* CTA buttons in mobile menu */
  .navbar-collapse .d-flex {
    width: 100%;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
  }
  
  /* Language button container in mobile */
  .navbar-collapse .position-relative {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  /* Ensure the wrapper div doesn't have margins pushing it off center */
  .navbar-collapse .d-flex > .position-relative {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* When dropdown is open in mobile, add spacing */
  .navbar-collapse .gtranslate_wrapper.show-translate {
    margin-bottom: 0.5rem !important;
  }
  
  /* Make language options more touch-friendly on mobile */
  .navbar-collapse .gtranslate_wrapper select option {
    padding: 0.5rem 0.625rem !important;
    font-size: 0.8125rem !important;
  }
}

/* Button spacing */
.gap-2 {
  gap: 0.5rem;
}

/* Reduce spacing between language and download buttons */
.navbar .d-flex.gap-2 {
  gap: 0.375rem !important;
}

/* Desktop - tighter spacing between buttons */
@media (min-width: 992px) {
  .navbar .d-flex.gap-2 {
    gap: 0.625rem !important;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.me-1 {
  margin-right: 0.25rem;
}

.me-2 {
  margin-right: 0.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-lg-0 {
  margin-bottom: 0;
}

/* Iconify */
.iconify {
  display: inline-block;
  vertical-align: middle;
}

/* Ensure iconify icons in colored backgrounds are visible */
.feature-icon .iconify,
.equipment-icon .iconify,
.tech-icon .iconify,
.overview-icon .iconify,
.floating-gear .iconify,
.floating-robot .iconify,
.floating-press .iconify,
.gallery-overlay .iconify,
.overview-card .iconify,
.mechanical-gallery-section .iconify {
  color: white !important;
}

/* Image Modal Close Button Styling */
#imageModal .btn-close {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  color: white;
  opacity: 0.8;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

#imageModal .btn-close:hover {
  color: white;
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.7));
}

#imageModal .modal-header {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#imageModal .modal-title {
  color: white;
}

#imageModal .modal-content {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
}

#imageModal .modal-body {
  padding: 0;
}

#imageModal .modal-body img {
  border-radius: 0 0 15px 15px;
  max-height: 80vh;
  object-fit: contain;
}

/* Ensure close button is always visible and properly positioned */
#imageModal .modal-header {
  position: relative;
  z-index: 1056;
}

#imageModal .btn-close {
  position: relative;
  z-index: 1057;
  margin: 0;
  padding: 0.5rem;
  width: 2rem;
  height: 2rem;
  background-size: 1.5em;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin: 0 0 2rem 0; /* Remove top margin, keep bottom margin */
}

/* Content Section */
.content-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  margin: 0 0 2rem 0; /* Remove top margin, keep bottom margin */
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Notification Styles */
.alert.position-fixed {
  border: 1px solid;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  animation: slideInRight 0.3s ease-out;
}

.alert-danger {
  background-color: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.alert-warning {
  background-color: #fffbeb;
  border-color: #fed7aa;
  color: #92400e;
}

.alert-success {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.alert-info {
  background-color: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Loading State */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}


/* Modal Styles */
.modal-content {
  border: none;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 1.5rem 1rem;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  border-top: 1px solid var(--gray-200);
  padding: 1rem 1.5rem 1.5rem;
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: none;
}

/* Brochure Preview */
.brochure-preview {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.brochure-cover {
  width: 200px;
  height: 280px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 0.5rem;
  padding: 1.5rem;
  color: white;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.brochure-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 2s infinite;
}

.brochure-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.brochure-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.brochure-features {
  position: relative;
  z-index: 1;
}

/* Align brochure preview content nicely in the modal */
.brochure-preview { display: flex; justify-content: center; }
.brochure-cover { text-align: center; }
.brochure-cover .brochure-title,
.brochure-cover .brochure-subtitle { text-align: center; width: 100%; display: block; }
.brochure-cover .brochure-subtitle { line-height: 1.3; }
.brochure-cover .brochure-features {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.brochure-cover .feature-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0;
  margin: 0.15rem 0;
  background: transparent;
  border-radius: 0;
  width: 100%;
  text-align: center;
}
.brochure-cover .feature-item .iconify { color: #ffffff; opacity: 0.9; }

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.feature-item .iconify {
  margin-right: 0.5rem;
  font-size: 1rem;
}

/* Download Button Loading */
.download-confirm-btn.loading {
  position: relative;
  pointer-events: none;
}

.download-confirm-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Enhanced Responsive Design */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
  .mb-lg-0 {
    margin-bottom: 0;
  }
  
  .navbar {
    padding: 1.25rem 0;
  }
  
  .hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
  }
}

/* iPad Pro & Large Tablets (1024px to 1199px) */
@media (min-width: 1024px) and (max-width: 1199.98px) {
  body {
    padding-top: 90px; /* Optimal padding for larger tablets */
  }
  
  .navbar {
    top: 0; /* Fixed at the very top */
  }
}

/* Tablet Landscape (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  body {
    padding-top: 70px; /* Slightly more padding for larger navbar */
  }
  
  .navbar {
    top: 0; /* Fixed at the very top */
  }
  
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1.25rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.875rem 1.25rem;
    font-size: 1.1rem; /* Increased font size for better readability */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .navbar-toggler {
    padding: 0.6rem 0.9rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

/* Tablet Portrait (576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  body {
    padding-top: 65px; /* Adjust padding for smaller screens */
  }
  
  .navbar {
    top: 0; /* Reset to top on mobile since info bar is hidden */
  }
  
  .navbar-collapse {
    margin-top: 0.75rem;
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1.05rem; /* Increased font size for better readability */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .navbar-toggler {
    padding: 0.5rem 0.75rem;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
  }
}

/* Mobile Large (480px to 575px) */
@media (min-width: 480px) and (max-width: 575.98px) {
  body {
    padding-top: 70px; /* Adjust padding for mobile */
  }
  
  .navbar {
    top: 0;
  }
  
  .navbar-collapse {
    margin-top: 0.5rem;
    padding: 0.75rem;
    max-height: 70vh;
  }
  
  .navbar-nav .nav-link {
    padding: 0.6rem 0.8rem;
    font-size: 1rem; /* Increased font size for better readability */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .dropdown-item {
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem; /* Increased font size for better readability */
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .navbar-brand .logo-icon {
    height: 1.7rem;
  }

  /* Ensure logo image scales on small screens */
  img.logo-icon{
    width: auto !important;
    max-width: 160px !important;
    height: auto !important;
  }
  
  .navbar-toggler {
    padding: 0.4rem 0.6rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  
  .hero-buttons {
    gap: 0.75rem;
  }
  
  .hero-buttons .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}





  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 0.75rem;
  }

  .hero-buttons {
    gap: 0.5rem;
  }

  .hero-buttons .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }


/* Responsive container adjustments */
@media (max-width: 575.98px) {
  .container {
    padding: 0 0.75rem;
  }
}

@media (max-width: 374.98px) {
  .container {
    padding: 0 0.5rem;
  }
}


/* Responsive modal adjustments */
@media (max-width: 575.98px) {
  .modal-header {
    padding: 1rem 1rem 0.75rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .modal-footer {
    padding: 0.75rem 1rem 1rem;
  }
}

@media (max-width: 374.98px) {
  .modal-header {
    padding: 0.75rem 0.75rem 0.5rem;
  }
  
  .modal-body {
    padding: 0.75rem;
  }
  
  .modal-footer {
    padding: 0.5rem 0.75rem 0.75rem;
  }
}

/* Modern Footer */
.footer-modern {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: var(--white);
  overflow: hidden;
  margin-top: 4rem;
}

/* Animated Background */
.footer-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.footer-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 84, 161, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(30, 64, 175, 0.05) 0%, transparent 50%);
  animation: footerParticleFloat 20s ease-in-out infinite;
}

.footer-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: footerGridMove 30s linear infinite;
}

@keyframes footerParticleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes footerGridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Footer Content */
.footer-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 2rem;
}

/* Brand Section */
.footer-brand-modern {
  margin-bottom: 2rem;
}

.brand-logo-container {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.footer-logo-modern {
  width: 65%;
  height: auto;
  border-radius: 0px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  display: block;
  margin: 0;
  padding: 0;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: logoGlow 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes logoGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.brand-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0;
  line-height: 1;
}


.brand-title span {
  margin-left: -1.5rem;
}

.brand-description {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Social Links */
.social-links-modern {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-link-modern {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link-modern:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, #00d4ff 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
  color: var(--white);
}

.social-link-modern .iconify {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.social-link-modern:hover .iconify {
  transform: scale(1.1);
}

.social-tooltip {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.social-tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid rgba(0, 0, 0, 0.9);
}

.social-link-modern:hover .social-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Contact Info */
.contact-info-modern {
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #cbd5e1;
  transition: color 0.3s ease;
}

.contact-item:hover {
  color: #00d4ff;
}

.contact-item .iconify {
  font-size: 1.1rem;
  color: #00d4ff;
}

/* Footer Sections */
.footer-section-modern {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff 0%, var(--primary-color) 100%);
  border-radius: 1px;
}

.footer-links-modern {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-modern li {
  margin-bottom: 0.75rem;
}

.footer-link-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.footer-link-modern::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.footer-link-modern:hover::before {
  left: 100%;
}

.footer-link-modern:hover {
  color: #00d4ff;
  transform: translateX(5px);
}

.link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.footer-link-modern:hover .link-icon {
  background: rgba(0, 212, 255, 0.2);
  transform: scale(1.1);
}

.link-icon .iconify {
  font-size: 0.9rem;
  color: #00d4ff;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
}

.footer-divider-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  margin: 0 1rem;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.divider-icon .iconify {
  font-size: 1.5rem;
  color: #00d4ff;
  animation: dividerIconRotate 4s linear infinite;
}

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

.copyright-modern {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-legal-modern {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  position: relative;
}

.legal-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #00d4ff;
  transition: width 0.3s ease;
}

.legal-link:hover {
  color: #00d4ff;
}

.legal-link:hover::after {
  width: 100%;
}

.separator {
  color: #64748b;
  font-size: 0.8rem;
}



/* Footer Responsive Design */
@media (max-width: 991.98px) {
  .footer-content {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-legal-modern {
    justify-content: center;
    margin-top: 1rem;
  }
  
  .copyright-modern {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .footer-modern {
    margin-top: 2rem;
  }
  
  .footer-content {
    padding: 2rem 0 1rem;
  }
  
  .social-links-modern {
    justify-content: center;
  }
  
  .brand-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.1rem;
  }
  

}

@media (max-width: 575.98px) {
  .footer-legal-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .separator {
    display: none;
  }
  

} 

/* Desktop dropdown alignment - left align Products submenu */
@media (min-width: 992px) {
  ul.dropdown-menu.fade-in.show {
    text-align: left;
  }

  ul.dropdown-menu.fade-in.show .dropdown-item {
    text-align: left;
    justify-content: flex-start;
    display: flex;
    align-items: center;
  }

  ul.dropdown-menu.fade-in.show .dropdown-submenu .submenu {
    text-align: left;
  }

  ul.dropdown-menu.fade-in.show .dropdown-submenu .submenu .dropdown-item {
    text-align: left;
    justify-content: flex-start;
    display: flex;
    align-items: center;
  }

  ul.dropdown-menu.fade-in.show .submenu-toggle {
    text-align: left;
    justify-content: flex-start;
  }
  /* Open nested submenus below parent on desktop */
  .navbar .dropdown-menu .dropdown-submenu .submenu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin-left: 0 !important;
    margin-top: 0.5rem !important;
    width: 100% !important;
  }
}

/* Mobile dropdown alignment - keep center aligned */
@media (max-width: 991.98px) {
  ul.dropdown-menu.fade-in.show {
    text-align: center;
  }

  ul.dropdown-menu.fade-in.show .dropdown-item {
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
  }

  ul.dropdown-menu.fade-in.show .dropdown-submenu .submenu {
    text-align: center;
  }

  ul.dropdown-menu.fade-in.show .dropdown-submenu .submenu .dropdown-item {
    text-align: center;
    justify-content: flex-start;
    display: flex;
    align-items: center;
  }

  ul.dropdown-menu.fade-in.show .submenu-toggle {
    text-align: center;
    justify-content: center;
  }
} 

/* ===== HYDRAULIC PRESSES PAGE STYLES ===== */

/* Hydraulic Hero Section */
.hydraulic-hero-section {
    position: relative;
    min-height: auto; /* Remove fixed height */
    background: #000000;
    overflow: hidden;
    padding-top: 70px; /* Minimal navbar offset */
    margin-top: 0;
}

.hydraulic-hero-section .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    padding-top: 0; /* Remove all top padding */
    margin-top: 0; /* Remove all top margin */
}

.hydraulic-hero-section .hero-text {
    color: white;
    text-align: left;
    max-width: 600px;
    margin-top: 0;
    padding-top: 0;
}

/* Override Bootstrap row spacing */
.hydraulic-hero-section .row {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hydraulic-hero-section .col-lg-6,
.hydraulic-hero-section .col-md-12,
.hydraulic-hero-section .col-sm-12 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hydraulic-hero-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hydraulic-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hydraulic-hero-section .hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hydraulic-hero-section .hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 0; /* Reduced top margin */
    line-height: 1.2;
    padding-top: 0; /* Reduced top padding */
}

.hydraulic-hero-section .hero-highlight {
    color: #64b5f6;
    text-shadow: 0 0 20px rgba(100, 181, 246, 0.5);
}

.hydraulic-hero-section .hero-accent {
    color: #81c784;
    text-shadow: 0 0 20px rgba(129, 199, 132, 0.5);
}

.hydraulic-hero-section .hero-subheadline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hydraulic-hero-section .floating-elements {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hydraulic-hero-section .floating-element {
    position: absolute;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    animation: float 6s ease-in-out infinite;
}

.hydraulic-hero-section .floating-element.hydraulic-press {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.hydraulic-hero-section .floating-element.gear {
    top: 60%;
    right: 30%;
    animation-delay: 2s;
}

.hydraulic-hero-section .floating-element.piston {
    bottom: 20%;
    left: 40%;
    animation-delay: 4s;
}

.hydraulic-hero-section .hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem; /* Ensure proper spacing below text */
    padding-top: 2rem; /* Additional top padding */
    flex-wrap: wrap;
}

.hydraulic-hero-section .stat-item {
    text-align: center;
    color: white;
}

.hydraulic-hero-section .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #64b5f6;
    text-shadow: 0 0 10px rgba(100, 181, 246, 0.5);
    padding-bottom: 0.5rem; /* Added bottom padding */
    margin-bottom: 0.25rem; /* Added bottom margin for spacing */
}

.hydraulic-hero-section .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SERVO PRESSES PAGE STYLES ===== */

/* Servo Hero Section */
.servo-hero-section {
    position: relative;
    min-height: auto;
    background: #000000;
    overflow: hidden;
    padding-top: 70px;
    margin-top: 0;
}

.servo-hero-section .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    padding-top: 0;
    margin-top: 0;
}

.servo-hero-section .hero-text {
    color: white;
    text-align: left;
    max-width: 600px;
    margin-top: 0;
    padding-top: 0;
}

/* Override Bootstrap row spacing */
.servo-hero-section .row {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.servo-hero-section .col-lg-6,
.servo-hero-section .col-md-12,
.servo-hero-section .col-sm-12 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.servo-hero-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(11, 13, 17, 0.8), rgba(11, 13, 17, 0.8)),
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.servo-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.servo-hero-section .hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.servo-hero-section .hero-btn-primary {
    background: linear-gradient(135deg, #0055A9, #003d7a);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.servo-hero-section .hero-btn-primary:hover {
    background: linear-gradient(135deg, #003d7a, #002a5c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 85, 169, 0.3);
    color: white;
}

.servo-hero-section .hero-btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.servo-hero-section .hero-btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.servo-hero-section .hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 0;
    line-height: 1.2;
    padding-top: 0;
}

.servo-hero-section .hero-highlight {
    color: #0055A9;
    text-shadow: 0 0 20px rgba(0, 85, 169, 0.5);
}

.servo-hero-section .hero-accent {
    color: #68d391;
    text-shadow: 0 0 20px rgba(104, 211, 145, 0.5);
}

.servo-hero-section .hero-subheadline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.servo-hero-section .hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servo-hero-section .floating-elements {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servo-hero-section .floating-gear,
.servo-hero-section .floating-robot,
.servo-hero-section .floating-press {
    position: absolute;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    animation: float 6s ease-in-out infinite;
}

.servo-hero-section .floating-gear {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.servo-hero-section .floating-robot {
    top: 60%;
    right: 30%;
    animation-delay: 2s;
}

.servo-hero-section .floating-press {
    bottom: 20%;
    left: 40%;
    animation-delay: 4s;
}

.servo-hero-section .hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    flex-wrap: wrap;
}

.servo-hero-section .stat-item {
    text-align: center;
    color: white;
}

.servo-hero-section .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0055A9;
    text-shadow: 0 0 10px rgba(0, 85, 169, 0.5);
    padding-bottom: 0.5rem;
}

.servo-hero-section .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Servo Technology Section */
.servo-tech-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.servo-tech-section .section-title,
.servo-gallery-section .section-title,
.overview-section .section-title,
.options-section .section-title,
.features-section .section-title,
.equipment-section .section-title,
.specs-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.servo-tech-section .section-subtitle,
.servo-gallery-section .section-subtitle,
.overview-section .section-subtitle,
.options-section .section-subtitle,
.features-section .section-subtitle,
.equipment-section .section-subtitle,
.specs-section .section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
}



.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tech-card .tech-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tech-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.tech-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Servo Gallery Section */
.servo-gallery-section {
    background: white;
    padding: 4rem 0;
}



.gallery-item {
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 1rem;
}

.overlay-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.overlay-content .iconify {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Overview Section */
.overview-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}



.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.overview-card .overview-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.overview-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.overview-card p {
    color: #6c757d;
    font-weight: 500;
}

.overview-description {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.overview-description h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.overview-description h3:first-child {
    margin-top: 0;
}

.overview-description p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Options Section */
.options-section {
    background: white;
    padding: 4rem 0;
}



.option-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.option-card .option-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.option-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.option-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    background: white;
    position: relative;
}

.features-section .section-title {
    color: #2d3748;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.features-section .section-subtitle {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.features-section .feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid #e2e8f0;
}

.features-section .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
            border-color: var(--primary-color);
}

.features-section .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.features-section .feature-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.features-section .feature-icon span {
    font-size: 2.5rem;
    color: white;
}

.features-section .feature-card h4 {
    color: #2d3748;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.features-section .feature-card p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Equipment Section */
.equipment-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
}

.equipment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 84, 161, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 55, 72, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.equipment-section .section-title {
    color: #2d3748;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.equipment-section .section-subtitle {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    position: relative;
}

.equipment-section .equipment-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    text-align: center;
}

.equipment-section .equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.equipment-section .equipment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.equipment-section .equipment-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.equipment-section .equipment-icon span {
    font-size: 2.5rem;
    color: white;
}

.equipment-section .equipment-card h4 {
    color: #2d3748;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

/* Specifications Section */
.specs-section {
    background: white;
    position: relative;
}

.specs-section .section-title {
    color: #2d3748;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.specs-section .section-subtitle {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.specs-section .specs-series {
    background: #f7fafc;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.specs-section .series-title {
    color: #2d3748;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.specs-section .series-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #0056b3);
    border-radius: 2px;
}

.specs-section .specs-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.specs-section .specs-table th {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.specs-section .specs-table td {
    padding: 1rem;
    border-color: #e2e8f0;
    vertical-align: middle;
}

.specs-section .specs-table tbody tr:hover {
    background-color: #f7fafc;
}

.specs-section .specs-notes {
    background: #fef5e7;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.specs-section .specs-notes p {
    color: #92400e;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.specs-section .specs-notes p:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 84, 161, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
}

.cta-section .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.cta-section .cta-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.cta-section .cta-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border: none;
    color: white;
}

.cta-section .cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 84, 161, 0.3);
}

.cta-section .cta-buttons .btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-section .cta-buttons .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 84, 161, 0.3);
}

/* ===== RESPONSIVE DESIGN FOR SERVO HERO ===== */

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}

/* Responsive Design for Servo Hero */
@media (max-width: 991.98px) {
    .servo-hero-section .hero-headline {
        font-size: 2.5rem;
    }
    
    .servo-hero-section .hero-stats {
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 2rem;
    }
    
    .servo-hero-section .floating-elements {
        height: 300px;
    }

}

@media (max-width: 767.98px) {
    .servo-hero-section {
        min-height: auto;
        padding-top: 70px;
    }
    
    .servo-hero-section .hero-content {
        padding-top: 1rem;
    }
    
    .servo-hero-section .hero-text {
        padding: 0;
        text-align: center;
        width: 100%;
        margin-top: 0;
    }
    
    .servo-hero-section .hero-headline {
        font-size: 2rem;
        margin: 0 0 1rem 0;
        padding: 0;
        text-align: center;
    }
    
    .servo-hero-section .hero-subheadline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .servo-hero-section .hero-stats {
        margin-top: 1.5rem;
        gap: 0.75rem;
        justify-content: center;
    }
    
    .servo-hero-section .stat-number {
        font-size: 1.75rem;
    }
    
    .servo-hero-section .stat-label {
        font-size: 0.8rem;
    }
    
    .servo-hero-section .floating-elements {
        height: 200px;
        display: none;
    }
    
    .servo-hero-section .hero-cta {
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    
    .servo-hero-section .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 1rem auto;
        text-align: center;
        display: block;
    }
}

@media (max-width: 575.98px) {
    .servo-hero-section {
        padding-top: 60px;
    }
    
    .servo-hero-section .hero-content {
        padding-top: 0.5rem;
    }
    
    .servo-hero-section .hero-text {
        padding: 0;
        text-align: center;
        width: 100%;
        margin-top: 0;
    }
    
    .servo-hero-section .hero-headline {
        font-size: 1.75rem;
        line-height: 1.3;
        text-align: center;
        margin: 0 0 1rem 0;
        padding: 0;
    }
    
    .servo-hero-section .hero-subheadline {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: center;
    }
    
    .servo-hero-section .hero-stats {
        gap: 0.5rem;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .servo-hero-section .stat-number {
        font-size: 1.5rem;
    }
    
    .servo-hero-section .stat-label {
        font-size: 0.75rem;
    }
    
    .servo-hero-section .hero-cta {
        width: 100%;
        text-align: center;
    }
    
    .servo-hero-section .hero-cta .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        max-width: 250px;
        margin: 0 auto 0.75rem auto;
        display: block;
    }
}

/* Mechanical Hero Section */
.mechanical-hero-section {
    position: relative;
    min-height: auto;
    background: #000000;
    overflow: hidden;
    padding-top: 90px;
    margin-top: 0;
}

.mechanical-hero-section .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    padding-top: 0;
    margin-top: 0;
}

.mechanical-hero-section .hero-text {
    color: white;
    text-align: left;
    max-width: 600px;
    margin-top: 0;
    padding-top: 0;
}

/* Override Bootstrap row spacing */
.mechanical-hero-section .row {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.mechanical-hero-section .col-lg-6,
.mechanical-hero-section .col-md-12,
.mechanical-hero-section .col-sm-12 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.mechanical-hero-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(74, 85, 104, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 55, 72, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(113, 128, 150, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.mechanical-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.mechanical-hero-section .hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.mechanical-hero-section .hero-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.mechanical-hero-section .hero-btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 84, 161, 0.3);
    color: white;
}

.mechanical-hero-section .hero-btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.mechanical-hero-section .hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.mechanical-hero-section .hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.mechanical-hero-section .hero-highlight {
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 84, 161, 0.5);
}

.mechanical-hero-section .hero-accent {
    color: #68d391;
    text-shadow: 2px 2px 4px rgba(104, 211, 145, 0.5);
}

.mechanical-hero-section .hero-subheadline {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.mechanical-hero-section .hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mechanical-hero-section .floating-elements {
    position: relative;
    width: 300px;
    height: 300px;
}

.mechanical-hero-section .floating-gear,
.mechanical-hero-section .floating-robot,
.mechanical-hero-section .floating-press {
    position: absolute;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    animation: float 6s ease-in-out infinite;
}

.mechanical-hero-section .floating-gear {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    animation-duration: 4s;
}

.mechanical-hero-section .floating-robot {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
    animation-duration: 5s;
}

.mechanical-hero-section .floating-press {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
    animation-duration: 6s;
}

.mechanical-hero-section .hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.mechanical-hero-section .stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.mechanical-hero-section .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 84, 161, 0.5);
}

.mechanical-hero-section .stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for mechanical hero section */
@media (max-width: 768px) {
    .mechanical-hero-section .hero-headline {
        font-size: 2.5rem;
    }
    
    .mechanical-hero-section .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .mechanical-hero-section .hero-stats {
        gap: 1rem;
    }
    
    .mechanical-hero-section .stat-item {
        min-width: 100px;
    }
    
    .mechanical-hero-section .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .mechanical-hero-section .hero-headline {
        font-size: 2rem;
    }
    
    .mechanical-hero-section .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .mechanical-hero-section .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mechanical Technology Section */
.mechanical-tech-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
}

.mechanical-tech-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 84, 161, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 55, 72, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.mechanical-tech-section .section-title {
    color: #2d3748;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.mechanical-tech-section .section-subtitle {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    position: relative;
}

.mechanical-tech-section .tech-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.mechanical-tech-section .tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0056b3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mechanical-tech-section .tech-card:hover::before {
    transform: scaleX(1);
}

.mechanical-tech-section .tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.mechanical-tech-section .tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.mechanical-tech-section .tech-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.mechanical-tech-section .tech-icon span {
    font-size: 2.5rem;
    color: white;
}

.mechanical-tech-section .tech-card h3 {
    color: #2d3748;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.mechanical-tech-section .tech-card p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Mechanical Gallery Section */
.mechanical-gallery-section {
    background: white;
    position: relative;
}

.mechanical-gallery-section .section-title {
    color: #2d3748;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.mechanical-gallery-section .section-subtitle {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.mechanical-gallery-section .gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.mechanical-gallery-section .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.mechanical-gallery-section .gallery-image {
    position: relative;
    overflow: hidden;
}

.mechanical-gallery-section .gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mechanical-gallery-section .gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.mechanical-gallery-section .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.9), rgba(45, 55, 72, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mechanical-gallery-section .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.mechanical-gallery-section .overlay-content {
    text-align: center;
    color: white;
    padding: 1rem;
}

.mechanical-gallery-section .overlay-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.mechanical-gallery-section .overlay-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.mechanical-gallery-section .overlay-content span {
    font-size: 2rem;
    opacity: 0.8;
}

/* Mechanical Overview Section */
.overview-section {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(72, 187, 120, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.overview-section .section-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.overview-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    position: relative;
}

.overview-section .overview-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.overview-section .overview-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.overview-section .overview-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.overview-section .overview-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border-radius: 50%;
    opacity: 0.3;
}

.overview-section .overview-icon span {
    font-size: 2.5rem;
    color: white;
}

.overview-section .overview-card h4 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.overview-section .overview-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.overview-section .overview-description {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

.overview-section .overview-description h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.overview-section .overview-description p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.overview-section .overview-description p:last-child {
    margin-bottom: 0;
}

/* ===== REVOLUTIONARY HOMEPAGE STYLES ===== */

/* Revolutionary Hero Section */
.revolutionary-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0054A1 100%);
    margin-top: 0;
    padding-top: 70px;
}

.revolutionary-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.revolutionary-hero .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7);
}

.revolutionary-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(0, 84, 161, 0.6) 100%);
    z-index: 2;
}

.revolutionary-hero .hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 84, 161, 0.1) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
    z-index: 2;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.revolutionary-hero .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    color: white;
}

.revolutionary-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 500;
}

.revolutionary-hero .hero-headline {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.revolutionary-hero .gradient-text {
    background: linear-gradient(135deg, #00d4ff 0%, #0054A1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.revolutionary-hero .hero-accent {
    color: #68d391;
    text-shadow: 0 0 20px rgba(104, 211, 145, 0.5);
}

.revolutionary-hero .hero-subheadline {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.revolutionary-hero .hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.revolutionary-hero .btn-hero-primary {
    background: linear-gradient(135deg, #00d4ff, #0054A1);
    border: none;
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.revolutionary-hero .btn-hero-primary:hover {
    background: linear-gradient(135deg, #0054A1, #003d7a);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.4);
    color: white;
}

.revolutionary-hero .btn-hero-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.revolutionary-hero .btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    color: white;
}

.revolutionary-hero .hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.revolutionary-hero .stat-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.revolutionary-hero .stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.revolutionary-hero .stat-icon {
    font-size: 2rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.revolutionary-hero .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #00d4ff;
    display: block;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.revolutionary-hero .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.revolutionary-hero .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.revolutionary-hero .scroll-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.revolutionary-hero .scroll-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    color: #00d4ff;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.about-section .section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.about-section .section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.about-section .about-text {
    margin-bottom: 2rem;
}

.about-section .lead {
    font-size: 1.125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 1.5rem;
}

.about-section .about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.about-section .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-section .feature-item:hover {
    background: #e1f5fe;
    transform: translateX(5px);
}

.about-section .feature-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.about-section .about-visual {
    position: relative;
}

.about-section .about-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-section .about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-section .about-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), #00d4ff);
    color: white;
    padding: 1rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 84, 161, 0.3);
}

.about-section .about-metrics {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.about-section .metric-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    flex: 1;
    border: 1px solid #e1f5fe;
}

.about-section .metric-card h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-section .metric-card p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Expertise Section */
.expertise-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e1f5fe 100%);
    position: relative;
    overflow: hidden;
}

.expertise-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 84, 161, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.expertise-section .section-header {
    margin-bottom: 4rem;
    position: relative;
}

.expertise-section .section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.expertise-section .section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.expertise-section .expertise-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid #e1f5fe;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.expertise-section .expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.expertise-section .expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-section .expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.expertise-section .card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.expertise-section .card-icon.mechanical {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.expertise-section .card-icon.servo {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.expertise-section .card-icon.hydraulic {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.expertise-section .card-icon.automation {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.expertise-section .card-icon .iconify {
    font-size: 2.5rem;
    color: white;
}

.expertise-section .expertise-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.expertise-section .expertise-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.expertise-section .expertise-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.expertise-section .expertise-features li {
    padding: 0.5rem 0;
    color: #374151;
    position: relative;
    padding-left: 1.5rem;
}

.expertise-section .expertise-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.expertise-section .expertise-link {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.expertise-section .expertise-link:hover {
    background: #003d7a;
    transform: scale(1.1);
    color: white;
}

/* Innovation Section */
.innovation-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.innovation-section .section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.innovation-section .section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.innovation-section .innovation-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.innovation-section .metric {
    text-align: center;
}

.innovation-section .metric-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.innovation-section .metric-label {
    color: #6b7280;
    font-size: 0.9rem;
}

.innovation-section .tech-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.innovation-section .tech-item {
    background: linear-gradient(135deg, #f8fafc, #e1f5fe);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e1f5fe;
    transition: all 0.3s ease;
}

.innovation-section .tech-item:hover {
    background: linear-gradient(135deg, #e1f5fe, #bbdefb);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 84, 161, 0.1);
}

.innovation-section .tech-item .iconify {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.innovation-section .tech-item span:last-child {
    font-weight: 600;
    color: #1f2937;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1f2937 0%, var(--primary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section .cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.cta-section .cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    position: relative;
}

.cta-section .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.cta-section .btn-cta-primary {
    background: linear-gradient(135deg, #00d4ff, #0077cc);
    border: none;
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.cta-section .btn-cta-primary:hover {
    background: linear-gradient(135deg, #0077cc, #0054A1);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.4);
    color: white;
}

.cta-section .btn-cta-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.cta-section .btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    color: white;
}

/* Leadership Profile Section */
.leadership-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e1f5fe 100%);
    position: relative;
    overflow: hidden;
}

.leadership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 84, 161, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.leadership-section .section-header {
    margin-bottom: 4rem;
    position: relative;
}

.leadership-section .section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.leadership-section .section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Profile Visual */
.profile-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.profile-image-container {
    position: relative;
    width: 350px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #00d4ff);
    border-radius: 30px;
    transform: rotate(-5deg);
    z-index: 1;
}

.profile-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.1) 10px, rgba(255, 255, 255, 0.1) 20px);
    border-radius: 30px;
}

.profile-image {
    position: relative;
    z-index: 3;
    background: white;
    border-radius: 25px;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.director-photo {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.profile-image:hover .director-photo {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.profile-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), #00d4ff);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(0, 84, 161, 0.3);
    white-space: nowrap;
}

.profile-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.decoration-1,
.decoration-2,
.decoration-3 {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.2);
}

.decoration-1 {
    width: 80px;
    height: 80px;
    top: -20px;
    right: -20px;
    animation: float 6s ease-in-out infinite;
}

.decoration-2 {
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: -30px;
    animation: float 6s ease-in-out infinite 2s;
}

.decoration-3 {
    width: 40px;
    height: 40px;
    top: 50%;
    right: -20px;
    animation: float 6s ease-in-out infinite 4s;
}

/* Profile Content */
.profile-content {
    padding-left: 2rem;
}

.profile-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 84, 161, 0.1);
}

.profile-name {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.profile-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 1rem;
}

.profile-location .iconify {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.profile-bio {
    margin-bottom: 2.5rem;
}

.profile-bio .lead {
    font-size: 1.125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 1.5rem;
}

.profile-bio p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Achievements */
.profile-achievements {
    margin-bottom: 2.5rem;
}

.profile-achievements h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 84, 161, 0.1);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #00d4ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.achievement-icon .iconify {
    font-size: 1.5rem;
    color: white;
}

.achievement-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.achievement-content p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Expertise Tags */
.profile-expertise {
    margin-bottom: 2.5rem;
}

.profile-expertise h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.expertise-tag {
    background: linear-gradient(135deg, rgba(0, 84, 161, 0.1), rgba(0, 212, 255, 0.1));
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 84, 161, 0.2);
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), #00d4ff);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 84, 161, 0.3);
}

/* Contact Methods */
.profile-contact {
    margin-bottom: 2.5rem;
}

.profile-contact h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 1px solid rgba(0, 84, 161, 0.1);
    border-radius: 12px;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-link:hover {
    background: linear-gradient(135deg, rgba(0, 84, 161, 0.05), rgba(0, 212, 255, 0.05));
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 84, 161, 0.15);
}

.contact-link .iconify {
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* Profile Quote */
.profile-quote {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.profile-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 1rem;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

.profile-quote blockquote {
    margin: 0;
}

.profile-quote p {
    font-size: 1.1rem;
    font-style: italic;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.profile-quote cite {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    font-style: normal;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .revolutionary-hero .hero-headline {
        font-size: 3rem;
    }
    
    .revolutionary-hero .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-section .section-title,
    .expertise-section .section-title,
    .innovation-section .section-title,
    .leadership-section .section-title,
    .cta-section .cta-title {
        font-size: 2.5rem;
    }
    
    .profile-content {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .profile-image-container {
        width: 300px;
        height: 400px;
    }
    
    .director-photo {
        width: 240px;
        height: 300px;
    }
    
    .achievement-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .revolutionary-hero {
        padding-top: 60px;
        min-height: auto;
    }
    
    .revolutionary-hero .hero-headline {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .revolutionary-hero .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .revolutionary-hero .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .revolutionary-hero .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .about-section,
    .expertise-section,
    .innovation-section,
    .leadership-section,
    .cta-section {
        padding: 4rem 0;
    }
    
    .about-section .section-title,
    .expertise-section .section-title,
    .innovation-section .section-title,
    .leadership-section .section-title,
    .cta-section .cta-title {
        font-size: 2rem;
    }
    
    .innovation-section .tech-showcase {
        grid-template-columns: 1fr;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-image-container {
        width: 280px;
        height: 360px;
    }
    
    .director-photo {
        width: 220px;
        height: 280px;
    }
    
    .contact-methods {
        gap: 0.75rem;
    }
    
    .contact-link {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 575.98px) {
    .revolutionary-hero .hero-headline {
        font-size: 2rem;
    }
    
    .revolutionary-hero .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .revolutionary-hero .btn-hero-primary,
    .revolutionary-hero .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .about-section .about-features {
        gap: 0.5rem;
    }
    
    .about-section .about-metrics {
        flex-direction: column;
    }
    
    .expertise-section .expertise-card {
        padding: 2rem;
    }
    
    .cta-section .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-section .btn-cta-primary,
    .cta-section .btn-cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .profile-name {
        font-size: 1.75rem;
    }
    
    .profile-title {
        font-size: 1.1rem;
    }
    
    .profile-image-container {
        width: 250px;
        height: 320px;
    }
    
    .director-photo {
        width: 200px;
        height: 250px;
    }
    
    .expertise-tags {
        gap: 0.5rem;
    }
    
    .expertise-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .profile-achievements h4,
    .profile-expertise h4,
    .profile-contact h4 {
        font-size: 1.25rem;
    }
    
    .achievement-item {
        padding: 1rem;
    }
    
    .achievement-icon {
        width: 40px;
        height: 40px;
    }
    
    .achievement-icon .iconify {
        font-size: 1.25rem;
    }
    
    .profile-quote {
        padding: 1.5rem;
    }
    
    .profile-quote p {
        font-size: 1rem;
    }

    /* Extra spacing below About CTA on mobile */
    .about-section .about-cta { margin-bottom: 1.25rem; }
}

/* ============================
   INTERACTIVE EXPERTISE SECTION
   ============================ */

/* Main container for the interactive expertise layout */
.expertise-interactive-container {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(0, 84, 161, 0.02) 0%, rgba(0, 212, 255, 0.02) 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 84, 161, 0.1);
}

/* Left sidebar with navigation */
.expertise-sidebar {
    flex: 0 0 300px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 84, 161, 0.1);
    position: relative;
}

.expertise-sidebar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--root-color-accent) 100%);
    border-radius: 2px;
}

/* Navigation list */
.expertise-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Individual navigation items */
.expertise-nav-item {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.expertise-nav-item:hover {
    background: rgba(0, 84, 161, 0.05);
    transform: translateX(5px);
    border-color: rgba(0, 84, 161, 0.2);
    box-shadow: 0 5px 15px rgba(0, 84, 161, 0.1);
}

.expertise-nav-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--root-color-accent) 100%);
    color: white;
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 84, 161, 0.3);
}

.expertise-nav-item.active .nav-title {
    color: white;
    font-weight: 600;
}

/* Navigation icons */
.nav-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-icon.mechanical {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.nav-icon.servo {
    background: linear-gradient(135deg, #10b981, #059669);
}

.nav-icon.hydraulic {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.nav-icon.automation {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.nav-icon .iconify {
    font-size: 1.5rem;
    color: white;
    z-index: 2;
    position: relative;
}

.nav-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expertise-nav-item:hover .nav-icon::before {
    opacity: 1;
}

/* Navigation titles */
.nav-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    flex: 1;
}

/* Navigation indicator */
.nav-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--root-color-accent);
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0);
}

.expertise-nav-item.active .nav-indicator {
    opacity: 1;
    transform: scale(1);
    background: white;
}

/* Right content area */
.expertise-content {
    flex: 1;
    position: relative;
    min-height: 500px;
}

/* Content panels */
.expertise-content-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 84, 161, 0.1);
    overflow-y: auto;
}

.expertise-content-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Content header */
.content-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 84, 161, 0.1);
}

.content-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    position: relative;
    overflow: hidden;
}

.content-icon.mechanical {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.content-icon.servo {
    background: linear-gradient(135deg, #10b981, #059669);
}

.content-icon.hydraulic {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.content-icon.automation {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.content-icon .iconify {
    font-size: 2rem;
    color: white;
    z-index: 2;
    position: relative;
}

.content-title-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.content-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 400;
}

/* Content body */
.content-body p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 2rem;
}

/* Feature highlights */
.feature-highlights {
    margin-bottom: 2.5rem;
}

.feature-highlights h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 84, 161, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 84, 161, 0.1);
    transform: translateY(-2px);
}

.feature-item .iconify {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.feature-item span:last-child {
    font-weight: 500;
    color: var(--text-dark);
}

/* Product series */
.product-series {
    margin-bottom: 2.5rem;
}

.product-series h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.series-list {
    list-style: none;
    padding: 0;
}

.series-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 84, 161, 0.1);
    transition: all 0.3s ease;
}

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

.series-list li:hover {
    padding-left: 1rem;
    background: rgba(0, 84, 161, 0.02);
}

.series-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.series-list a:hover {
    color: var(--root-color-accent);
    text-decoration: underline;
}

/* Content actions */
.content-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.content-actions .btn {
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.content-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--root-color-accent));
    color: white;
    border: none;
}

.content-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 84, 161, 0.3);
}

.content-actions .btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.content-actions .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Ripple effect animation */
.ripple-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        width: 100px;
        height: 100px;
        margin-left: -50px;
        margin-top: -50px;
        opacity: 0;
    }
}

/* Responsive design for interactive expertise section */
@media (max-width: 1199.98px) {
    .expertise-interactive-container {
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .expertise-sidebar {
        flex: 0 0 250px;
    }
    
    .expertise-nav-item {
        padding: 1rem 1.25rem;
    }
    
    .nav-icon {
        width: 40px;
        height: 40px;
        margin-right: 0.75rem;
    }
    
    .nav-icon .iconify {
        font-size: 1.25rem;
    }
    
    .nav-title {
        font-size: 1rem;
    }
    
    .expertise-content-panel {
        padding: 2rem;
    }
    
    .content-icon {
        width: 60px;
        height: 60px;
        margin-right: 1.25rem;
    }
    
    .content-icon .iconify {
        font-size: 1.75rem;
    }
    
    .content-title-section h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 991.98px) {
    .expertise-interactive-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .expertise-sidebar {
        flex: none;
        width: 100%;
    }
    
    .expertise-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 0.75rem;
        padding-bottom: 0.5rem;
    }
    
    .expertise-nav-item {
        flex: 0 0 auto;
        min-width: 200px;
        padding: 1rem;
    }
    
    .expertise-nav-item:hover,
    .expertise-nav-item.active {
        transform: translateY(-3px);
    }
    
    .expertise-content {
        min-height: 400px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .content-actions {
        flex-direction: column;
    }
    
    .content-actions .btn {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .expertise-interactive-container {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .expertise-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .expertise-nav-item {
        min-width: auto;
        padding: 0.875rem;
    }
    
    .nav-icon {
        width: 35px;
        height: 35px;
        margin-right: 0.5rem;
    }
    
    .nav-icon .iconify {
        font-size: 1.125rem;
    }
    
    .nav-title {
        font-size: 0.95rem;
    }
    
    .expertise-content-panel {
        padding: 1.5rem;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .content-icon {
        width: 50px;
        height: 50px;
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: center;
    }
    
    .content-icon .iconify {
        font-size: 1.5rem;
    }
    
    .content-title-section {
        text-align: center;
        width: 100%;
    }
    
    .content-title-section h3 {
        font-size: 1.5rem;
    }
    
    .content-subtitle {
        font-size: 1rem;
    }
    
    .content-body p {
        font-size: 1rem;
    }
    
    .feature-highlights h4,
    .product-series h4 {
        font-size: 1.2rem;
    }
    
    .feature-item {
        padding: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .nav-title {
        font-size: 0.9rem;
    }
    
    .content-title-section h3 {
        font-size: 1.375rem;
    }
    
    .content-subtitle {
        font-size: 0.95rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .feature-item .iconify {
        font-size: 1.5rem;
    }

    /* Prevent horizontal scrolling on very small screens */
    html, body {
        overflow-x: hidden;
    }
}

/* Global badge and overlay removal */
.hero-overlay,
.hero-badge,
.about-badge,
.profile-badge {
    display: none !important;
}

/* Remove separation lines in mobile navbar */
@media (max-width: 991px) {
    .navbar-collapse::before,
    .navbar-collapse::after {
        display: none !important;
    }
    
    .navbar-collapse .navbar-nav::after,
    .navbar-collapse .navbar-nav::before {
        display: none !important;
    }
    
    .navbar-collapse .d-flex::before,
    .navbar-collapse .d-flex::after {
        display: none !important;
    }
    
    /* Remove any borders that might create lines */
    .navbar-collapse {
        border: none !important;
    }
    
    .navbar-collapse .navbar-nav {
        border: none !important;
    }
    
    .navbar-collapse .d-flex {
        border: none !important;
    }
}

/* Back to Top Arrow Styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-size: 20px;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 123, 255, 0.4);
}

.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.back-to-top .iconify {
    font-size: 24px;
}

/* Mobile responsiveness for back to top */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .back-to-top .iconify {
        font-size: 20px;
    }
}

/* Hide ReCAPTCHA Badge */
.grecaptcha-badge {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Cookie Modal - Steel in Design Style */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

.cookie-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f7fafc;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.2s ease;
}

.cookie-close-btn:hover {
    background: #edf2f7;
    transform: scale(1.1);
}

.cookie-close-btn .iconify {
    font-size: 20px;
    color: #4a5568;
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-header {
    padding: 24px 24px 16px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cookie-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.cookie-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #1a202c;
}

.cookie-header p {
    margin: 0;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-categories {
    padding: 20px 24px;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.category-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

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

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 28px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-switch input:checked + .switch-slider {
    background-color: #0054A1;
}

.cookie-switch input:checked + .switch-slider:before {
    transform: translateX(22px);
}

.cookie-switch input:disabled + .switch-slider {
    background-color: #10b981;
    cursor: not-allowed;
}

.cookie-category p {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-footer {
    padding: 20px 24px 24px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
}

.cookie-links {
    margin-bottom: 16px;
}

.cookie-link {
    color: #0054A1;
    text-decoration: none;
    font-size: 14px;
    margin-right: 16px;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cookie-cancel,
.btn-cookie-customize,
.btn-cookie-accept-all {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.btn-cookie-cancel {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.btn-cookie-cancel:hover {
    background: #edf2f7;
    border-color: #cbd5e1;
}

.btn-cookie-customize {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.btn-cookie-customize:hover {
    background: #edf2f7;
    border-color: #cbd5e1;
}

.btn-cookie-accept-all {
    background: #0054A1;
    color: white;
}

.btn-cookie-accept-all:hover {
    background: #003d7a;
    transform: translateY(-1px);
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cookie-modal {
        padding: 16px;
    }
    
    .cookie-modal-content {
        max-height: 90vh;
    }
    
    .cookie-close-btn {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
    }
    
    .cookie-close-btn .iconify {
        font-size: 18px;
    }
    
    .cookie-header {
        padding: 20px 20px 16px 20px;
    }
    
    .cookie-title {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .cookie-icon {
        font-size: 20px;
    }
    
    .cookie-header h2 {
        font-size: 20px;
    }
    
    .cookie-header p {
        font-size: 13px;
    }
    
    .cookie-categories {
        padding: 16px 20px;
    }
    
    .cookie-category {
        padding: 12px;
        margin-bottom: 16px;
    }
    
    .category-header h3 {
        font-size: 15px;
    }
    
    .cookie-switch {
        width: 44px;
        height: 26px;
    }
    
    .switch-slider:before {
        height: 18px;
        width: 18px;
        left: 4px;
        bottom: 4px;
    }
    
    .cookie-switch input:checked + .switch-slider:before {
        transform: translateX(18px);
    }
    
    .cookie-category p {
        font-size: 13px;
    }
    
    .cookie-footer {
        padding: 16px 20px 20px 20px;
    }
    
    .cookie-links {
        margin-bottom: 12px;
    }
    
    .cookie-link {
        font-size: 13px;
        margin-right: 12px;
        display: inline-block;
        margin-bottom: 4px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-cookie-cancel,
    .btn-cookie-customize,
    .btn-cookie-accept-all {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .cookie-modal {
        padding: 12px;
    }
    
    .cookie-header {
        padding: 16px 16px 12px 16px;
    }
    
    .cookie-categories {
        padding: 12px 16px;
    }
    
    .cookie-footer {
        padding: 12px 16px 16px 16px;
    }
}

