/* ============================
   CSS Variables
============================= */
:root {
  --brand-primary-color: #764ba2;
  --brand-primary-color-rgb: 118, 75, 162; /* RGB values for rgba() usage */
  --brand-secondary-color: #667eea;
  --brand-secondary-color-rgb: 102, 126, 234;
}

/* ============================
   Loading Screen
============================= */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Use viewport height for better mobile support */
  background: linear-gradient(135deg, #0A1543 0%, #290e44 100%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  /* Ensure it covers everything on mobile */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.loader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  animation: loaderPulse 2s ease-in-out infinite;
}

.loader-svg {
  max-width: 240px;
  max-height: 240px;
  width: auto;
  height: auto;
  margin-bottom: 30px;
  /* SVG-specific optimizations */
  filter: drop-shadow(0 0 10px rgba(0, 122, 204, 0.3));
  animation: svgpulse 4s linear infinite;
}

.loader-gif {
  width: 240px;
  height: 240px;
  animation: loaderPulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(var(--brand-primary-color-rgb), 0.3));
}

/* Mobile loader adjustments */
@media (max-width: 768px) {
  .loader-gif {
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
  }
  
  .loader-text {
    font-size: 1rem;
    margin-top: 10px;
  }
}

@keyframes loaderPulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.8;
  }
  50% { 
    transform: scale(1.1);
    opacity: 1;
  }
}

.loader-text {
  font-size: 1.4rem;
  font-weight: 400;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  text-transform: lowercase;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #ffffff;
  animation: typewriter 3s steps(20, end) infinite, blink 1s step-end infinite;
}

@keyframes backgroundPulse {
  0%, 100% {
    background: #0A1543;
  }
  50% {
    background: #0F1B5C;
  }
}

@keyframes svgSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loaderPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes typewriter {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 0; }
}

