/* Premium Parallax + Interaction Layer (bright light theme)
   Advanced parallax effects with smooth animations for enhanced user experience.
   Features: scroll-based parallax, mouse-based parallax, depth layers, and smooth transitions.
*/
:root{
  /* mouse parallax px */
  --mxS: 0px; --myS: 0px;   /* Sun glow */
  --mxA: 0px; --myA: 0px;   /* Trade arcs */
  --mxE: 0px; --myE: 0px;   /* Earth */
  --mxP: 0px; --myP: 0px;   /* Ship */

  /* scroll parallax px */
  --syA: 0px;
  --syE: 0px;
  --syP: 0px;
  --syW: 0px;
  
  /* Additional parallax depth variables */
  --parallax-depth-6: 0px;
  --parallax-depth-7: 0px;
  --parallax-depth-8: 0px;
}

/* Bright light theme background with enhanced parallax */
body{
  background-color:#ffffff;
  color: #1e293b;
  /* Enhanced layered parallax background */
  background-image:
    radial-gradient(900px 550px at 82% 12%, rgba(255, 220, 100, 0.35), rgba(255, 220, 100, 0.00) 60%), /* Brighter sun glow */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='800' viewBox='0 0 1400 800'%3E%3Cg fill='none' stroke='%230052cc' stroke-opacity='0.12' stroke-width='2'%3E%3Cpath d='M160 520 C360 360 520 360 720 520 S1080 680 1240 520' stroke-dasharray='6 10'/%3E%3Cpath d='M120 280 C360 150 560 150 740 280 S1100 420 1280 280' stroke-dasharray='6 10'/%3E%3Cpath d='M220 660 C420 520 600 520 800 660 S1120 820 1300 660' stroke-dasharray='6 10'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='1040' cy='210' r='6' fill='%2310b981' fill-opacity='0.25'/%3E%3Ccircle cx='260' cy='300' r='6' fill='%2310b981' fill-opacity='0.25'/%3E%3Ccircle cx='520' cy='520' r='6' fill='%2310b981' fill-opacity='0.25'/%3E%3Ccircle cx='860' cy='380' r='6' fill='%2310b981' fill-opacity='0.25'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900' viewBox='0 0 900 900'%3E%3Cdefs%3E%3CradialGradient id='g' cx='35%25' cy='35%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23f0f9ff'/%3E%3Cstop offset='55%25' stop-color='%23dbeafe' stop-opacity='0.35'/%3E%3Cstop offset='100%25' stop-color='%23bfdbfe' stop-opacity='0.12'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='450' cy='450' r='230' fill='url(%23g)'/%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.35'%3E%3Cpath d='M220 450h460'/%3E%3Cpath d='M450 220v460'/%3E%3Cellipse cx='450' cy='450' rx='220' ry='90'/%3E%3Cellipse cx='450' cy='450' rx='220' ry='150'/%3E%3C/g%3E%3Cg fill='%2310b981' fill-opacity='0.20'%3E%3Cpath d='M380 360c40-25 70-15 95 10-20 25-55 55-95 60-20-20-20-45 0-70z'/%3E%3Cpath d='M520 470c30-20 55-18 78 6-18 22-40 40-72 50-18-18-16-35-6-56z'/%3E%3Cpath d='M320 520c30-20 60-18 90 6-25 35-65 55-95 55-10-20-8-40 5-61z'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1100' height='500' viewBox='0 0 1100 500'%3E%3Cg fill='none'%3E%3Cpath d='M60 380 C160 340 240 340 340 380 S520 420 620 380 S820 340 1040 380' stroke='%230ea5e9' stroke-opacity='0.12' stroke-width='14' stroke-linecap='round'/%3E%3Cpath d='M40 430 C160 390 260 390 360 430 S560 470 660 430 S860 390 1060 430' stroke='%230ea5e9' stroke-opacity='0.10' stroke-width='12' stroke-linecap='round'/%3E%3C/g%3E%3Cg%3E%3Cpath d='M650 280h180l60 55h-265z' fill='%230ea5e9' fill-opacity='0.18'/%3E%3Cpath d='M615 320h320l-35 65H650z' fill='%230284c7' fill-opacity='0.22'/%3E%3Crect x='720' y='260' width='55' height='35' rx='6' fill='%230284c7' fill-opacity='0.18'/%3E%3Ccircle cx='710' cy='395' r='18' fill='%230ea5e9' fill-opacity='0.20'/%3E%3Ccircle cx='850' cy='395' r='18' fill='%230ea5e9' fill-opacity='0.20'/%3E%3Ccircle cx='910' cy='395' r='18' fill='%230ea5e9' fill-opacity='0.20'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(248,250,252,0.45), rgba(248,250,252,0.45));

  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;

  /* Positions use pixel vars that JS updates */
  background-position:
    calc(82% + var(--mxS)) calc(12% + var(--myS)),
    calc(50% + var(--mxA)) calc(42% + var(--syA)),
    calc(8% + var(--mxE)) calc(22% + var(--myE) + var(--syE)),
    calc(75% + var(--mxP)) calc(78% + var(--syP)),
    0% calc(92% + var(--syW));

  background-size:
    1100px 700px,
    1400px 800px,
    520px 520px,
    900px 420px,
    1200px 420px;

  background-attachment: scroll, scroll, scroll, scroll, scroll;

  /* Enhanced parallax scrolling */
  transition: background-position 0.1s ease-out;
}

