/* ============================================
   SAAS Egypt - Premium Website Styles
   With Dark/Light Mode & RTL/LTR Support
   ============================================ */

/* Dark Mode Variables (Default) */
:root, [data-theme="dark"] {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #38bdf8;
  --secondary: #8b5cf6;
  --accent: #f97316;
  --success: #10b981;
  --whatsapp: #25D366;
  
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #1e293b;
  --bg-card-hover: #334155;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border: rgba(148, 163, 184, 0.1);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.4);
}

/* Light Mode Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
  font-family: 'Cairo', 'Tajawal', sans-serif; 
  background: var(--bg-primary); 
  color: var(--text-primary); 
  line-height: 1.7; 
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}
[dir="ltr"] body { font-family: 'Inter', 'Cairo', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1600px; margin: 0 auto; padding: 0 32px; }

/* Preloader */
.preloader {
  position: fixed; inset: 0;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s, visibility 0.5s;
}
.preloader.fade-out { opacity: 0; visibility: hidden; }
.loader { position: relative; width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; }
.loader-ring { position: absolute; width: 100%; height: 100%; border: 3px solid transparent; border-radius: 50%; animation: loaderSpin 1.5s linear infinite; }
.loader-ring:nth-child(1) { border-top-color: var(--primary); }
.loader-ring:nth-child(2) { width: 80%; height: 80%; border-right-color: var(--secondary); animation-delay: 0.2s; animation-direction: reverse; }
.loader-ring:nth-child(3) { width: 60%; height: 60%; border-bottom-color: var(--accent); animation-delay: 0.4s; }
.loader-text { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); }
@keyframes loaderSpin { to { transform: rotate(360deg); } }

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-text-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 16px 0;
  transition: all 0.3s;
}
header.scrolled {
  background: var(--bg-secondary);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: var(--shadow);
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.5rem; color: var(--text-primary); }
.logo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: white;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.nav-links { display: flex; gap: 8px; }
.nav-links a {
  padding: 10px 20px; border-radius: 999px;
  color: var(--text-secondary); font-weight: 600; font-size: 0.95rem;
  transition: all 0.3s;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(14, 165, 233, 0.1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Theme & Lang Toggle */
.theme-toggle, .lang-toggle {
  width: 44px; height: 44px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s;
  color: var(--text-primary); font-size: 1.1rem; font-weight: 700;
}
.lang-toggle { border-radius: 8px; width: auto; padding: 0 16px; font-size: 0.9rem; }
.theme-toggle:hover, .lang-toggle:hover { background: var(--primary); color: white; transform: scale(1.1); }

.btn-whatsapp {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 999px; color: white; font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }

.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 10px; background: none; border: none; cursor: pointer;
}
.mobile-toggle span {
  width: 25px; height: 3px;
  background: var(--text-primary); border-radius: 3px;
  transition: all 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute; width: 4px; height: 4px;
  background: var(--primary); border-radius: 50%;
  opacity: 0.5;
  animation: particleFloat 15s infinite linear;
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-shape {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.5;
}
.shape-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -200px; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 400px; height: 400px; background: var(--secondary); bottom: -100px; left: -100px; animation: float 10s ease-in-out infinite reverse; }
.shape-3 { width: 300px; height: 300px; background: var(--accent); top: 50%; left: 50%; transform: translate(-50%, -50%); animation: pulse2 5s ease-in-out infinite; }

@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -30px); } }
@keyframes pulse2 { 0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); } }

.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 24px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 999px; color: var(--primary-light);
  font-size: 0.9rem; font-weight: 600; margin-bottom: 32px;
  position: relative;
}
.badge-pulse {
  position: absolute; left: 10px;
  width: 8px; height: 8px;
  background: var(--success); border-radius: 50%;
  animation: badgePulse 2s infinite;
}
[dir="ltr"] .badge-pulse { left: auto; right: 10px; }
@keyframes badgePulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.5; } }

