/*
Theme Name: BC System Custom Theme
Description: Custom WordPress theme for BC System Ltd
Author: BC System Ltd
Version: 1.0
*/

/* CSS Reset and Base Styles */ 
/* BC SYSTEM LTD - Modern Professional Website */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Roboto:wght@100;300;400;500;700;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Modern Color Scheme */
:root {
  /* Primary Colors - Custom Blue Palette */
  --primary-blue: #16689d;
  --primary-blue-light: #1a75b0;
  --primary-blue-dark: #003d69;
  
  /* Accent Colors */
  --accent-orange: #f59e0b;
  --accent-orange-light: #fbbf24;
  --accent-orange-dark: #d97706;
  
  /* Modern Gradients */
  --gradient-primary: linear-gradient(135deg, #16689d 0%, #1a75b0 100%);
  --gradient-primary-dark: linear-gradient(135deg, #003d69 0%, #16689d 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --gradient-hero: linear-gradient(135deg, rgba(22, 104, 157, 0.05) 0%, rgba(26, 117, 176, 0.05) 100%);
  
  /* Neutral Colors */
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Roboto', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-blue: 0 10px 15px -3px rgb(30 64 175 / 0.1), 0 4px 6px -4px rgb(30 64 175 / 0.1);
  
  /* Animations */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--gray-900);
  margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-md);
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: var(--primary-blue-light);
}

/* Top Bar */
.top-bar {
  background: var(--gray-900);
  color: var(--white);
  padding: var(--spacing-sm) 0;
  font-size: 0.875rem;
  border-bottom: 2px solid var(--primary-blue);
}

.top-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.top-bar-right {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.contact-info {
  display: flex;
  gap: var(--spacing-lg);
}

.contact-info a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: var(--transition-normal);
  margin-right: 1.5rem;
}

.contact-info a:last-child {
  margin-right: 0;
}

.contact-info a:hover {
  color: var(--accent-orange-light);
}

.contact-info i {
  font-size: 0.875rem;
}

#google_translate_element {
  display: inline-block;
  position: relative;
}

/* Hide duplicate Google Translate widgets */
#google_translate_element:not(:first-of-type) {
  display: none !important;
}

/* Google Translate Widget Styling */
.goog-te-gadget {
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
}

.goog-te-gadget-simple {
  background-color: transparent !important;
  border: 1px solid var(--gray-300) !important;
  border-radius: 4px !important;
  padding: 4px 8px !important;
  font-size: 0.875rem !important;
}

.goog-te-gadget-simple:hover {
  border-color: var(--primary-blue) !important;
}

.goog-te-menu-value {
  color: var(--gray-700) !important;
}

.goog-te-menu-value:hover {
  color: var(--primary-blue) !important;
}

/* Hide Google Translate banner */
.goog-te-banner-frame {
  display: none !important;
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

/* Prevent body margin when Google Translate is active */
body {
  top: 0 !important;
  margin-top: 0 !important;
}

/* Responsive Google Translate */
@media (max-width: 768px) {
  #google_translate_element {
    margin-top: 0.5rem;
  }
  
  .goog-te-gadget-simple {
    font-size: 0.8rem !important;
    padding: 3px 6px !important;
  }
}

/* Header */
header {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo img {
  height: 50px;
  width: auto;
  transition: var(--transition-normal);
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-blue);
  background: rgba(30, 64, 175, 0.05);
}

.nav-menu a i {
  font-size: 0.875rem;
  transition: var(--transition-normal);
}

.nav-menu a:hover i {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 280px;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-normal);
  z-index: 1000;
  border: 1px solid var(--gray-200);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-xs);
  font-weight: 400;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: transparent;
}

.dropdown-content a:hover {
  background: var(--gray-50);
  color: var(--primary-blue);
}

.dropdown-content a i {
  width: 16px;
  font-size: 0.875rem;
  color: var(--primary-blue);
}

/* Mega Menu for Industries */
.mega-menu {
  position: absolute;
  top: 100%;
  left: -200px;
  background: var(--white);
  width: 700px;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-normal);
  z-index: 1000;
  border: 1px solid var(--gray-200);
}

.dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.mega-menu-item {
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.mega-menu-item:hover {
  background: var(--gray-50);
}

.mega-menu-item a {
  font-weight: 400;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: transparent;
  padding: var(--spacing-xs);
}

.mega-menu-item a:hover {
  color: var(--primary-blue);
}

.mega-menu-item a i {
  width: 16px;
  font-size: 0.875rem;
  color: var(--primary-blue);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: var(--spacing-sm);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  z-index: 1001;
  position: relative;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--gray-700);
  margin: 3px 0;
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}

