/* Custom Styles for PSG HCodes - Modern Xbox Theme */

/* Ensure full viewport height and proper body setup */
html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Main content container with custom scrollbar */
body {
  position: relative;
}

/* Create a scrollable container for the main content */
.main-content {
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #107C10 #2a2a3e;
}

.main-content::-webkit-scrollbar {
  width: 8px;
}

.main-content::-webkit-scrollbar-track {
  background: #2a2a3e;
  border-radius: 4px;
}

.main-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
  border-radius: 4px;
  border: 1px solid #1a1a2e;
}

.main-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0F5A0F 0%, #0a3a0a 100%);
}

/* Custom scrollbar for all pages */
body {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #107C10 #2a2a3e;
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: #2a2a3e;
  border-radius: 4px;
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
  border-radius: 4px;
  border: 1px solid #1a1a2e;
}

body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0F5A0F 0%, #0a3a0a 100%);
}

/* Hide body scrollbar for all pages with .main-page class */
body.main-page {
  overflow-y: hidden;
}

/* Main content wrapper for all pages with .main-page class */
.main-content {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #107C10 #2a2a3e;
}

.main-content::-webkit-scrollbar {
  width: 8px;
}

.main-content::-webkit-scrollbar-track {
  background: #2a2a3e;
  border-radius: 4px;
}

.main-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
  border-radius: 4px;
  border: 1px solid #1a1a2e;
}

.main-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0F5A0F 0%, #0a3a0a 100%);
}

/* Smooth scrolling for better UX */