.hero-title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900; line-height: 1.2; margin-bottom: 24px; }
.hero-description { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }

.hero-buttons { display: flex; justify-content: center; gap: 16px; margin-bottom: 60px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5); }
.btn-glow { animation: glow 2s ease-in-out infinite alternate; }
@keyframes glow { from { box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4); } to { box-shadow: 0 4px 30px rgba(14, 165, 233, 0.6), 0 0 40px rgba(14, 165, 233, 0.2); } }

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--primary); background: rgba(14, 165, 233, 0.1); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  padding: 40px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-icon {
  width: 50px; height: 50px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.2rem;
}
.stat-number {
  font-size: 2.5rem; font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px; }

.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); }
.mouse { width: 26px; height: 40px; border: 2px solid var(--text-muted); border-radius: 20px; position: relative; }
.wheel {
  width: 4px; height: 8px;
  background: var(--primary); border-radius: 4px;
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s ease-in-out infinite;
}
@keyframes scroll { 0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); } 50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); } }

/* Section Common */
.section {
  padding: 100px 0; position: relative;
  opacity: 0; transform: translateY(30px);
  transition: all 0.5s;
}
.section.animate { opacity: 1; transform: translateY(0); }
.section-header { text-align: center; margin-bottom: 60px; }

.section-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 24px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 999px; color: var(--primary-light);
  font-size: 0.9rem; font-weight: 600; margin-bottom: 20px;
}
.section-badge.light { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: white; }
.section-badge.whatsapp-badge { background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.3); color: #25D366; }

.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* About Section */
.about-section { background: var(--bg-secondary); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 40px; line-height: 1.9; }
.about-features { display: flex; flex-direction: column; gap: 24px; }
.feature-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px;
  background: var(--bg-card); border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.feature-item:hover { transform: translateX(-10px); border-color: var(--primary); background: rgba(14, 165, 233, 0.05); }
[dir="ltr"] .feature-item:hover { transform: translateX(10px); }
.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: white; flex-shrink: 0;
}
.feature-text h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.feature-text p { color: var(--text-secondary); font-size: 0.9rem; }