/* Mobile menu toggle animation */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 6px);
  background: var(--primary-blue);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -6px);
  background: var(--primary-blue);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 3px solid var(--primary-blue);
  box-shadow: var(--shadow-xl);
  padding: var(--spacing-lg);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
}

.cookie-text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.cookie-buttons {
  display: flex;
  gap: var(--spacing-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-md) var(--spacing-xl);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.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;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--gradient-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
}

.btn-outline:hover {
  background: var(--gray-50);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn-sm {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.875rem;
}

.btn i {
  font-size: 0.875rem;
}

/* Hero Section */
.hero {
  background: var(--gradient-hero);
  padding: var(--spacing-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%233b82f6" stop-opacity="0.1"/><stop offset="100%" stop-color="%231e40af" stop-opacity="0.05"/></radialGradient></defs><circle cx="500" cy="500" r="500" fill="url(%23a)"/></svg>') center/cover;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-lg);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: var(--spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Sections */
.section {
  padding: var(--spacing-3xl) 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

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

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--shadow-blue);
}

.card-icon i {
  font-size: 1.5rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Statistics Counter */
.stats {
  background: var(--gradient-primary);
  color: var(--white);
  padding: var(--spacing-3xl) 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/><circle cx="20" cy="20" r="1" fill="white" opacity="0.05"/><circle cx="80" cy="30" r="1.5" fill="white" opacity="0.08"/></svg>') repeat;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--white);
}

.stat-item p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
  color: var(--gray-700);
  font-family: var(--font-heading);
}

.form-control {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: var(--transition-normal);
  font-family: var(--font-body);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

/* Footer */
footer {
  background: var(--gray-900);
  color: var(--white);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-orange);
}

.footer-section a {
  color: var(--gray-300);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-sm);
  transition: var(--transition-normal);
}

.footer-section a:hover {
  color: var(--accent-orange-light);
  transform: translateX(4px);
}

.footer-section a i {
  font-size: 0.875rem;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--spacing-lg);
  text-align: center;
  color: var(--gray-400);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.6s ease-out forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.6s ease-out forwards;
}

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

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

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.hidden { display: none; }
.visible { display: block; }

/* Responsive Design */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .mega-menu { width: 500px; left: -150px; }
  .mega-menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Top Bar */
  .top-bar {
    padding: var(--spacing-xs) 0;
  }
  
  .top-bar .container {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .contact-info {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }
  
  /* Navigation */
  .mobile-menu-toggle {
    display: flex !important;
  }
  
  .nav-menu {
    position: fixed;
    top: 120px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 120px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: var(--spacing-xl);
    transition: left 0.3s ease-in-out;
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
    z-index: 1000;
  }
  
  .nav-menu.active {
    left: 0 !important;
  }
  
  .nav-menu li {
    width: 100%;
    margin-bottom: var(--spacing-md);
  }
  
  .nav-menu a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 0;
    font-size: 1.1rem;
  }
  
  /* Mobile Dropdown States */
  .dropdown-content,
  .mega-menu {
    position: static;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-sm);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  /* Show dropdowns when active */
  .dropdown.active .dropdown-content,
  .dropdown.active .mega-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }
  
  /* Dropdown arrows for mobile */
  .dropdown > a i.fa-chevron-down {
    margin-left: auto;
    transition: transform 0.3s ease;
  }
  
  .dropdown.active > a i.fa-chevron-down {
    transform: rotate(180deg);
  }
  
  .mega-menu {
    width: 100%;
  }
  
  .mega-menu-grid {
    grid-template-columns: 1fr;
  }
  
  /* Hero */
  .hero {
    padding: var(--spacing-xl) 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.125rem;
  }
  
  /* Sections */
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  /* Grid */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  
  /* Cookie Banner */
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  
  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  .stat-item h3 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  /* Typography */
  .hero h1 {
    font-size: 2rem;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  
  /* Grid */
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  /* Cards */
  .card {
    padding: var(--spacing-lg);
  }
  
  /* Buttons */
  .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
}

/* Print Styles */
@media print {
  .top-bar,
  .mobile-menu-toggle,
  .cookie-banner {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #003d69;
    --primary-blue-light: #16689d;
    --gray-600: #000000;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue-dark);
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-blue);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Stat Cards */
.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icons a {
    color: var(--gray-600);
    font-size: 1.2rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--primary-blue);
}

/* Professional Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(245, 158, 11, 0.8)), url('https://images.unsplash.com/photo-1553877522-43269d4ea984?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

/* Better Mega Menu Alignment */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 600px;
    max-width: 800px;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mega-menu-item {
    white-space: nowrap;
}