@keyframes blink {
  0%, 50% { border-right-color: #ffffff; }
  51%, 100% { border-right-color: transparent; }
}

/* ============================
   Form Input Fields & Animations
============================= */
input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus {
  border-color: #007acc;
  box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.1);
  transform: translateY(-1px);
  background-color: #fbfcfd;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="number"]:hover,
textarea:hover {
  border-color: #b8c3d1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Form field validation states */
.form-field-error {
  border-color: #f44336 !important;
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1) !important;
  animation: shake 0.4s ease-in-out;
}

.form-field-success {
  border-color: #4caf50 !important;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1) !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Field error styling */
.field-error {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ============================
   Form Groups & Labels
============================= */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
  font-size: 0.95rem;
}

/* Floating label effect */
.form-group.floating-label {
  position: relative;
  margin-top: 20px;
}

.form-group.floating-label input,
.form-group.floating-label textarea {
  padding-top: 20px;
}

.form-group.floating-label label {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #999;
  pointer-events: none;
  transition: all 0.3s ease;
  background: white;
  padding: 0 4px;
}

.form-group.floating-label input:focus ~ label,
.form-group.floating-label input:not(:placeholder-shown) ~ label,
.form-group.floating-label textarea:focus ~ label,
.form-group.floating-label textarea:not(:placeholder-shown) ~ label {
  top: -8px;
  left: 12px;
  font-size: 0.8rem;
  color: #007acc;
}

/* ============================
   Tooltip
============================= */
.tooltip {
  position: absolute;
  top: -40px;
  left: 10px;
  background-color: #222;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   CTA Button & Submit Buttons
============================= */
.cta-button,
.submit-button {
  background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button::before,
.submit-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover,
.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.cta-button:hover::before,
.submit-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:active,
.submit-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Loading state animation */
.cta-button:disabled,
.submit-button:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
  background: linear-gradient(135deg, #94a3b8, #64748b);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.6; }
}

.cta-button:disabled::after,
.submit-button:disabled::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================
   Enhanced Popup Feedback
============================= */
.popup {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  padding: 18px 32px;
  border-radius: 12px;
  z-index: 9999;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 90%;
  width: auto;
  min-width: 300px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.popup:not(.hidden) {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.popup.success {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  box-shadow: 0 12px 40px rgba(76, 175, 80, 0.3);
}

.popup.success::before {
  content: '✓';
  display: inline-block;
  margin-right: 8px;
  font-size: 1.2em;
  font-weight: bold;
}

.popup.error {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
  box-shadow: 0 12px 40px rgba(244, 67, 54, 0.3);
}

.popup.error::before {
  content: '⚠';
  display: inline-block;
  margin-right: 8px;
  font-size: 1.2em;
  font-weight: bold;
}

.popup.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-20px);
}

/* Popup entrance animation */
@keyframes popupSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px) scale(0.9);
  }
  50% {
    transform: translateX(-50%) translateY(5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.popup.show {
  animation: popupSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Progress bar for popup duration */
.popup::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0 0 12px 12px;
  animation: progressBar 4s linear forwards;
}

@keyframes progressBar {
  0% { width: 100%; }
  100% { width: 0%; }
}

/* Disabled button state */
.cta-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ========================================
   FIXED DYNAMIC HEADER COMPONENTS
======================================== */

/* Header Wrapper */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-wrapper.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-wrapper.header-hidden {
    transform: translateY(-100%);
}

/* Top Header - Collapsible */
.top-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 0;
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: auto;
    opacity: 1;
}

/* Top Header Collapse on Scroll */
.header-wrapper.scrolled .top-header {
    height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
}

.top-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.top-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.company-tagline {
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links a {
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn,
.mobile-search {
    background: none;
    border: none;
    color: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.search-btn:hover,
.mobile-search:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Language Selector */
.language-selector {
    position: relative;
    z-index: 10000;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 100px;
    justify-content: center;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-btn:active {
    transform: translateY(0);
}

.lang-btn .fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 10px;
}

.lang-btn[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: fixed;
    background: white;
    border-radius: 12px;
    padding: 8px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-height: 400px;
    overflow-y: auto;
    isolation: isolate;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    gap: 10px;
    border-radius: 0;
    position: relative;
}

.lang-option:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #007acc;
    transform: translateX(2px);
}

.lang-option:active {
    background: #e9ecef;
    transform: translateX(0);
}

.lang-option.selected {
    background: linear-gradient(135deg, #007acc, #0056b3);
    color: white;
}

.lang-option.selected:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    color: white;
    transform: translateX(2px);
}

.lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-name {
    flex: 1;
    font-weight: 500;
}

.lang-separator {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 8px 0;
}

.lang-section-title {
    padding: 8px 16px 4px;
    font-size: 10px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 4px;
}

.google-lang {
    position: relative;
    background: linear-gradient(45deg, rgba(66, 133, 244, 0.02), transparent);
}

.google-lang .fas.fa-external-link-alt {
    font-size: 10px;
    color: #4285f4;
    opacity: 0.7;
    margin-left: 4px;
}

.google-lang:hover .fas.fa-external-link-alt {
    opacity: 1;
}

/* Main Header */
.main-header {
    background: rgba(255, 255, 255, 1);
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-direction: column;
    gap: 15px;
}

/* Scrolled State - Horizontal Layout */
.header-wrapper.scrolled .header-container {
    justify-content: space-between;
    min-height: 70px;
    flex-direction: row;
    gap: 0;
}

/* Logo Section - Centered Initially, Left on Scroll */
.logo-section {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    order: 0;
}

.header-wrapper.scrolled .logo-section {
    text-align: left;
    order: 0;
}

.logo-link {
    text-decoration: none;
    display: block;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
    justify-content: center;
}

.header-wrapper.scrolled .logo {
    justify-content: flex-start;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-family: "Red Rose", sans-serif;
    cursor: pointer;
}

.logo-text:hover {
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    transform: translateY(-1px);
}

.logo-accent {
    font-size: 32px;
    font-family: "Red Rose", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-accent:hover {
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    transform: translateY(-1px);
}

.header-wrapper.scrolled .logo-text {
    font-size: 30px;
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.02);
}

.header-wrapper.scrolled .logo-text:hover {
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    transform: scale(1.02) translateY(-1px);
}

.header-wrapper.scrolled .logo-accent {
    font-size: 30px;
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.02);
}

.header-wrapper.scrolled .logo-accent:hover {
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    transform: scale(1.02) translateY(-1px);
}

.logo-subtitle {
    font-size: 15px;
    color: #718096;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header-wrapper.scrolled .logo-subtitle {
    opacity: 1;
    transform: translateY(-10px);
}

/* Main Navigation - Centered Initially, Right on Scroll */
.main-navigation {
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    order: 1;
}

.header-wrapper.scrolled .main-navigation {
    order: 1;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-item {
    position: relative;
}

/* FIXED: Navigation Links - Black by Default, Blue on Hover */
.nav-link {
    text-decoration: none;
    color: #000000 !important; /* Force black color */
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--brand-primary-color) !important; /* Force brand color on hover */
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Controls */
.mobile-controls {
    display: none;
    align-items: center;
    gap: 15px;
    position: absolute;
    right: 20px;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    height: 100%;
    padding: 60px 30px 30px;
    display: flex;
    flex-direction: column;
    color: white;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.mobile-logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.mobile-logo .logo-text {
    font-size: 28px;
    color: white;
}

.mobile-logo .logo-accent {
    font-size: 28px;
    color: #667eea;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.mobile-navigation {
    flex: 1;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-item.enter {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link i {
    font-size: 20px;
    color: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    width: 25px;
    text-align: center;
}

.mobile-nav-link:hover {
    color: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    padding-left: 10px;
}

.mobile-social {
    margin-top: auto;
    text-align: center;
}

.mobile-social-title {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mobile-social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.mobile-social-links a:hover {
    background: #667eea;
    transform: translateY(-3px);
}

/* Header CTA */
.header-cta {
    margin-left: 20px;
}

.header-cta .cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.header-cta .cta-button::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;
}

.header-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--brand-primary-color-rgb), 0.3);
}

.header-cta .cta-button:hover::before {
    left: 100%;
}

.header-cta .cta-button i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.header-cta .cta-button:hover i {
    transform: translateX(3px);
}

/* Mobile Controls */
.mobile-controls {
    display: none;
    align-items: center;
    gap: 15px;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    height: 100%;
    padding: 60px 30px 30px;
    display: flex;
    flex-direction: column;
    color: white;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.mobile-logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.mobile-logo .logo-text {
    font-size: 28px;
    color: white;
}

.mobile-logo .logo-accent {
    font-size: 28px;
    color: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.mobile-navigation {
    flex: 1;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link i {
    font-size: 20px;
    color: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    width: 25px;
    text-align: center;
}

.mobile-nav-link:hover {
    color: linear-gradient(135deg, #fff 0%, var(--brand-secondary-color) 100%);
    padding-left: 10px;
}

.mobile-cta {
    margin: 40px 0;
}

.mobile-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.mobile-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.mobile-social {
    margin-top: auto;
    text-align: center;
}

.mobile-social-title {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mobile-social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.mobile-social-links a:hover {
    background: #667eea;
    transform: translateY(-3px);
}

/* Old search modal styles removed - now using unified-modal.css */

/* ========================================
   ENHANCED FOOTER COMPONENTS
======================================== */

/* Site Footer */
.site-footer {
    /*background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);*/
    color: white;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Main Content */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 60px;
    padding: 80px 0 60px;
}

/* Company Section */
.company-section {
    grid-column: 1;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.footer-logo .logo-text {
    font-size: 28px;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
}

.footer-logo .logo-accent {
    font-size: 28px;
    font-weight: 300;
    color: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    letter-spacing: 2px;
}

.footer-tagline {
    font-size: 14px;
    color: #bdc3c7;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.company-description {
    margin-bottom: 30px;
}

.company-description p {
    color: #bdc3c7;
    line-height: 1.6;
    font-size: 14px;
}

.company-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.certifications {
    margin-top: 30px;
}

.cert-title {
    font-size: 12px;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cert-badge {
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    color: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* Links Section */
.links-section {
    grid-column: 2;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    color: white;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #667eea;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.link-group-title {
    font-size: 14px;
    font-weight: 600;
    color: #ecf0f1;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: #667eea;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #667eea;
    padding-left: 15px;
}

.footer-link:hover::before {
    width: 10px;
}

/* Products Section */
.products-section {
    grid-column: 3;
}

.product-categories {
    margin-bottom: 30px;
}

.product-category {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.product-category:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.category-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    font-size: 16px;
    flex-shrink: 0;
}

.category-content {
    flex: 1;
}

.category-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
}

.category-desc {
    font-size: 12px;
    color: #bdc3c7;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.category-link {
    color: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.category-link:hover {
    gap: 8px;
}

.category-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.category-link:hover i {
    transform: translateX(2px);
}

.featured-showcase {
    margin-top: 30px;
}

.showcase-title {
    font-size: 12px;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.showcase-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-3px);
}

.showcase-image {
    width: 100%;
    height: 60px;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.1);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 8px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

.showcase-label {
    color: white;
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Section */
.contact-section {
    grid-column: 4;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    font-size: 14px;
    flex-shrink: 0;
}

.contact-content {
    flex: 1;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text {
    font-size: 12px;
    color: #bdc3c7;
    line-height: 1.4;
    margin: 0;
}

.contact-link {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: white;
}

.newsletter-signup {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.newsletter-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
}

.newsletter-desc {
    font-size: 12px;
    color: #bdc3c7;
    margin-bottom: 15px;
    line-height: 1.4;
}

.newsletter-form {
    position: relative;
}

.input-group {
    position: relative;
}

.newsletter-input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: black;
    font-size: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #667eea;
}

.newsletter-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: linear-gradient(270deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    transform: translateY(-50%) scale(1.1);
}

.social-section {
    margin-top: 20px;
}

.social-title {
    font-size: 12px;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    color: #bdc3c7;
    text-decoration: none;
    font-size: 11px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

.social-link.facebook:hover {
    background: rgba(59, 89, 152, 0.2);
    color: #3b5998;
}

.social-link.instagram:hover {
    background: rgba(225, 48, 108, 0.2);
    color: #e1306c;
}

.social-link.linkedin:hover {
    background: rgba(0, 119, 181, 0.2);
    color: #0077b5;
}

.social-link.twitter:hover {
    background: rgba(29, 161, 242, 0.2);
    color: #1da1f2;
}

.social-text {
    font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.copyright {
    font-size: 12px;
    color: #95a5a6;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 11px;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #667eea;
}

.separator {
    color: #7f8c8d;
    font-size: 10px;
}

.footer-made-with {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #95a5a6;
}

.heart-icon {
    color: #e74c3c;
    font-size: 14px;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 50%, 100% { transform: scale(1); }
    25%, 75% { transform: scale(1.1); }
}

.made-text {
    font-weight: 300;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%);
    border: none;
    border-radius: 50%;
    color: #000000;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.scroll-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .company-section {
        grid-column: 1 / -1;
    }
    
    .links-section {
        grid-column: 1;
    }
    
    .products-section {
        grid-column: 2;
    }
    
    .contact-section {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    /* FIXED MOBILE HEADER LAYOUT */
    .header-wrapper {
        position: fixed;
    }
    
    /* Top Header Mobile */
    .top-header-container {
        padding: 0 15px;
    }
    
    .company-tagline {
        font-size: 11px;
    }
    
    .header-actions {
        gap: 15px;
    }
    
    .header-controls {
        gap: 10px;
    }
    
    .social-links {
        display: none; /* Hide social links on mobile top header */
    }
    
    /* Main Header Mobile - Logo Left, Menu Right */
    .header-container {
        padding: 0 15px;
        min-height: 50px; /* Reduced from 70px */
        flex-direction: row !important; /* Always horizontal on mobile */
        justify-content: space-between !important; /* Force space-between on mobile */
        gap: 0 !important;
    }
    
    .header-wrapper.scrolled .header-container {
        min-height: 45px; /* Reduced from 60px */
        flex-direction: row !important; /* Always horizontal on mobile */
    }
    
    /* Logo Section - Always Left Aligned on Mobile */
    .logo-section {
        text-align: left !important;
        order: 0 !important;
        flex: 1;
    }
    
    .logo {
        justify-content: flex-start !important;
    }
    
    .logo-text {
        font-size: 20px; /* Reduced from 24px */
    }
    
    .logo-accent {
        font-size: 20px; /* Reduced from 24px */
    }
    
    .header-wrapper.scrolled .logo-text {
        font-size: 18px; /* Reduced from 22px */
    }
    
    .header-wrapper.scrolled .logo-accent {
        font-size: 18px; /* Reduced from 22px */
    }
    
    .logo-subtitle {
        text-align: left;
        font-size: 8px; /* Reduced from 10px */
    }
    
    /* Navigation - Hidden on Mobile */
    .main-navigation {
        display: none !important;
    }
    
    /* Mobile Controls - Always Visible and Right Aligned */
    .mobile-controls {
        display: flex !important;
        position: static !important;
        order: 1;
    }
    
    .mobile-menu-content {
        padding: 40px 20px 20px;
    }
    
    .mobile-menu-header {
        margin-bottom: 40px;
    }
    
    .mobile-nav-link {
        font-size: 16px;
        padding: 15px 0;
    }
    
    .mobile-nav-link i {
        font-size: 18px;
    }
    
    .mobile-social-links a {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    /* Footer Mobile */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0 40px;
    }
    
    .company-section,
    .links-section,
    .products-section,
    .contact-section {
        grid-column: 1;
    }
    
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .link-group {
        flex: 1;
        min-width: 150px;
    }
    
    .company-stats {
        justify-content: space-between;
    }
    
    .stat-item {
        flex: 1;
    }
    
    .product-categories {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .social-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .social-link {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* Very Small Mobile Screens */
    .top-header {
        padding: 6px 0;
    }
    
    .company-tagline {
        display: none;
    }
    
    .header-container {
        min-height: 60px;
    }
    
    .header-wrapper.scrolled .header-container {
        min-height: 55px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-accent {
        font-size: 20px;
    }
    
    .header-wrapper.scrolled .logo-text {
        font-size: 18px;
    }
    
    .header-wrapper.scrolled .logo-accent {
        font-size: 18px;
    }
    
    .logo-subtitle {
        font-size: 9px;
    }
    
    .mobile-menu-content {
        padding: 30px 15px 15px;
    }
    
    /* Footer Mobile Small */
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .company-stats {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cert-badges {
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 25px;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .newsletter-input {
        padding: 10px 40px 10px 12px;
        font-size: 11px;
    }
    
    .newsletter-btn {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }
}

/* Premium Mobile Logo Styling Override */
.mobile-logo .logo-text {
    font-weight: 900 !important;
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-family: 'Inter', sans-serif !important;
    color: transparent !important;
}

.mobile-logo .logo-accent {
    font-size: 24px !important;
    font-weight: 900 !important;
    font-family: "Story Script", sans-serif !important;
    background: linear-gradient(135deg, var(--brand-primary-color) 0%, var(--brand-secondary-color) 100%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    letter-spacing: 2px !important;
    color: transparent !important;
}

/* Mobile Loader Optimizations */
@media (max-width: 768px) {
    .loader-overlay {
        height: 100vh;
        height: -webkit-fill-available; /* For iOS Safari */
        min-height: 100vh;
    }
    
    .loader-svg {
        max-width: 120px;
        max-height: 120px;
        margin-bottom: 20px;
    }
    
    .loader-text {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .loader-svg {
        max-width: 100px;
        max-height: 100px;
        margin-bottom: 15px;
    }
    
    .loader-text {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* Mobile Language Selector Optimizations */
@media (max-width: 768px) {
    .language-selector {
        position: relative;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 80px;
        gap: 6px;
    }
    
    .lang-dropdown {
        min-width: 140px;
        right: -10px; /* Adjust positioning for mobile */
    }
    
    .lang-option {
        padding: 10px 14px;
        font-size: 12px;
    }
    
    .lang-flag {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .lang-btn {
        padding: 5px 8px;
        font-size: 10px;
        min-width: 70px;
        gap: 4px;
    }
    
    .lang-btn .fa-globe {
        font-size: 10px;
    }
    
    .lang-btn .fa-chevron-down {
        font-size: 8px;
    }
    
    .lang-dropdown {
        min-width: 120px;
        right: -5px;
    }
    
    .lang-option {
        padding: 8px 12px;
        font-size: 11px;
        gap: 8px;
    }
    
    .lang-flag {
        font-size: 12px;
    }
    
    .lang-name {
        font-size: 11px;
    }
}