/* Additional parallax depth classes */
.parallax-depth-6 { transform: translateY(calc(var(--parallax-depth-6) * -1)); }
.parallax-depth-7 { transform: translateY(calc(var(--parallax-depth-7) * -1)); }
.parallax-depth-8 { transform: translateY(calc(var(--parallax-depth-8) * -1)); }

/* Enhanced parallax elements */
.parallax-element {
  transition: transform 0.1s ease-out;
}

/* Advanced hover effects for parallax elements */
.parallax-element:hover {
  transform: scale(1.05) !important;
  transition: transform 0.3s ease;
}

/* Enhanced 3D tilt effect for cards */
.section-card.parallax-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.section-card.parallax-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  transition: transform 0.3s ease;
}

/* Floating animation for parallax elements */
.floating-parallax {
  animation: floating-parallax 6s ease-in-out infinite;
}

@keyframes floating-parallax {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Enhanced depth layers */
.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.parallax-layer.depth-1 { transform: translateZ(0px); }
.parallax-layer.depth-2 { transform: translateZ(-50px); }
.parallax-layer.depth-3 { transform: translateZ(-100px); }
.parallax-layer.depth-4 { transform: translateZ(-150px); }
.parallax-layer.depth-5 { transform: translateZ(-200px); }
.parallax-layer.depth-6 { transform: translateZ(-250px); }
.parallax-layer.depth-7 { transform: translateZ(-300px); }
.parallax-layer.depth-8 { transform: translateZ(-350px); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  :root{
    --mxS:0px; --myS:0px; --mxA:0px; --myA:0px; --mxE:0px; --myE:0px; --mxP:0px; --myP:0px;
    --syA:0px; --syE:0px; --syP:0px; --syW:0px;
  }
}

/* Scroll reveal */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* Enhanced Scroll reveal with multiple directions */
.reveal-up { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-down { opacity: 0; transform: translateY(-30px); transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-scale { opacity: 0; transform: scale(0.8); transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }

.reveal-up.is-visible, .reveal-down.is-visible, .reveal-left.is-visible, .reveal-right.is-visible, .reveal-scale.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* 3D tilt base */
.tilt{ transform-style: preserve-3d; will-change: transform; }

/* Enhanced 3D tilt effect */
.tilt-container {
  perspective: 1000px;
  position: relative;
}
.tilt-element {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}
.tilt-element.tilt-enabled {
  transform: translateZ(0);
}

/* Button ripple */
.ripple-target{ position: relative; overflow: hidden; }
.ripple{
  position:absolute;
  border-radius:9999px;
  transform: translate(-50%, -50%);
  pointer-events:none;
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.55);
  animation: ripple .65s ease-out forwards;
}
@keyframes ripple{
  from{ opacity:.9; transform: translate(-50%,-50%) scale(1); }
  to{ opacity:0; transform: translate(-50%,-50%) scale(34); }
}

/* Enhanced ripple effects for different button types */
.btn-primary .ripple {
  background: rgba(255,255,255,0.65);
}
.btn-secondary .ripple {
  background: rgba(0,0,0,0.2);
}
.btn-outline .ripple {
  background: rgba(0,82,204,0.4);
}

/* Slightly nicer focus rings */
:focus-visible{ outline: 2px solid rgba(0,82,204,.55); outline-offset: 2px; }

/* Premium hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}
.hover-glow:hover {
  box-shadow: 0 0 15px rgba(0, 82, 204, 0.3);
}

/* Glow effect for interactive elements */
global-glow {
  position: relative;
}
global-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg, rgba(0,82,204,0.6), rgba(16,185,129,0.6), rgba(0,82,204,0.6));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}
global-glow:hover::before {
  opacity: 1;
}