.mega-menu-item a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--gray-700);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.mega-menu-item a i {
    margin-right: 0.5rem;
    color: var(--primary-blue);
    width: 16px;
}

.mega-menu-item a:hover {
    background: var(--gray-50);
    color: var(--primary-blue);
}

/* Nav Menu Updates - Remove Icons from Main Menu */
.nav-menu > li > a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu > li > a i {
    display: none; /* Hide icons from main navigation */
}

/* Keep icons only in dropdowns */
.dropdown-content a i,
.mega-menu-item a i {
    display: inline-block;
}

/* Footer Updates - Remove Icons */
.footer-section a i {
    display: none; /* Hide icons from footer */
}

/* Modern Hero Section Override */
.modern-hero {
    background: linear-gradient(45deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #94a3b8 75%, #64748b 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.modern-hero .container {
    position: relative;
    z-index: 2;
}

.modern-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modern-hero p {
    font-size: 1.25rem;
    color: var(--gray-700);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.modern-hero .hero-icon {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

.modern-hero .btn {
    margin: 0 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modern-hero .btn-primary {
    background: var(--primary-blue);
    color: white;
    border: 2px solid var(--primary-blue);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.modern-hero .btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 104, 157, 0.4);
}

.modern-hero .btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.modern-hero .btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modern-hero {
        padding: 3rem 0;
    }
    
    .modern-hero h1 {
        font-size: 2.5rem;
    }
    
    .modern-hero .hero-icon {
        font-size: 2.5rem;
    }
}

/* Fixed Mega Menu Positioning */
.dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 700px;
    max-width: 800px;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    /* Ensure it stays within viewport */
    max-width: calc(100vw - 40px);
}

/* Show mega menu on hover */
.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Better mega menu grid */
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    max-width: 100%;
}

.mega-menu-item {
    white-space: nowrap;
    min-width: 0;
}

.mega-menu-item a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--gray-700);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.mega-menu-item a i {
    margin-right: 0.75rem;
    color: var(--primary-blue);
    width: 18px;
    font-size: 1rem;
}

.mega-menu-item a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-1px);
}

.mega-menu-item a:hover i {
    color: white;
}

/* Responsive mega menu */
@media (max-width: 768px) {
    .mega-menu {
        min-width: calc(100vw - 20px);
        left: 10px;
        right: 10px;
        transform: none;
        padding: 1.5rem;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .dropdown:hover .mega-menu {
        transform: translateY(0);
    }
}

/* Better top bar styling */
.top-bar {
    background: linear-gradient(135deg, var(--gray-900), #374151);
    color: var(--white);
    padding: 0.75rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-700);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--white);
}

/* Improved header styling */
header {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray-100);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.nav-menu > li > a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-1px);
}

/* Better dropdown styling */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--gray-700);
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-content a i {
    margin-right: 0.75rem;
    color: var(--primary-blue);
    width: 16px;
}

.dropdown-content a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
}

.dropdown-content a:hover i {
    color: white;
}

/* Professional Hero Section */
.professional-hero {
    background: linear-gradient(135deg, 
        rgba(30, 64, 175, 0.95) 0%, 
        rgba(59, 130, 246, 0.9) 50%, 
        rgba(245, 158, 11, 0.85) 100%
    ), url('https://images.unsplash.com/photo-1560472354-b33ff0c44a43?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.professional-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.professional-hero .container {
    position: relative;
    z-index: 2;
}

.professional-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.professional-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.professional-hero .btn {
    margin: 0 0.75rem;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.professional-hero .btn-primary {
    background: white;
    color: var(--primary-blue);
    border: 3px solid white;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.professional-hero .btn-primary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.4);
}

.professional-hero .btn-secondary {
    background: transparent;
    color: white;
    border: 3px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.professional-hero .btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .professional-hero {
        min-height: 60vh;
        padding: 3rem 1rem;
    }
    
    .professional-hero h1 {
        font-size: 2.5rem;
    }
    
    .professional-hero p {
        font-size: 1.1rem;
    }
    
    .professional-hero .btn {
        margin: 0.5rem;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Fix Industries Grid Overflow */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.industries-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.industries-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(30, 64, 175, 0.15);
    border-color: var(--primary-blue);
}

.industries-card .card-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.industries-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-align: center;
}

.industries-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.industries-card .btn {
    align-self: center;
    margin-top: auto;
}

/* Modern Ultra Hero Section */
.ultra-modern-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.ultra-modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.ultra-modern-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.ultra-modern-hero .hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.ultra-modern-hero .hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #93c5fd;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.ultra-modern-hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ultra-modern-hero .hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    font-weight: 400;
}