/* Mobile-specific performance optimizations */
@media (max-width: 768px) {
    /* Optimize animations for mobile */
    .animate-on-scroll {
        animation-duration: 0.6s;
    }
    
    /* Reduce motion for better performance */
    .geometric-grid,
    .glow-orb,
    .particle,
    .digital-rain,
    .floating-gaming-icons {
        animation-duration: 3s;
    }
    
    /* Optimize images for mobile */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Improve touch scrolling */
    .main-content {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Optimize text rendering */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Improve button accessibility */
    .btn:focus,
    .nav-menu a:focus,
    .floating-header a:focus {
        outline: 2px solid #107C10;
        outline-offset: 2px;
    }
    
    /* Improve form accessibility */
    input:focus,
    textarea:focus,
    select:focus {
        outline: 2px solid #107C10;
        outline-offset: 2px;
        border-color: #107C10;
    }
    
    /* Better loading states */
    .loading {
        opacity: 0.7;
        pointer-events: none;
    }
    
    /* Improve card interactions */
    .product-card:hover,
    .service-card:hover,
    .blog-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(16, 124, 16, 0.15);
    }
    
    /* Better mobile menu animations */
    .nav-menu {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-menu.active {
        animation: slideDown 0.3s ease-out;
    }
    
    /* Improve cart sidebar on mobile */
    #cart-sidebar {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Better mobile form layout */
    .form-group {
        position: relative;
    }
    
    .form-group label {
        position: absolute;
        top: -0.5rem;
        left: 0.75rem;
        background: #0F0F23;
        padding: 0 0.25rem;
        font-size: 0.75rem;
        color: #107C10;
        z-index: 1;
    }
    
    /* Mobile-friendly spacing */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Better mobile typography */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Mobile-friendly links */
    a {
        word-wrap: break-word;
    }
    
    /* Better mobile images */
    .product-card img,
    .service-card img,
    .blog-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 0.5rem;
    }
}
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar for webkit browsers */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Custom gradient text utilities */
.text-gradient-primary {
  background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

/* Custom focus styles for better accessibility */
.focus-ring:focus {
  outline: 2px solid #107C10;
  outline-offset: 2px;
}

/* Custom animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Custom button hover effects */
.btn-hover {
  transition: all 0.3s ease;
}

.btn-hover:hover {
  transform: translateY(-2px);
}

/* Hero Section and Header Styles */
.hero-section {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}

.floating-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.floating-header.transparent {
  /* background: transparent; */
  /* border-bottom-color: transparent; */
}

.floating-header.transparent nav {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.floating-header.solid {
  background: rgba(58, 58, 58, 0.95);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(58, 58, 58, 1);
}

/* Custom card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Custom loading spinner */
.spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #107C10;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

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

/* Custom code display styling */
.code-display {
  font-family: 'Courier New', monospace;
  letter-spacing: 0.1em;
  user-select: none;
}

.code-display.revealed {
  user-select: text;
}

/* Prevent unwanted form element interactions */
select:not([tabindex]), 
input:not([tabindex]), 
textarea:not([tabindex]) {
  pointer-events: auto;
}

/* Ensure hidden elements don't interfere with touch */
[style*="display: none"] select,
[style*="display: none"] input,
[style*="display: none"] textarea {
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Custom modal backdrop */
.modal-backdrop {
  backdrop-filter: blur(4px);
  background-color: rgba(0, 0, 0, 0.5);
}

/* Custom form validation styles */
.form-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-success {
  border-color: #107C10;
  box-shadow: 0 0 0 3px rgba(16, 124, 16, 0.1);
}

/* Custom tooltip */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #3A3A3A;
  color: white;
  padding: 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.tooltip:hover::after {
  opacity: 1;
}

/* Custom progress bar */
.progress-bar {
  background: linear-gradient(90deg, #107C10 0%, #0F5A0F 100%);
  height: 4px;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Custom notification styles */
.notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  color: white;
  font-weight: 500;
  z-index: 50;
  animation: slideIn 0.3s ease;
}

.notification.success {
  background-color: #107C10;
}

.notification.error {
  background-color: #ef4444;
}

.notification.warning {
  background-color: #f59e0b;
}

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

/* Custom responsive utilities */
@media (max-width: 640px) {
  .mobile-hidden {
    display: none;
  }
  
  .mobile-full {
    width: 100%;
  }
}

@media (min-width: 641px) {
  .desktop-hidden {
    display: none;
  }
}

/* Custom print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  .print-only {
    display: block !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}

/* Custom dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
  .dark-mode {
    background-color: #3A3A3A;
    color: #f9fafb;
  }
  
  .dark-mode .bg-white {
    background-color: #3A3A3A;
  }
  
  .dark-mode .text-gray-900 {
    color: #f9fafb;
  }
  
  .dark-mode .text-gray-600 {
    color: #d1d5db;
  }
}

/* Custom accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Custom focus visible for keyboard navigation */
.focus-visible:focus-visible {
  outline: 2px solid #107C10;
  outline-offset: 2px;
}

/* Custom reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Custom high contrast mode support */
@media (prefers-contrast: high) {
  .border {
    border-width: 2px;
  }
  
  .text-gray-600 {
    color: #000;
  }
  
  .bg-gray-50 {
    background-color: #fff;
  }
}

/* Custom selection styles */
::selection {
  background-color: #107C10;
  color: white;
}

::-moz-selection {
  background-color: #107C10;
  color: white;
}

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

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #107C10;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0F5A0F;
}

/* Custom utility classes for modern Xbox theme */
.text-gradient {
  background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(16, 124, 16, 0.3);
}

.border-gradient {
  border: 2px solid;
  border-image: linear-gradient(135deg, #107C10, #0F5A0F) 1;
}

/* Custom glass morphism effect */
.glass {
  background: rgba(58, 58, 58, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom hover effects for cards */
.card-hover-modern {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(16, 124, 16, 0.15);
}

/* Custom button hover effects */
.btn-hover-modern {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-hover-modern::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-modern:hover::before {
  left: 100%;
}

/* Custom loading animation */
.loading-dots {
  display: inline-block;
}

.loading-dots::after {
  content: '';
  animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}

/* Custom gradient backgrounds */
.bg-gradient-dark {
  background: linear-gradient(135deg, #0F0F23 0%, #3A3A3A 100%);
}

.bg-gradient-purple {
  background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
}

/* Custom text shadows */
.text-shadow-glow {
  text-shadow: 0 0 20px rgba(16, 124, 16, 0.5);
}

/* Cart Sidebar Styles */
#cart-sidebar {
  width: 100%;
  transition: transform 0.3s ease-in-out;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  border-left: 1px solid rgba(16, 124, 16, 0.3);
  backdrop-filter: blur(20px);
}

#cart-sidebar.open {
  transform: translateX(0);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
}

/* Cart content area with custom scrollbar */
#cart-items {
  height: calc(100vh - 80px); /* Account for header */
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #107C10 #2a2a3e;
  padding: 0 1rem 1rem 1rem;
}

/* Responsive cart sidebar */
@media (max-width: 768px) {
  #cart-items {
    height: calc(100vh - 70px);
    padding: 0 0.5rem 0.5rem 0.5rem;
  }
  
  .cart-item {
    padding: 1rem;
  }
  
  .cart-item .flex {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cart-item .flex > div {
    width: 100%;
  }
  
  /* Mobile-specific cart improvements */
  #cart-sidebar {
    width: 100% !important;
  }
  
  .cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
  }
  
  .cart-item .text-sm {
    font-size: 0.875rem;
  }
  
  /* Mobile-friendly buttons */
  .btn {
    min-height: 44px;
    min-width: 44px;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
  
  /* Mobile-friendly form inputs */
  input, textarea, select {
    min-height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Mobile-friendly navigation */
  .floating-header .flex.items-center.space-x-4 {
    gap: 0.5rem;
  }
  
  .floating-header a {
    padding: 0.5rem;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

#cart-items::-webkit-scrollbar {
  width: 8px;
}

#cart-items::-webkit-scrollbar-track {
  background: #2a2a3e;
  border-radius: 4px;
}

#cart-items::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
  border-radius: 4px;
  border: 1px solid #1a1a2e;
}

#cart-items::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0F5A0F 0%, #0a3a0a 100%);
}

/* Professional cart header */
#cart-sidebar .flex.justify-between.items-center {
  background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Professional cart item styling */
.cart-item {
  background: linear-gradient(135deg, rgba(42, 42, 62, 0.8) 0%, rgba(26, 26, 46, 0.9) 100%);
  border: 1px solid rgba(16, 124, 16, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-item:hover {
  border-color: rgba(16, 124, 16, 0.5);
  box-shadow: 0 8px 25px rgba(16, 124, 16, 0.15);
  transform: translateY(-2px);
}

/* Professional order summary */
.order-summary {
  background: linear-gradient(135deg, rgba(42, 42, 62, 0.9) 0%, rgba(26, 26, 46, 0.95) 100%);
  border: 1px solid rgba(16, 124, 16, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Cart item animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Notification animations */
.notification {
  animation: slideInRight 0.3s ease-out;
}

/* Cart count badge animation */
.cart-count {
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
  box-shadow: 0 2px 8px rgba(16, 124, 16, 0.3);
}

.cart-count:not(:empty) {
  animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Professional cart toggle button */
.cart-toggle {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-toggle:hover {
  transform: scale(1.1);
}

.cart-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(16, 124, 16, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.cart-toggle:hover::before {
  width: 60px;
  height: 60px;
}



/* Professional cart item animations */
.cart-item {
  animation: slideInUp 0.4s ease-out;
}

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

/* Professional button hover effects */
.btn-professional {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-professional::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-professional:hover::before {
  left: 100%;
}

.btn-professional:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 124, 16, 0.3);
}

/* Cookie Consent Popup Styles */
.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cookie-consent-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #107C10;
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(16, 124, 16, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent-overlay.show .cookie-consent-container {
    transform: scale(1);
}

.cookie-consent-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cookie-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 10px 25px rgba(16, 124, 16, 0.3);
}

.cookie-consent-header h2 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #107C10 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cookie-subtitle {
    color: #a0a0a0;
    font-size: 1rem;
    font-weight: 400;
}

.cookie-consent-content {
    margin-bottom: 2rem;
}

.cookie-description {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(16, 124, 16, 0.3);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.cookie-category:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 124, 16, 0.5);
}

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

.category-header h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-header h4 i {
    color: #107C10;
    font-size: 0.9rem;
}

.category-status.required {
    background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.cookie-category p {
    color: #b0b0b0;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch Styles */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    cursor: pointer;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3a3a3a;
    transition: 0.3s;
    border-radius: 24px;
    border: 2px solid #555;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .toggle-slider {
    background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
    border-color: #107C10;
}

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

.cookie-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cookie-link {
    color: #107C10;
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(16, 124, 16, 0.1);
    border: 1px solid rgba(16, 124, 16, 0.2);
}

.cookie-link:hover {
    background: rgba(16, 124, 16, 0.2);
    border-color: rgba(16, 124, 16, 0.4);
    color: #F59E0B;
    transform: translateY(-1px);
}

.cookie-consent-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
    color: white;
}

.cookie-btn-primary:hover {
    background: linear-gradient(135deg, #0F5A0F 0%, #0a3a0a 100%);
}

.cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.cookie-btn-accent {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
}

.cookie-btn-accent:hover {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
}

/* Cookie Settings Button */
.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #107C10 0%, #0F5A0F 100%);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(16, 124, 16, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.cookie-settings-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(16, 124, 16, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-container {
        padding: 1.5rem;
        margin: 1rem;
        max-height: 85vh;
    }
    
    .cookie-consent-header h2 {
        font-size: 1.5rem;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .cookie-links {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-settings-btn {
        bottom: 15px;
        right: 15px;
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .cookie-settings-btn span {
        display: none;
    }
    
    /* Mobile-specific improvements */
    .hero-section {
        padding: 2rem 1rem;
        min-height: 60vh;
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 1rem !important;
        line-height: 1.5;
    }
    
    /* Mobile-friendly sections */
    section {
        padding: 2rem 1rem;
    }
    
    /* Mobile-friendly cards */
    .product-card,
    .service-card,
    .blog-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile-friendly grids */
    .product-grid,
    .service-grid,
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        padding: 1rem;
    }
    
    /* Mobile-friendly footer */
    footer {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }
    
    /* Mobile-friendly forms */
    .contact-form,
    .login-form,
    .register-form {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem;
        font-size: 16px;
        min-height: 44px;
    }
    
    /* Mobile-friendly buttons */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Mobile-friendly navigation */
    .floating-header {
        padding: 0.5rem 0;
    }
    
    .floating-header nav {
        padding: 0 1rem;
    }
    
    .floating-header .flex.justify-between {
        height: 3.5rem;
    }
    
    /* Mobile menu improvements */
    .nav-menu {
        position: fixed;
        top: 4rem;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #0F0F23 0%, #3A3A3A 100%);
        backdrop-filter: blur(20px);
        border-bottom: 2px solid rgba(16, 124, 16, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        padding: 1rem;
    }
    
    .nav-menu a {
        padding: 1rem;
        border-radius: 0.5rem;
        font-weight: 500;
        transition: all 0.3s ease;
        border: 1px solid transparent;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .nav-menu a:hover {
        background: rgba(16, 124, 16, 0.1);
        border-color: rgba(16, 124, 16, 0.3);
        transform: translateX(5px);
    }
}

@media (max-width: 480px) {
    .cookie-consent-container {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .cookie-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .cookie-consent-header h2 {
        font-size: 1.25rem;
    }
    
    .cookie-categories {
        gap: 0.75rem;
    }
    
    .cookie-category {
        padding: 0.75rem;
    }
    
    /* Extra small mobile improvements */
    .hero-section {
        padding: 1.5rem 0.75rem;
        min-height: 50vh;
    }
    
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }
    
    /* Smaller buttons for very small screens */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-height: 40px;
        min-width: 40px;
    }
    
    /* Smaller cards */
    .product-card,
    .service-card,
    .blog-card {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    /* Smaller grids */
    .product-grid,
    .service-grid,
    .blog-grid {
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    /* Smaller forms */
    .contact-form,
    .login-form,
    .register-form {
        padding: 1rem;
        margin: 0.75rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem;
        font-size: 16px;
        min-height: 40px;
    }
    
    /* Smaller navigation */
    .floating-header .flex.justify-between {
        height: 3rem;
    }
    
    .floating-header img {
        height: 1rem !important;
    }
    
    .floating-header span {
        font-size: 1rem !important;
    }
    
    /* Smaller mobile menu */
    .nav-menu {
        top: 3rem;
        padding: 0.75rem;
    }
    
    .nav-menu a {
        padding: 0.75rem;
        min-height: 40px;
        font-size: 0.9rem;
    }
    
    /* Smaller footer */
    footer {
        padding: 1.5rem 0.75rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
}

/* Form Animations and Styles */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Form loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #107C10;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

/* Form field focus effects */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 124, 16, 0.2);
    transition: all 0.3s ease;
}

/* Form submission button hover effects */
.btn[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 124, 16, 0.3);
}

.btn[type="submit"]:active {
    transform: translateY(0);
}

/* Form notification animations */
.form-notification {
    animation: slideInRight 0.3s ease-out;
}

.form-notification:hover {
    transform: translateX(-5px);
    transition: transform 0.3s ease;
}

/* Contact form specific styles */
#contactForm .form-group {
    position: relative;
    transition: all 0.3s ease;
}

#contactForm .form-group:hover {
    transform: translateX(5px);
}

#contactForm input,
#contactForm textarea,
#contactForm select {
    transition: all 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus,
#contactForm select:focus {
    border-color: #107C10;
    box-shadow: 0 0 0 3px rgba(16, 124, 16, 0.1);
}

/* Success state for form fields */
.form-group.success input,
.form-group.success textarea,
.form-group.success select {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.05);
}

/* Error state for form fields */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
    animation: pulse 0.5s ease-in-out;
}

/* Filled state for form fields */
.form-group.filled input,
.form-group.filled textarea,
.form-group.filled select {
    border-color: #107C10;
    background-color: rgba(16, 124, 16, 0.05);
}

/* Field error message styling */
.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    animation: fadeIn 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.field-error::before {
    content: "⚠";
    font-size: 1rem;
}

/* Form loading overlay */
.form-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    color: white;
    backdrop-filter: blur(5px);
}

.form-loading-overlay p {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Newsletter form specific styles - prevent error states */
#newsletterForm,
#blogNewsletterForm {
    position: relative;
}

#newsletterForm input[type="email"],
#blogNewsletterForm input[type="email"] {
    transition: all 0.3s ease;
}

#newsletterForm input[type="email"]:focus,
#blogNewsletterForm input[type="email"]:focus {
    border-color: #107C10 !important;
    box-shadow: 0 0 0 3px rgba(16, 124, 16, 0.1) !important;
    background-color: rgba(16, 124, 16, 0.05) !important;
    outline: none !important;
}

/* Override any error states for newsletter forms */
#newsletterForm .form-group.error input[type="email"],
#newsletterForm input[type="email"].error,
#blogNewsletterForm .form-group.error input[type="email"],
#blogNewsletterForm input[type="email"].error {
    border-color: #107C10 !important;
    background-color: rgba(16, 124, 16, 0.05) !important;
    animation: none !important;
}

/* Hide error messages for newsletter forms */
#newsletterForm .field-error,
#blogNewsletterForm .field-error {
    display: none !important;
}

/* Newsletter success notification animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