/* Enhanced button styles */
.btn-primary {
  background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #003d99 0%, #0052cc 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 82, 204, 0.3);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: white;
  color: #0052cc;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #0052cc;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f0f4f8;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-secondary:hover::before {
  opacity: 1;
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 82, 204, 0.1);
}

/* Card enhancements */
.section-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}
.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0052cc, #10b981);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.section-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.section-card:hover::before {
  transform: scaleX(1);
}

/* Hero section enhancements */
.hero-gradient {
  background: linear-gradient(135deg, #003d99 0%, #0052cc 100%);
  position: relative;
  overflow: hidden;
}
.hero-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

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

/* Interactive elements */
.interactive-element {
  cursor: pointer;
  transition: all 0.3s ease;
}
.interactive-element:hover {
  transform: translateY(-2px);
}

/* Notification badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}
.badge-primary {
  background: #dbeafe;
  color: #1e40af;
}
.badge-success {
  background: #d1fae5;
  color: #065f46;
}
.badge-warning {
  background: #fef3c7;
  color: #92400e;
}

/* Animated progress bars */
.progress-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}
.progress {
  height: 100%;
  background: linear-gradient(90deg, #0052cc, #10b981);
  border-radius: 4px;
  width: 0%;
  transition: width 1s ease-in-out;
}

/* Enhanced typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, #0052cc, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Responsive enhancements */
@media (max-width: 768px) {
  .section-card {
    margin-bottom: 1rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* Loading spinner */
.loading-spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
}

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

/* Notification system */
.notification {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
  background: white;
  border-left: 4px solid #0052cc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  max-width: 320px;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.notification-info {
  border-left-color: #0052cc;
}

.notification-success {
  border-left-color: #10b981;
}

.notification-warning {
  border-left-color: #f59e0b;
}

.notification-error {
  border-left-color: #ef4444;
}

.notification-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.notification-message {
  flex-grow: 1;
  font-size: 0.875rem;
  color: #374151;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #9ca3af;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-close:hover {
  color: #6b7280;
}

/* Hover active class */
.hover-active {
  transform: translateY(-2px);
}

/* Enhanced form elements */
.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #0052cc;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
}

/* Accordion */
.accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.accordion-header {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #1e293b;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.accordion-content {
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #ffffff;
}

.accordion-content.open {
  padding: 1rem;
  max-height: 1000px;
  animation: slideDown 0.3s ease;
}

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

.accordion-toggle {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  color: #0052cc;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e6f0ff;
}

.accordion-toggle.active {
  transform: rotate(180deg);
  background: #0052cc;
  color: white;
}

.accordion-toggle:hover {
  background: #003d99;
  color: white;
}

/* Enhanced Panel Styles */
.panel {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.panel-header {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-body {
  padding: 1.5rem;
}

.panel-footer {
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 0.875rem;
  color: #64748b;
}

/* Tabbed Panel */
.tab-container {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 1rem;
}

.tab {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-bottom: none;
  border-radius: 0.5rem 0.5rem 0 0;
  margin-right: 0.25rem;
  transition: all 0.3s ease;
}

.tab.active {
  background: white;
  border-bottom: 2px solid white;
  margin-bottom: -2px;
  color: #0052cc;
  font-weight: 600;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Expandable Card */
.expandable-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: all 0.3s ease;
}

.expandable-card-header {
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
}

.expandable-card-content {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.expandable-card.expanded .expandable-card-content {
  padding: 1.25rem;
  max-height: 500px;
}

.expandable-card.expanded .expandable-arrow {
  transform: rotate(180deg);
}

.expandable-arrow {
  transition: transform 0.3s ease;
  color: #0052cc;
}

/* Tooltip */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: #374151;
  color: white;
  text-align: center;
  border-radius: 0.375rem;
  padding: 0.5rem;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.875rem;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #374151 transparent transparent transparent;
}

/* Enhanced animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes float-slow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

@keyframes float-fast {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-5px, -5px) rotate(1deg); }
  50% { transform: translate(0, -10px) rotate(0deg); }
  75% { transform: translate(5px, -5px) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes sway {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

.floating-slow {
  animation: float-slow 4s ease-in-out infinite;
}

.floating-fast {
  animation: float-fast 2s ease-in-out infinite;
}

.drifting {
  animation: drift 8s ease-in-out infinite;
}

.swaying {
  animation: sway 6s ease-in-out infinite;
}

.pulsing {
  animation: pulse 2s ease-in-out infinite;
}

.bouncing {
  animation: bounce 2s infinite;
}

/* Hover animations */
.hover-scale:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.hover-rotate:hover {
  transform: rotate(5deg);
  transition: transform 0.3s ease;
}

.hover-lift-lg:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Gradient animations */
.animated-gradient {
  background-size: 400% 400%;
  animation: gradient 4s ease infinite;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Counter animations */
.counter {
  display: inline-block;
  font-weight: 700;
  font-size: 1.5rem;
  color: #0052cc;
}

/* Image hover effects */
.image-hover-zoom {
  overflow: hidden;
  border-radius: 0.5rem;
}

.image-hover-zoom img {
  transition: transform 0.3s ease;
}

.image-hover-zoom:hover img {
  transform: scale(1.1);
}

/* Card flip effect */
.card-flip-container {
  perspective: 1000px;
  width: 100%;
  height: 100%;
}

.card-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.card-flip-container:hover .card-flip {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.card-back {
  transform: rotateY(180deg);
}

/* Glowing border */
.glowing-border {
  position: relative;
  border-radius: 0.5rem;
}

.glowing-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #0052cc, #10b981, #0052cc, #10b981);
  border-radius: 0.5rem;
  z-index: -1;
  animation: glowing-border 2s linear infinite;
  background-size: 400% 400%;
}

.glowing-border::after {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: #fff;
  border-radius: 0.5rem;
  z-index: -1;
}

@keyframes glowing-border {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Progress bar enhancements */
.progress-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #0052cc, #10b981);
  border-radius: 4px;
  width: 0%;
  transition: width 1s ease-in-out;
  position: relative;
}

.progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
  background-size: 20px 20px;
  animation: progress-shine 2s infinite;
  border-radius: 4px;
}

@keyframes progress-shine {
  0% { background-position: 0 0; }
  100% { background-position: 20px 0; }
}

/* Enhanced button styles with bright theme */
.btn-primary {
  background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 82, 204, 0.15);
}

.btn-secondary {
  background: white;
  color: #0052cc;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #0052cc;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 82, 204, 0.1);
}

.btn-outline {
  background: transparent;
  color: #0052cc;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #0052cc;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 82, 204, 0.05);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 82, 204, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 82, 204, 0.15);
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 82, 204, 0.15);
}

/* Consistent bright/light theme for cards */
.card, .section-card {
  background: white;
  border-radius: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 82, 204, 0.08);
}