.ultra-modern-hero .hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.ultra-modern-hero .btn-ultra-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.ultra-modern-hero .btn-ultra-primary::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 ease;
}

.ultra-modern-hero .btn-ultra-primary:hover::before {
    left: 100%;
}

.ultra-modern-hero .btn-ultra-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.4);
}

.ultra-modern-hero .btn-ultra-secondary {
    background: transparent;
    color: white;
    padding: 1.25rem 3rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

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

.ultra-modern-hero .stat-item {
    text-align: center;
}

.ultra-modern-hero .stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-blue-light);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(26, 117, 176, 0.5);
}

.ultra-modern-hero .stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

@media (max-width: 768px) {
    .ultra-modern-hero {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .ultra-modern-hero .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .ultra-modern-hero .btn-ultra-primary,
    .ultra-modern-hero .btn-ultra-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Ensure container doesn't overflow */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.section {
    padding: 4rem 0;
    overflow: hidden;
}

.grid {
    display: grid;
    gap: 2rem;
    width: 100%;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Modern Tabbed System */
.modern-tabs-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.tabs-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 600px;
}

.tab-navigation {
    flex: 0 0 280px;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.tab-nav-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-100);
}

.tab-nav-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.tab-nav-header p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.tab-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
}

.tab-button:hover {
    background: var(--gray-50);
    color: var(--gray-900);
    transform: translateX(5px);
}

.tab-button.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    transform: translateX(5px);
}

.tab-button i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.tab-content {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: slideInUp 0.4s ease-out;
}

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

.tab-pane-header {
    margin-bottom: 2rem;
    text-align: center;
}

.tab-pane-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.tab-pane-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

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

.item-card {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.item-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.item-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.item-card h4 i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.item-card p {
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.item-card .learn-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.item-card .learn-more:hover {
    color: var(--accent-orange);
    transform: translateX(5px);
}

.item-card .learn-more i {
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tabs-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .tab-navigation {
        flex: none;
        position: static;
    }
    
    .tab-buttons {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        gap: 1rem;
    }
    
    .tab-button {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 0.75rem 1.25rem;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
}

/* Compact Grid for Better Organization */
.compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.compact-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.compact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.compact-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.compact-card h5 i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.compact-card p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Industries Specific Tab System */
.industries-tabs-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 600px;
}

.industries-tab-navigation {
    flex: 0 0 320px;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

.industries-tab-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.industries-tab-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
    border: 1px solid transparent;
}

.industries-tab-button:hover {
    background: var(--gray-50);
    color: var(--gray-900);
    transform: translateX(5px);
    border-color: var(--gray-200);
}

.industries-tab-button.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    transform: translateX(5px);
    border-color: var(--primary-blue);
}

.industries-tab-button i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.industries-tab-button span {
    font-weight: 600;
}

.industries-tab-content {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-height: 600px;
}

.industries-tab-pane {
    display: none !important;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.industries-tab-pane.active {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
    animation: slideInFromRight 0.4s ease-out;
}

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

.industry-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.industry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.industry-icon i {
    font-size: 3rem;
    color: white;
}

.industry-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.industry-content > p {
    font-size: 1.2rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.industry-highlights {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    border: 1px solid var(--gray-100);
}

.industry-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.industry-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--gray-700);
    font-weight: 500;
}

.industry-highlights li i {
    color: var(--primary-blue);
    font-size: 1rem;
    flex-shrink: 0;
}

.industry-content .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    transition: all 0.3s ease;
}

.industry-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.4);
}