.about-image { position: relative; }
.image-wrapper { position: relative; }
.image-bg {
  position: absolute;
  inset: 20px -20px -20px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 24px; opacity: 0.2;
}
.image-wrapper img { position: relative; border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; }
.experience-badge {
  position: absolute; bottom: -30px; right: -30px;
  background: linear-gradient(135deg, var(--accent), #ea580c);
  padding: 24px 32px; border-radius: 16px; text-align: center;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}
[dir="ltr"] .experience-badge { right: auto; left: -30px; }
.exp-number { display: block; font-size: 2.5rem; font-weight: 900; color: white; }
.exp-text { color: rgba(255, 255, 255, 0.9); font-size: 0.9rem; font-weight: 600; }

/* Services Section */
.services-section { background: var(--bg-primary); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--bg-card); border-radius: 16px;
  padding: 40px 32px; text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
  opacity: 0; transform: translateY(20px);
}
.service-card.animate { opacity: 1; transform: translateY(0); }
.service-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15); }
.service-icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--primary);
  transition: all 0.3s;
}
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; transform: scale(1.1); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* Programs/Solutions Section */
.solutions-section { background: var(--bg-secondary); }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.program-card {
  position: relative;
  background: var(--bg-card); border-radius: 24px;
  padding: 40px 32px;
  border: 1px solid var(--border);
  overflow: hidden; transition: all 0.5s;
  opacity: 0; transform: translateY(30px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 8px 32px rgba(0, 0, 0, 0.1);
}
.program-card.animate { opacity: 1; transform: translateY(0); }
.program-card:hover { border-color: transparent; transform: translateY(-12px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 20px 60px rgba(0, 0, 0, 0.15); }

.card-glow { position: absolute; top: 0; left: 0; right: 0; height: 4px; opacity: 0; transition: all 0.3s; }
.program-card:hover .card-glow { opacity: 1; }
.gym-card .card-glow { background: linear-gradient(90deg, #10b981, #34d399); }
.clinic-card .card-glow { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.realestate-card .card-glow { background: linear-gradient(90deg, #f97316, #fb923c); }
.gym-card:hover { box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2); }
.clinic-card:hover { box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2); }
.realestate-card:hover { box-shadow: 0 20px 40px rgba(249, 115, 22, 0.2); }
.menu-card:hover { box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2); }
.pos-app-card:hover { box-shadow: 0 20px 40px rgba(236, 72, 153, 0.2); }
.mandoob-card:hover { box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2); }
.mrpos-card:hover { box-shadow: 0 20px 40px rgba(234, 179, 8, 0.2); }
.hotel-card:hover { box-shadow: 0 20px 40px rgba(20, 184, 166, 0.2); }
.floosy-card:hover { box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2); }
.ecommerce-card:hover { box-shadow: 0 20px 40px rgba(244, 63, 94, 0.2); }

.card-icon {
  width: 80px; height: 80px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 24px;
}
.gym-card .card-icon { background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(52, 211, 153, 0.1)); color: #34d399; }
.clinic-card .card-icon { background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(56, 189, 248, 0.1)); color: #38bdf8; }
.realestate-card .card-icon { background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(251, 146, 60, 0.1)); color: #fb923c; }
.menu-card .card-icon { background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(192, 132, 252, 0.1)); color: #a855f7; }
.pos-app-card .card-icon { background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(244, 114, 182, 0.1)); color: #ec4899; }
.mandoob-card .card-icon { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.1)); color: #3b82f6; }
.mrpos-card .card-icon { background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(250, 204, 21, 0.1)); color: #eab308; }

.menu-card .card-glow { background: linear-gradient(90deg, #a855f7, #c084fc); }
.pos-app-card .card-glow { background: linear-gradient(90deg, #ec4899, #f472b6); }
.mandoob-card .card-glow { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.mrpos-card .card-glow { background: linear-gradient(90deg, #eab308, #facc15); }

.menu-card .btn-card { background: linear-gradient(135deg, #a855f7, #9333ea); }
.pos-app-card .btn-card { background: linear-gradient(135deg, #ec4899, #db2777); }
.mandoob-card .btn-card { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.mrpos-card .btn-card { background: linear-gradient(135deg, #eab308, #ca8a04); }

.hotel-card .card-icon { background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(45, 212, 191, 0.1)); color: #14b8a6; }
.floosy-card .card-icon { background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(129, 140, 248, 0.1)); color: #6366f1; }
.ecommerce-card .card-icon { background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(251, 113, 133, 0.1)); color: #f43f5e; }

.hotel-card .card-glow { background: linear-gradient(90deg, #14b8a6, #2dd4bf); }
.floosy-card .card-glow { background: linear-gradient(90deg, #6366f1, #818cf8); }
.ecommerce-card .card-glow { background: linear-gradient(90deg, #f43f5e, #fb7185); }

.hotel-card .btn-card { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.floosy-card .btn-card { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.ecommerce-card .btn-card { background: linear-gradient(135deg, #f43f5e, #e11d48); }

.card-badge {
  position: absolute; top: 24px; left: 24px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.2); color: #34d399;
  border-radius: 999px; font-size: 0.8rem; font-weight: 700;
}
[dir="ltr"] .card-badge { left: auto; right: 24px; }
.card-badge.featured { background: rgba(14, 165, 233, 0.2); color: #38bdf8; }
.card-badge.new { background: rgba(249, 115, 22, 0.2); color: #fb923c; }

.card-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 16px; line-height: 1.4; }
.card-description { color: var(--text-secondary); margin-bottom: 24px; line-height: 1.8; }
.card-features { margin-bottom: 32px; }
.card-features li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.95rem;
}
.card-features li:last-child { border-bottom: none; }
.card-features li i { color: var(--success); font-size: 1rem; margin-top: 3px; flex-shrink: 0; }

.card-actions { display: flex; gap: 12px; margin-top: auto; }
.btn-card, .btn-card-outline {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; border-radius: 12px;
  font-weight: 700; font-size: 0.9rem;
  transition: all 0.3s; color: white;
}
.gym-card .btn-card { background: linear-gradient(135deg, #10b981, #059669); }
.clinic-card .btn-card { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.realestate-card .btn-card { background: linear-gradient(135deg, #f97316, #ea580c); }
.btn-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-card-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-primary);
}
.btn-card-outline:hover { border-color: var(--primary); background: rgba(14, 165, 233, 0.1); }

/* POS Section */
.pos-section { background: var(--bg-primary); }
.pos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pos-card {
  position: relative;
  background: var(--bg-card); border-radius: 24px;
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  opacity: 0; transform: translateY(30px);
}
.pos-card.animate { opacity: 1; transform: translateY(0); }
.pos-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15); border-color: var(--primary); }
.pos-card.featured { border-color: var(--primary); background: linear-gradient(180deg, rgba(14, 165, 233, 0.05) 0%, var(--bg-card) 100%); }
.pos-card.premium { border-color: var(--accent); background: linear-gradient(180deg, rgba(249, 115, 22, 0.05) 0%, var(--bg-card) 100%); }

.pos-ribbon {
  position: absolute; top: 20px; left: -35px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; padding: 8px 40px;
  font-size: 0.8rem; font-weight: 700;
  transform: rotate(45deg);
  box-shadow: var(--shadow);
}
[dir="ltr"] .pos-ribbon { left: auto; right: -35px; transform: rotate(-45deg); }
.pos-ribbon.premium { background: linear-gradient(135deg, var(--accent), #ea580c); }

.pos-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.pos-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(139, 92, 246, 0.1));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--primary);
}
.pos-badge {
  padding: 6px 16px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
}
.pos-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.pos-description { color: var(--text-secondary); margin-bottom: 24px; }
.pos-price {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 24px; padding: 20px;
  background: rgba(14, 165, 233, 0.05);
  border-radius: 16px;
  border: 1px dashed var(--border);
}
.price-amount {
  font-size: 2.5rem; font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.price-currency { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); }
.price-period { font-size: 0.9rem; color: var(--text-secondary); }
.pos-features { margin-bottom: 32px; }
.pos-features li { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--text-secondary); }
.pos-features li i { color: var(--success); font-size: 1rem; }

.pos-actions { display: flex; gap: 12px; }
.btn-pos, .btn-pos-outline {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; border-radius: 16px;
  font-weight: 700; transition: all 0.3s;
}
.btn-pos { background: linear-gradient(135deg, #25D366, #128C7E); color: white; }
.btn-pos:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3); }
.btn-pos-outline { background: transparent; border: 2px solid var(--border); color: var(--text-primary); }
.btn-pos-outline:hover { border-color: var(--primary); background: rgba(14, 165, 233, 0.1); }

/* WhatsApp Section */
.whatsapp-section {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  position: relative; overflow: hidden;
}
.whatsapp-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.whatsapp-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.whatsapp-content { color: white; }
.whatsapp-description { font-size: 1.2rem; opacity: 0.9; margin-bottom: 40px; line-height: 1.8; }
.whatsapp-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.wa-feature {
  display: flex; gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  opacity: 0; transform: translateY(20px);
}
.wa-feature.animate { opacity: 1; transform: translateY(0); }
.wa-feature:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-5px); }
.wa-feature-icon {
  width: 50px; height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.wa-feature-content h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.wa-feature-content p { font-size: 0.85rem; opacity: 0.8; }

.btn-whatsapp-agent {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 36px;
  background: white; color: #128C7E;
  border-radius: 999px;
  font-weight: 700; font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.btn-whatsapp-agent:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); }

.whatsapp-visual { display: flex; justify-content: center; position: relative; }
.chat-mockup {
  width: 320px;
  background: #1a1a2e; border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  animation: float 4s ease-in-out infinite;
}
.chat-header {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: #075E54;
}
.chat-avatar {
  width: 45px; height: 45px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: white;
}
.chat-info { flex: 1; }
.chat-name { display: block; font-weight: 700; color: white; }
.chat-status { font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }
.chat-messages {
  padding: 20px;
  background: linear-gradient(180deg, #e5ddd5 0%, #d5c8bb 100%);
  min-height: 200px;
  display: flex; flex-direction: column; gap: 12px;
}
.message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  animation: messageIn 0.5s ease;
}
@keyframes messageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.message.received { background: white; align-self: flex-start; color: #333; border-bottom-left-radius: 4px; }
.message.sent { background: #dcf8c6; align-self: flex-end; color: #333; border-bottom-right-radius: 4px; }
[dir="ltr"] .message.received { border-bottom-left-radius: 12px; border-bottom-right-radius: 4px; }
[dir="ltr"] .message.sent { border-bottom-right-radius: 12px; border-bottom-left-radius: 4px; }

/* Devices Section */
.devices-section { background: var(--bg-secondary); }
.devices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.device-card {
  position: relative;
  background: var(--bg-card); border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
  opacity: 0; transform: translateY(30px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 8px 32px rgba(0, 0, 0, 0.1);
}
.device-card.animate { opacity: 1; transform: translateY(0); }
.device-card:hover { transform: translateY(-12px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 20px 60px rgba(0, 0, 0, 0.15); border-color: var(--primary); }
.device-card.featured { border-color: var(--primary); }
.device-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 16px;
  background: var(--primary); color: white;
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 700;
  z-index: 1;
}
[dir="ltr"] .device-badge { left: auto; right: 16px; }
.device-badge.best { background: linear-gradient(135deg, #10b981, #059669); }
.device-img { height: 200px; overflow: hidden; }
.device-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.device-card:hover .device-img img { transform: scale(1.1); }
.device-content { padding: 24px; }
.device-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.device-description { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; }
.device-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.device-features span {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 999px;
  font-size: 0.8rem; color: var(--text-secondary);
}
.device-features span i { color: var(--success); }
.device-price { font-size: 1.8rem; font-weight: 900; color: var(--primary); margin-bottom: 16px; }
.device-price span { font-size: 1rem; color: var(--text-secondary); }
.btn-device {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 24px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 12px; color: white;
  font-weight: 700; transition: all 0.3s;
}
.btn-device:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3); }

/* Team Section */
.team-section { background: var(--bg-primary); }

/* Testimonials Section */
.testimonials-section { background: var(--bg-primary); overflow: hidden; }
.testimonials-slider { position: relative; max-width: 100%; overflow: hidden; }
.testimonials-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 24px;
}
.testimonial-card {
  min-width: calc(33.333% - 16px);
  background: var(--bg-card);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.15);
  border-color: var(--primary);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: #fbbf24;
  font-size: 1.1rem;
}
.testimonial-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  min-height: 120px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary);
  flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.author-info span { color: var(--text-muted); font-size: 0.85rem; }

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.testimonial-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.1);
}
.testimonials-dots {
  display: flex;
  gap: 10px;
}
.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
}
.testimonial-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}
.testimonial-dot:hover { background: var(--primary); opacity: 0.7; }

@media (max-width: 1200px) {
  .testimonial-card { min-width: calc(50% - 12px); }
}
@media (max-width: 768px) {
  .testimonial-card { min-width: 100%; }
  .testimonial-text { min-height: auto; }
  /* Fix cards visibility on mobile */
  .program-card, .service-card, .device-card, .team-card, .pos-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.team-card { text-align: center; opacity: 0; transform: translateY(20px); transition: all 0.5s; }
.team-card.animate { opacity: 1; transform: translateY(0); }
.team-image {
  position: relative;
  width: 200px; height: 200px;
  margin: 0 auto 24px;
  border-radius: 50%; overflow: hidden;
  border: 4px solid var(--primary);
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.3);
}
.team-image img { width: 100%; height: 100%; object-fit: cover; transition: all 0.3s; }
.team-card:hover .team-image img { transform: scale(1.1); }
.team-social {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex; justify-content: center; gap: 12px;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  opacity: 0; transform: translateY(20px);
  transition: all 0.3s;
}
.team-card:hover .team-social { opacity: 1; transform: translateY(0); }
.team-social a {
  width: 40px; height: 40px;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; transition: all 0.3s;
}
.team-social a:hover { background: var(--secondary); transform: scale(1.1); }
.team-info h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.team-info span { color: var(--primary); font-weight: 600; }

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  position: relative; overflow: hidden;
}
.contact-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; position: relative; z-index: 1; }
.contact-info { color: white; }
.contact-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 20px; }
.contact-title span { color: var(--accent); }
.contact-text-main { font-size: 1.1rem; opacity: 0.9; margin-bottom: 40px; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.contact-item { display: flex; align-items: center; gap: 20px; }
.contact-icon {
  width: 56px; height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-text-item span { display: block; font-size: 0.85rem; opacity: 0.7; margin-bottom: 4px; }
.contact-text-item a, .contact-text-item p { font-size: 1.1rem; font-weight: 600; color: white; margin: 0; }
.contact-social { display: flex; gap: 12px; }
.social-btn {
  width: 50px; height: 50px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: white;
  transition: all 0.3s;
}
.social-btn.whatsapp { background: #25D366; }
.social-btn.linkedin { background: #0A66C2; }
.social-btn.github { background: #333; }
.social-btn:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.contact-form-wrapper {
  background: white; border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 600; color: var(--bg-primary); font-size: 0.95rem; }
.form-group input, .form-group select, .form-group textarea {
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit; font-size: 1rem;
  color: var(--bg-primary);
  transition: all 0.3s;
  background: #f8fafc;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none; border-radius: 16px;
  color: white;
  font-size: 1.1rem; font-weight: 700;
  cursor: pointer; transition: all 0.3s;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4); }

/* Footer */
.footer { background: var(--bg-secondary); padding: 80px 0 0; }
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-brand p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 1.2rem;
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--primary); color: white; transform: translateY(-3px); }
.footer-links h4, .footer-contact h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; color: var(--text-primary); }
.footer-links ul { display: flex; flex-direction: column; gap: 14px; }
.footer-links a { color: var(--text-secondary); transition: all 0.3s; }
.footer-links a:hover { color: var(--primary); padding-right: 10px; }
[dir="ltr"] .footer-links a:hover { padding-right: 0; padding-left: 10px; }
.footer-contact-item { display: flex; align-items: center; gap: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.footer-contact-item i { color: var(--primary); width: 20px; }
.footer-bottom { text-align: center; padding: 24px 0; color: var(--text-muted); font-size: 0.9rem; }

/* Scroll & WhatsApp Float */
.scroll-top {
  position: fixed; bottom: 100px; left: 24px;
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none; border-radius: 50%;
  color: white; font-size: 1.2rem;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s;
  box-shadow: var(--shadow-lg);
  z-index: 99;
}
[dir="ltr"] .scroll-top { left: auto; right: 24px; }
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-5px); }

.whatsapp-float {
  position: fixed; bottom: 24px; left: 24px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 999px; color: white;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 99; transition: all 0.3s;
  animation: whatsappPulse 2s infinite;
}
[dir="ltr"] .whatsapp-float { left: auto; right: 24px; }
@keyframes whatsappPulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 40px rgba(37, 211, 102, 0.3); } }
.whatsapp-float i { font-size: 1.4rem; }
.whatsapp-float:hover { transform: translateY(-5px) scale(1.05); }

/* Responsive */
@media (max-width: 1200px) {
  .programs-grid, .pos-grid, .devices-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .about-grid, .whatsapp-wrapper, .contact-wrapper { grid-template-columns: 1fr; gap: 60px; }
  .about-image { order: -1; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  
  .nav-links {
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0; visibility: hidden;
    transition: all 0.3s;
  }
  .nav-links.active { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { display: block; padding: 16px; text-align: center; }
  
  .btn-whatsapp span { display: none; }
  .btn-whatsapp { padding: 12px; border-radius: 50%; }
  .mobile-toggle { display: flex; }
  
  .hero { padding: 100px 0 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 24px; }
  .stat-number { font-size: 2rem; }
  
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  
  .section { padding: 60px 0; }
  
  .programs-grid, .pos-grid, .services-grid, .devices-grid { grid-template-columns: 1fr; gap: 24px; }
  .whatsapp-features-grid { grid-template-columns: 1fr; }
  
  .team-grid { grid-template-columns: 1fr; gap: 40px; }
  
  .contact-form-wrapper { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  
  .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-links ul { align-items: center; }
  .footer-contact-item { justify-content: center; }
  
  .scroll-top, .whatsapp-float { left: 16px; }
  [dir="ltr"] .scroll-top, [dir="ltr"] .whatsapp-float { left: auto; right: 16px; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .scroll-top { bottom: 80px; }
  
  .pos-ribbon { display: none; }
  
  /* Force cards visibility on mobile */
  .program-card, .service-card, .device-card, .team-card, .pos-card, .wa-feature, .testimonial-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .feature-item { flex-direction: column; text-align: center; padding: 24px 16px; }
  .feature-item:hover { transform: translateY(-5px); }
  .contact-item { flex-direction: column; text-align: center; gap: 12px; }
  .contact-social { justify-content: center; }
  .programs-grid { gap: 16px; }
  .program-card { padding: 24px 20px; }
  .card-icon { width: 60px; height: 60px; font-size: 1.5rem; }
  /* Force visibility on small screens */
  .program-card, .service-card, .device-card, .team-card, .pos-card, .wa-feature, .testimonial-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Animation delays */
.program-card:nth-child(1) { transition-delay: 0.1s; }
.program-card:nth-child(2) { transition-delay: 0.15s; }
.program-card:nth-child(3) { transition-delay: 0.2s; }
.program-card:nth-child(4) { transition-delay: 0.25s; }
.program-card:nth-child(5) { transition-delay: 0.3s; }
.program-card:nth-child(6) { transition-delay: 0.35s; }
.program-card:nth-child(7) { transition-delay: 0.4s; }
.program-card:nth-child(8) { transition-delay: 0.45s; }
.program-card:nth-child(9) { transition-delay: 0.5s; }
.program-card:nth-child(10) { transition-delay: 0.55s; }

.device-card:nth-child(1) { transition-delay: 0.1s; }
.device-card:nth-child(2) { transition-delay: 0.15s; }
.device-card:nth-child(3) { transition-delay: 0.2s; }
.device-card:nth-child(4) { transition-delay: 0.4s; }
.device-card:nth-child(5) { transition-delay: 0.5s; }
.device-card:nth-child(6) { transition-delay: 0.6s; }
.device-card:nth-child(7) { transition-delay: 0.7s; }
.device-card:nth-child(8) { transition-delay: 0.8s; }
.device-card:nth-child(9) { transition-delay: 0.9s; }

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.15s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.25s; }
.service-card:nth-child(5) { transition-delay: 0.3s; }
.service-card:nth-child(6) { transition-delay: 0.35s; }

.wa-feature:nth-child(1) { transition-delay: 0.1s; }
.wa-feature:nth-child(2) { transition-delay: 0.15s; }
.wa-feature:nth-child(3) { transition-delay: 0.2s; }
.wa-feature:nth-child(4) { transition-delay: 0.25s; }

.team-card:nth-child(1) { transition-delay: 0.1s; }
.team-card:nth-child(2) { transition-delay: 0.2s; }
.team-card:nth-child(3) { transition-delay: 0.3s; }