/* Enhanced bright/light theme for hero sections */
.hero-gradient {
  background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
  position: relative;
  overflow: hidden;
  color: white;
}

/* Bright/light theme for buttons */
.btn-primary {
  background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 82, 204, 0.15);
}

.btn-secondary {
  background: white;
  color: #0052cc;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #0052cc;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 82, 204, 0.1);
}

/* Bright/light theme for input fields */
.form-control {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  color: #1e293b;
}

/* Bright/light theme for navigation */
.nav-link {
  color: #64748b;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #0052cc;
  font-weight: 600;
}

/* Bright/light theme for footer */
footer {
  background: #f1f5f9;
  color: #475569;
}

footer a {
  color: #64748b;
  transition: all 0.3s ease;
}

footer a:hover {
  color: #0052cc;
  text-decoration: underline;
}

/* Consistent bright/light theme for cards */
.card, .section-card {
  background: white;
  border-radius: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 82, 204, 0.08);
}

.card:hover, .section-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 82, 204, 0.2);
}

/* Consistent bright/light theme for input fields */
.form-control {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  color: #1e293b;
}

.form-control:focus {
  outline: none;
  border-color: #0052cc;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

/* Consistent bright/light theme for text */
h1, h2, h3, h4, h5, h6 {
  color: #1e293b;
  font-weight: 700;
}

p {
  color: #374151;
}

.text-primary {
  color: #0052cc;
}

.text-secondary {
  color: #64748b;
}

/* Bright theme for navigation */
.nav-link {
  color: #64748b;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #0052cc;
  font-weight: 600;
}

/* Bright theme for footer */
footer {
  background: #f1f5f9;
  color: #475569;
}

footer a {
  color: #64748b;
  transition: all 0.3s ease;
}

footer a:hover {
  color: #0052cc;
  text-decoration: underline;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #003d99 0%, #0052cc 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 82, 204, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: white;
  color: #0052cc;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #0052cc;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f0f4f8;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 82, 204, 0.1);
}

.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Accessibility features */

/* Focus indicators for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
[tabindex]:focus {
  outline: 2px solid #0052cc;
  outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #0052cc;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #0000ff;
    --color-text: #000000;
    --color-bg: #ffffff;
  }
  
  .section-card {
    border: 2px solid #000000;
  }
  
  .btn-primary {
    border: 2px solid #000000;
  }
  
  .btn-secondary {
    border: 2px solid #000000;
  }
}

/* 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;
  }
  
  .floating,
  .pulsing,
  .bouncing,
  .hover-lift,
  .hover-lift-lg,
  .hover-scale,
  .hover-rotate {
    animation: none;
    transition: none;
  }
}

/* Dark mode support */
/* Disabled dark mode override to ensure consistent light theme */
/* @media (prefers-color-scheme: dark) {
  body {
    background: #1a1a1a;
    color: #e0e0e0;
  }
  
  .section-card {
    background: #2d2d2d;
    border-color: #444;
  }
  
  .btn-secondary {
    background: #2d2d2d;
    color: #63a4ff;
    border-color: #63a4ff;
  }
} */

/* Screen reader only content */
.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;
}