/* Mobile Responsive for Industries Tabs */
@media (max-width: 768px) {
    .industries-tabs-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .industries-tab-navigation {
        flex: none;
        position: static;
        max-height: none;
        overflow-y: visible;
        width: 100%;
    }
    
    .industries-tab-buttons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.5rem;
        max-height: 400px;
        overflow-y: auto;
        padding: 0.5rem;
        background: #f8fafc;
        border-radius: 12px;
    }
    
    .industries-tab-button {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        justify-content: center;
        text-align: center;
        min-height: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }
    
    .industries-tab-button i {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .industries-tab-button span {
        font-size: 0.8rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .industries-tab-content {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .industries-tab-pane {
        padding: 1rem;
    }
    
    .industry-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .industry-highlights {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .highlight-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}
    
    .industry-content h3 {
        font-size: 2rem;
    }
    
    .industry-content > p {
        font-size: 1rem;
    }
    
    .industry-highlights ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .industries-tab-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
        max-height: 350px;
    }
    
    .industries-tab-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        min-height: 55px;
    }
    
    .industries-tab-button i {
        font-size: 0.9rem;
    }
    
    .industries-tab-button span {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .industries-tab-pane {
        padding: 0.75rem;
    }
    
    .industry-content h3 {
        font-size: 1.25rem;
    }
    
    .industry-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .highlight-item {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .highlight-item i {
        font-size: 0.9rem;
    }
}

/* Additional responsive improvements */
@media (max-width: 360px) {
    .industries-tab-buttons {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .industry-icon {
        width: 50px;
        height: 50px;
    }
    
    .industry-icon i {
        font-size: 1.5rem;
    }
    
    .industry-content h3 {
        font-size: 1.1rem;
    }
    
    .industry-highlights {
        padding: 1rem;
    }
}

/* Optimized Margins and Padding */
.section {
    padding: 5rem 0;
}

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

.mb-4 {
    margin-bottom: 3rem !important;
}

.mb-5 {
    margin-bottom: 4rem !important;
}

.text-center {
    text-align: center;
}

.text-center h2 {
    margin-bottom: 1rem;
}

.text-center p {
    margin-bottom: 0;
}

/* Industry Content Spacing */
.industries-tabs-container {
    margin-top: 2rem;
}

.industries-tab-content {
    padding: 3rem;
}

.industry-content {
    padding: 1rem 0;
}

.industry-highlights {
    margin: 2rem 0;
}

/* Services Section Spacing */
.industries-grid {
    margin-top: 2rem;
    gap: 2rem;
}

.industries-card {
    padding: 2rem;
    margin-bottom: 0;
}

/* Responsive Spacing */
@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .industries-tab-content {
        padding: 2rem;
    }
    
    .industries-card {
        padding: 1.5rem;
    }
    
    .mb-4 {
        margin-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 3rem !important;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 2rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .industries-tab-content {
        padding: 1.5rem;
    }
}

/* Standardized Container Widths */
.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.hero-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

.tabs-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.industries-tabs-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Fix Industries Vertical Display */
.industries-tab-navigation {
    flex: 0 0 280px;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.industries-tab-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.industries-tab-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-600);
    border: 1px solid transparent;
    white-space: nowrap;
}

.industries-tab-button:hover {
    background: var(--gray-50);
    color: var(--gray-900);
    transform: translateX(3px);
    border-color: var(--gray-200);
}

.industries-tab-button.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
    transform: translateX(3px);
    border-color: var(--primary-blue);
}

.industries-tab-button i {
    font-size: 1.1rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.industries-tab-button span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Center Service Icons */
.industries-card .card-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.industries-card .card-icon i {
    display: block;
}

/* Footer Improvements */
footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem; /* Add spacing above footer to prevent overlapping */
    margin-bottom: 0; /* Remove any bottom margin */
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-company-info {
    grid-column: 1;
}

.footer-company-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-company-info .company-logo {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.footer-company-info p {
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-contact-info {
    margin-bottom: 2rem;
}

.footer-contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-300);
}

.footer-contact-info .contact-item i {
    color: var(--primary-blue);
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    color: var(--primary-blue) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer-social-icons a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.footer-links {
    grid-column: 2;
}

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

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

.footer-links ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links ul li a:hover {
    color: var(--primary-blue);
}

.footer-links ul li a i {
    font-size: 0.8rem;
    width: 12px;
}

.footer-services {
    grid-column: 3;
}

.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-services ul li {
    margin-bottom: 0.75rem;
}

.footer-services ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-services ul li a:hover {
    color: var(--primary-blue);
}

.footer-services ul li a i {
    font-size: 0.8rem;
    width: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 1.5rem;
    padding-bottom: 0; /* Remove any bottom padding */
    margin-bottom: 0; /* Remove any bottom margin */
    text-align: center;
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem !important;
        max-width: 100% !important;
    }
    
    .hero-container {
        padding: 0 1rem !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .ultra-modern-hero {
        padding: 3rem 1rem;
        text-align: center;
    }
    
    .ultra-modern-hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .ultra-modern-hero .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Services Cards Responsive */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    /* About Section Mobile */
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-company-info,
    .footer-links,
    .footer-services {
        grid-column: 1;
    }
    
    .footer-social-icons {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .industries-tab-navigation {
        flex: none;
        position: static;
        max-height: 300px;
        margin-bottom: 1rem;
    }
    
    .industries-tab-buttons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.5rem;
        max-height: 250px;
        overflow-y: auto;
    }
    
    .industries-tab-button {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        justify-content: center;
        text-align: center;
    }
    
    .industries-tab-button span {
        font-size: 0.8rem;
        line-height: 1.2;
    }
}

/* Fix Top Bar Social Icons */
.top-bar .social-icons a {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.top-bar .social-icons a:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

/* Custom Scrollbar for Industries Navigation */
.industries-tab-navigation::-webkit-scrollbar {
    width: 6px;
}

.industries-tab-navigation::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.industries-tab-navigation::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

.industries-tab-navigation::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue-light);
}

/* Ensure proper spacing between industry buttons */
.industries-tab-button {
    min-height: 48px;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.industries-tab-button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

/* Fix industries grid spacing */
.industries-grid {
    padding: 0;
    margin: 2rem 0 0 0;
}

/* Ensure all sections use same container */
section .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Fix any grid inconsistencies */
.grid {
    width: 100%;
    max-width: 100%;
}
/* Universal Container Width Fix - 1300px */
.container,
.hero-container,
.tabs-container,
.industries-tabs-container,
nav .container,
.top-bar .container,
footer .container {
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Specific fixes for navigation and top bar */
.top-bar .container {
    max-width: 1300px !important;
}

nav {
    max-width: 100% !important;
}

nav .logo,
nav .nav-menu,
nav .hamburger {
    max-width: none !important;
}

/* Section containers */
section .container {
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Hero section specific */
.ultra-modern-hero .hero-container {
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Industries and services sections */
.modern-tabs-section .container,
.industries-tabs-container {
    max-width: 1300px !important;
    margin: 0 auto !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .container,
    .hero-container,
    .tabs-container,
    .industries-tabs-container,
    nav .container,
    .top-bar .container,
    footer .container,
    section .container {
        padding: 0 1rem !important;
    }
}

/* Updated Footer 4-Column Layout */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-company-info {
    grid-column: 1;
}

.footer-industries {
    grid-column: 2;
}

.footer-industries h4,
.footer-industries ul,
.footer-industries ul li,
.footer-industries ul li a {
    font-size: 1rem;
    line-height: 1.4;
}

.footer-industries ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-industries ul li {
    margin-bottom: 0.75rem;
}

.footer-industries ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-industries ul li a:hover {
    color: var(--primary-blue);
}

.footer-industries ul li a i {
    font-size: 0.8rem;
    width: 12px;
}

.footer-services {
    grid-column: 3;
}

.footer-links {
    grid-column: 4;
}

/* Mobile responsive for 4-column footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-company-info {
        grid-column: 1 / -1;
    }
    
    .footer-industries {
        grid-column: 1;
    }
    
    .footer-services {
        grid-column: 2;
    }
    
    .footer-links {
        grid-column: 1 / -1;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-company-info,
    .footer-industries,
    .footer-services,
    .footer-links {
        grid-column: 1;
    }
}

/* Fix Industries Navigation Layout Issues */
.industries-tab-navigation {
    flex: 0 0 300px;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.industries-tab-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.industries-tab-button {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 0.875rem 1.25rem !important;
    border: none !important;
    background: transparent !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-align: left !important;
    width: 100% !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: var(--gray-600) !important;
    border: 1px solid transparent !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    min-height: 48px !important;
    justify-content: flex-start !important;
}

.industries-tab-button:hover {
    background: var(--gray-50) !important;
    color: var(--gray-900) !important;
    transform: translateX(3px) !important;
    border-color: var(--gray-200) !important;
}

.industries-tab-button.active {
    background: var(--gradient-primary) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3) !important;
    transform: translateX(3px) !important;
    border-color: var(--primary-blue) !important;
}

.industries-tab-button i {
    font-size: 1.1rem !important;
    width: 18px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

.industries-tab-button span {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    flex: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Fix service card icons to be white */
.industries-card .card-icon i {
    color: white !important;
    background: var(--primary-blue) !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    font-size: 2rem !important;
}

.industries-card .card-icon {
    text-align: center !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    justify-content: center !important;
}

/* Fixed Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    max-width: 90vw;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-100);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 2rem;
}

.mega-menu-item {
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mega-menu-item:hover {
    background: var(--gray-50);
}

.mega-menu-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.mega-menu-item a:hover {
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.05);
}

.mega-menu-item a i {
    font-size: 1.2rem;
    color: var(--primary-blue);
    width: 20px;
    text-align: center;
}

/* Responsive Mega Menu */
@media (max-width: 1024px) {
    .mega-menu {
        width: 800px;
    }
    
    .mega-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mega-menu {
        width: 500px;
        left: -150px;
        transform: none;
    }
    
    .mega-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem;
    }
    
    .dropdown:hover .mega-menu {
        transform: none;
    }
}

@media (max-width: 480px) {
    .mega-menu {
        width: 300px;
        left: -100px;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
    }
}

/* Fix Footer Styling */
.footer-content {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: 3rem !important;
    margin-bottom: 2rem !important;
}

.footer-company-info {
    grid-column: 1 !important;
}

.footer-industries {
    grid-column: 2 !important;
}

.footer-services {
    grid-column: 3 !important;
}

.footer-links {
    grid-column: 4 !important;
}

.footer-company-info h3 {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 1rem !important;
}

.footer-company-info .company-logo {
    width: 40px !important;
    height: 40px !important;
    background: var(--gradient-primary) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 1.2rem !important;
}

.footer-section h4,
.footer-industries h4,
.footer-services h4,
.footer-links h4 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: white !important;
}

.footer-industries ul,
.footer-services ul,
.footer-links ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-industries ul li,
.footer-services ul li,
.footer-links ul li {
    margin-bottom: 0.75rem !important;
}

.footer-industries ul li a,
.footer-services ul li a,
.footer-links ul li a {
    color: var(--gray-300) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.footer-industries ul li a:hover,
.footer-services ul li a:hover,
.footer-links ul li a:hover {
    color: var(--primary-blue) !important;
}

.footer-industries ul li a i,
.footer-services ul li a i,
.footer-links ul li a i {
    font-size: 0.8rem !important;
    width: 12px !important;
}

/* Mobile Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }
    
    .footer-company-info {
        grid-column: 1 / -1 !important;
    }
    
    .footer-industries {
        grid-column: 1 !important;
    }
    
    .footer-services {
        grid-column: 2 !important;
    }
    
    .footer-links {
        grid-column: 1 / -1 !important;
        margin-top: 1rem !important;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .footer-company-info,
    .footer-industries,
    .footer-services,
    .footer-links {
        grid-column: 1 !important;
    }
}

/* ====================
   GOOGLE TRANSLATE STYLES
   ==================== */

.translate-wrapper {
    display: inline-block;
    margin-left: 1rem;
}

#google_translate_element {
    display: inline-block;
    margin-left: 1rem;
}

/* Style the Google Translate dropdown */
.goog-te-gadget {
    font-family: var(--font-primary) !important;
    font-size: 12px !important;
    color: #666 !important;
}

.goog-te-gadget .goog-te-combo {
    margin: 0px 2px !important;
    padding: 4px 6px !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 4px !important;
    background-color: white !important;
    font-size: 11px !important;
    color: #333 !important;
}

.goog-te-gadget .goog-te-combo:hover {
    border-color: var(--primary-blue) !important;
}

/* Hide the Google Translate banner */
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important;
}

/* Hide "powered by" text */
.goog-te-gadget span {
    display: none !important;
}

.goog-te-gadget:before {
    content: "Translate: " !important;
    color: #666 !important;
    font-size: 11px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .translate-wrapper,
    #google_translate_element {
        margin-left: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .top-bar-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }
}

/* Industries Specific Tab System */
.industries-tabs-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 600px;
}

.industries-tab-navigation {
    flex: 0 0 320px;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

.industries-tab-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.industries-tab-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
    border: 1px solid transparent;
}

.industries-tab-button:hover {
    background: var(--gray-50);
    color: var(--gray-900);
    transform: translateX(5px);
    border-color: var(--gray-200);
}

.industries-tab-button.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    transform: translateX(5px);
    border-color: var(--primary-blue);
}

.industries-tab-button i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.industries-tab-button span {
    font-weight: 600;
}

.industries-tab-content {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-height: 600px;
}

.industries-tab-pane {
    display: none !important;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.industries-tab-pane.active {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
    animation: slideInFromRight 0.4s ease-out;
}

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

.industry-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.industry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.industry-icon i {
    font-size: 3rem;
    color: white;
}

.industry-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.industry-content > p {
    font-size: 1.2rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.industry-highlights {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    border: 1px solid var(--gray-100);
}

.industry-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.industry-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--gray-700);
    font-weight: 500;
}

.industry-highlights li i {
    color: var(--primary-blue);
    font-size: 1rem;
    flex-shrink: 0;
}

.industry-content .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    transition: all 0.3s ease;
}

.industry-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.4);
}

/* Mobile Responsive for Industries Tabs */
@media (max-width: 768px) {
    .industries-tabs-container {
        flex-direction: column;
        gap: 1rem;
        min-height: auto;
    }
    
    .industries-tab-navigation {
        flex: none;
        position: static;
        max-height: none;
        overflow-y: visible;
        width: 100%;
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .industries-tab-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        max-height: 300px;
        overflow-y: auto;
        padding: 0.5rem;
        background: var(--gray-50);
        border-radius: 12px;
    }
    
    .industries-tab-button {
        padding: 0.5rem;
        font-size: 0.75rem;
        justify-content: center;
        text-align: center;
        min-height: 70px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        border-radius: 8px;
        transform: none !important;
    }
    
    .industries-tab-button:hover {
        transform: none !important;
    }
    
    .industries-tab-button.active {
        transform: none !important;
    }
    
    .industries-tab-button i {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
        width: auto;
    }
    
    .industries-tab-button span {
        font-size: 0.7rem;
        line-height: 1.1;
        text-align: center;
        font-weight: 600;
    }
    
    .industries-tab-content {
        padding: 1rem;
        min-height: auto;
        border-radius: 12px;
    }
    
    .industry-content {
        text-align: center;
        max-width: 100%;
        padding: 0;
    }
    
    .industry-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .industry-icon i {
        font-size: 2.5rem;
    }
    
    .industry-content h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .industry-content > p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .industry-highlights {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 12px;
    }
    
    .industry-highlights ul {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .industry-highlights li {
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .industry-content .btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .industries-tab-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
        max-height: 250px;
    }
    
    .industries-tab-button {
        min-height: 60px;
        padding: 0.4rem;
        font-size: 0.7rem;
    }
    
    .industries-tab-button span {
        font-size: 0.65rem;
        line-height: 1.0;
    }
    
    .industries-tab-button i {
        font-size: 1rem;
    }
    
    .industries-tab-content {
        padding: 0.8rem;
    }
    
    .industry-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .industry-content > p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .industry-highlights {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .industry-highlights li {
        font-size: 0.85rem;
    }
    
    .industry-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .industry-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .industries-tabs-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .industries-tab-navigation {
        flex: 0 0 280px;
    }
    
    .industry-content h3 {
        font-size: 2rem;
    }
    
    .industry-content > p {
        font-size: 1.1rem;
    }
    
    .industry-highlights ul {
        grid-template-columns: 1fr;
    }
}

/* Additional Mobile Fixes for Industries Section */
@media (max-width: 768px) {
    .section.bg-light {
        padding: 1.5rem 0 !important;
    }
    
    .section.bg-light .container {
        padding: 0 0.5rem !important;
        max-width: 100% !important;
    }
    
    .text-center.mb-5 h2 {
        font-size: 2rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .text-center.mb-5 p {
        font-size: 1rem !important;
        max-width: 95% !important;
    }
}

@media (max-width: 480px) {
    .section.bg-light {
        padding: 1rem 0 !important;
    }
    
    .section.bg-light .container {
        padding: 0 0.3rem !important;
    }
    
    .text-center.mb-5 h2 {
        font-size: 1.7rem !important;
        margin-bottom: 0.6rem !important;
    }
    
    .text-center.mb-5 p {
        font-size: 0.95rem !important;
        max-width: 100% !important;
    }
}

/* Mobile Menu Fixes */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        order: 3;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 120px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 120px) !important;
        background: var(--white) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        padding: 2rem !important;
        transition: left 0.3s ease-in-out !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        overflow-y: auto !important;
        z-index: 1000 !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-menu li {
        width: 100% !important;
        margin-bottom: 1rem !important;
        border-bottom: 1px solid var(--gray-200);
        padding-bottom: 1rem;
    }
    
    .nav-menu a {
        width: 100% !important;
        justify-content: flex-start !important;
        padding: 1rem 0 !important;
        font-size: 1.1rem !important;
        color: var(--gray-700) !important;
        text-decoration: none !important;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--primary-blue) !important;
        background: var(--gray-50) !important;
        border-radius: 8px !important;
        padding-left: 1rem !important;
    }
    
    /* Mobile dropdown styles */
    .nav-menu .dropdown {
        width: 100% !important;
    }
    
    .nav-menu .dropdown-content,
    .nav-menu .mega-menu {
        position: static !important;
        display: none !important;
        background: var(--gray-50) !important;
        box-shadow: none !important;
        border-radius: 8px !important;
        margin-top: 0.5rem !important;
        padding: 1rem !important;
    }
    
    .nav-menu .dropdown.active .dropdown-content,
    .nav-menu .dropdown.active .mega-menu {
        display: block !important;
    }
    
    /* Ensure header container allows for mobile toggle */
    header nav .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
}