/* Focusable elements */
.focusable {
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.2s;
}

.focusable:focus {
  outline-color: #0052cc;
}

/* Accessible modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
}

.close-btn:hover {
  color: #111827;
}

/* Accessible navigation */
.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  margin-bottom: 0.5rem;
}

.nav-menu a {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
}

.nav-menu a:focus {
  background-color: #e6f0ff;
  outline: 2px solid #0052cc;
  outline-offset: -2px;
}

/* Accessible form elements */
.form-field {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #0052cc;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.form-input.error {
  border-color: #ef4444;
}

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

/* Accessible tables */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

th {
  font-weight: 600;
  background-color: #f9fafb;
}

/* Accessible headings */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-top: 0;
}

/* Heading hierarchy */
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

/* Accessible icons */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  margin-right: 0.25rem;
}

/* Accessible alerts */
.alert {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.alert-info { background-color: #dbeafe; border-left: 4px solid #3b82f6; }
.alert-success { background-color: #d1fae5; border-left: 4px solid #10b981; }
.alert-warning { background-color: #fef3c7; border-left: 4px solid #f59e0b; }
.alert-error { background-color: #fee2e2; border-left: 4px solid #ef4444; }

/* Animated icon */
.animated-icon {
  transition: transform 0.3s ease;
}

.animated-icon:hover {
  transform: scale(1.2);
}

/* Wave animation */
.wave {
  animation-name: wave-animation;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  transform-origin: 70% 70%;
  display: inline-block;
}

@keyframes wave-animation {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* Pulse ring */
.pulse-ring {
  position: relative;
}

/* WhatsApp Button Enhancement */
.whatsapp-fab {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  background-color: #25D366 !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 30px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
  z-index: 9999 !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.whatsapp-fab:hover {
  background-color: #128C7E !important;
  transform: scale(1.1) !important;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3) !important;
}

.whatsapp-fab:active {
  transform: scale(0.95) !important;
}


/* Enhanced button hover effects */
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Enhanced hover effects for cards */
.section-card:hover,
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

/* Enhanced hover effects for interactive elements */
.interactive-element:hover,
a:hover,
button:hover {
  transition: all 0.2s ease;
}

/* Add glow effect on hover */
.glow-effect {
  transition: all 0.3s ease;
}

.glow-effect:hover {
  box-shadow: 0 0 15px rgba(0, 82, 204, 0.4);
  transform: translateY(-2px);
}

/* Enhanced focus effects for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #0052cc;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.2);
}

/* Carousel styles */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 0;
}



/* Testimonial slide styles */
.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  animation: fadeInOpacity 0.3s ease-in-out;
}

@keyframes fadeInOpacity {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: #ccc;
}

/* Enhanced hover effects */
.hover-effect {
  transition: all 0.3s ease;
}

/* Badge hover effect */
.badge {
  transition: transform 0.2s ease;
}

/* Additional utility classes */
.text-gradient-primary {
  background: linear-gradient(135deg, #0052cc, #003d99);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-gradient-secondary {
  background: linear-gradient(135deg, #10b981, #065f46);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.shadow-lg-hover {
  transition: box-shadow 0.3s ease;
}

.shadow-lg-hover:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Animation enhancements */
.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out;
}

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

/* Interactive card enhancements */
.interactive-card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.interactive-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Button enhancements */
.btn-animated {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-animated::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;
  z-index: -1;
}

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

/* Feature section enhancements */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Stats counter enhancements */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0052cc, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 768px) {

  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.pulse-ring::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #0052cc;
  opacity: 0;
  animation: pulse-ring 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(.8);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}


