/* Core variables - consolidated for efficiency */
:root {
  /* Primary Colors */
  --primary: #0074bc;
  --primary-dark: #0c98da;
  --primary-light: #48aee2;
  --primary-lighter: #b3d6f1;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0074bc, #48aee2);
  --gradient-blue: linear-gradient(135deg, #0c98da, #b3d6f1);
  --gradient-brand: linear-gradient(90deg, #0074bc, #0c98da, #48aee2);
  --gradient-brand-light: linear-gradient(90deg, rgba(0,116,188,0.1), rgba(12,152,218,0.1));
  --gradient-hover: linear-gradient(135deg, #48aee2, #0074bc);
  
  /* UI Colors */
  --accent: #0c98da;
  --accent-light: #48aee2;
  --background: #fff;
  --surface: #f8fafc;
  --surface-hover: #f1f5f9;
  --text: #1e293b;
  --text-secondary: #475569;
  --text-light: #64748b;
  --border: rgba(0,116,188,0.1);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  
  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0,116,188,0.1);
  --shadow-md: 0 4px 12px rgba(0,116,188,0.08);
  --shadow-lg: 0 10px 30px rgba(0,116,188,0.15);
  --glass-effect: linear-gradient(135deg, rgba(179,214,241,0.15), rgba(0,116,188,0.05));
  --glass-border: 1px solid rgba(0,116,188,0.18);
  --neon-glow: 0 0 10px rgba(72,174,226,0.5), 0 0 20px rgba(12,152,218,0.3);
}

/* Base styles */
body, html {
  background: #fff !important;
}

body {
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text);
  margin-top: 0;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color var(--transition-fast);
}

a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
p { margin-top: 0; margin-bottom: 1rem; }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-padding { padding: var(--spacing-2xl) 0; }

/* Navbar Styles - Updated with new colors */
.navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  padding: 0.75rem 0;
  z-index: 1000;
}

.navbar-scrolled { box-shadow: var(--shadow-md); }

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo { height: 38px; width: auto; }

.logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.office {
    color: gray !important;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text) !important;
  position: relative;
  padding: 0.8rem 1.2rem !important;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.nav-link:hover {
  background: rgba(0, 116, 188, 0.1);
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0.4rem;
  left: 1.2rem;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 2.4rem);
}

.nav-link.active {
  background: rgba(0, 116, 188, 0.15);
  color: var(--primary) !important;
}

/* Auth buttons */
.nav-auth {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-auth {
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-auth.login {
  color: #fff;
  background: var(--gradient-primary);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 116, 188, 0.2);
}

.btn-auth.login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 116, 188, 0.3);
  background: var(--gradient-hover);
}

.btn-auth.register {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 15px rgba(0, 116, 188, 0.1);
}

.btn-auth.register:hover {
  background: rgba(37, 211, 102, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.1);
  color: rgba(255, 255, 255, 0.7) !important; /* Made font lighter on hover */
}

/* Hero Section - Updated with new colors */
.hero-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.hero-text {
  color: rgba(255, 255, 255, 1);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.2);
}

.hero-buttons .btn {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.hero-icons {
  color: white;
}

.hero-icons i {
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.hero-icons i:hover {
  opacity: 1;
}

.hero-buttons .btn-modern {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hero-buttons .btn-modern:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.hero-buttons, .app-stores {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-modern.primary {
  background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
  color: #2563eb;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-modern.outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-modern:hover {
  transform: translateY(-2px);
}

.btn-modern:hover .btn-shine { left: 100%; }

.btn-modern.primary:hover {
  box-shadow: 0 8px 25px rgba(0,116,188,0.3);
}

.btn-modern.outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-light);
}

/* App store buttons */
.store-btn {
  height: 48px;
  transition: transform var(--transition-normal);
}

.store-btn img { height: 100%; width: auto; }
.store-btn:hover { transform: translateY(-3px); }

/* Stats counters - Updated */
.stats-row {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: var(--spacing-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.stat-circle:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: var(--spacing-xs);
}

/* Hero slider - remove shadow and enlarge images */
.hero-slider {
  position: relative;
  width: 100%;
  height: 600px; /* Increased height */
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Changed from contain to cover */
  object-position: center; /* Ensure image is centered */
}

/* Hero animations */
.bg-shape {
  position: absolute;
  opacity: 0.3;
  animation: floatShape 20s ease-in-out infinite;
}

.circle-1 {
  top: 5%;
  left: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
  animation-delay: 0s;
}

.circle-2 {
  bottom: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
  animation-delay: 5s;
}

.box-1, .box-2, .box-3 {
  border-radius: var(--radius-lg);
  animation-delay: 2s;
}

.box-1 {
  top: 40%;
  left: 30%;
  width: 100px;
  height: 100px;
  background: rgba(59,130,246,0.1);
  transform: rotate(45deg);
}

.box-2 {
  top: 20%;
  right: 20%;
  width: 70px;
  height: 70px;
  background: rgba(6,182,212,0.1);
  transform: rotate(20deg);
  animation-delay: 7s;
}

.box-3 {
  bottom: 30%;
  left: 50%;
  width: 120px;
  height: 120px;
  background: rgba(99,102,241,0.1);
  transform: rotate(-30deg);
  animation-delay: 3s;
}

/* Animations for sun, clouds, airplane */
.sun-circle, .sun-rays, .cloud, .airplane {
  position: absolute;
}

.sun-circle {
  top: 15%;
  right: 25%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253,224,71,0.7) 0%, rgba(253,224,71,0) 70%);
  animation: sunGlow 4s ease-in-out infinite;
}

.sun-rays {
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  background: rgba(253,224,71,0.4);
  border-radius: 50%;
  animation: sunRays 8s linear infinite;
}

.sun-rays::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
  background: rgba(253,224,71,0.6);
  border-radius: 50%;
}

.clouds-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cloud {
  background: white;
  border-radius: 50px;
  opacity: 0.7;
  animation: floatCloud linear infinite;
}

.cloud-1 {
  top: 20%;
  left: -100px;
  width: 100px;
  height: 40px;
  animation-duration: 60s;
}

.cloud-2 {
  top: 40%;
  left: -150px;
  width: 150px;
  height: 60px;
  animation-duration: 50s;
  animation-delay: 15s;
}

.cloud-3 {
  top: 15%;
  left: -80px;
  width: 80px;
  height: 30px;
  animation-duration: 40s;
  animation-delay: 5s;
}

/* Remove airplane completely and clean up flying bird styles */
.airplane {
  display: none !important;
}

/* Flying bird animation styles */
.flying-bird {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
  will-change: transform;
}

.bird-container {
  position: absolute;
  z-index: 5;
  transform-origin: center;
  will-change: transform;
  pointer-events: none;
  opacity: 0.8;
}

/* Different bird sizes */
.main-bird {
  width: 80px;
  height: auto;
}

.small-bird {
  width: 40px;
  height: auto;
}

.small-bird.bird-2 {
  width: 35px;
}

/* RTL support for bird animation */
[dir="rtl"] .flying-bird {
  transform: scaleX(-1); /* Flip the bird horizontally for RTL */
}

/* Minimalist Tab Navigation */
.tab-header-wrapper {
  position: relative;
  margin-bottom: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.tab-scroll-container {
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.tab-scroll-container::-webkit-scrollbar {
  display: none;
}

.tab-nav {
  display: flex;
  gap: 0;
  min-width: max-content;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  color: #666;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-button:hover {
  color: #333;
}

.tab-button.active {
  color: #0066ff;
  border-bottom-color: #0066ff;
  font-weight: 600;
}

.tab-badge {
  background: #f0f0f0;
  color: #666;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tab-button.active .tab-badge {
  background: rgba(0, 102, 255, 0.1);
  color: #0066ff;
}

/* Enhanced Marketplace Navigation */
.marketplace-nav {
    position: relative;
    margin-bottom: 2rem;
}

.marketplace-menu {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.marketplace-menu::-webkit-scrollbar {
    display: none;
}

.marketplace-link {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.marketplace-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #3b82f6;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.marketplace-link:hover,
.marketplace-link.active {
    color: #3b82f6;
}

.marketplace-link.active::after {
    transform: scaleX(1);
}

.store-count {
    font-size: 0.85em;
    color: #94a3b8;
    margin-left: 6px;
    font-weight: normal;
}

/* RTL Support */
[dir="rtl"] .store-count {
    margin-left: 0;
    margin-right: 6px;
}

[dir="rtl"] .marketplace-link::after {
    transform-origin: right;
}

[dir="rtl"] .marketplace-link.active::after {
    transform-origin: left;
}

/* Enhanced Marketplace Navigation */
.marketplace-nav {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
    margin-bottom: 30px;
}

.marketplace-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.marketplace-item-nav {
    position: relative;
}

.marketplace-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 15px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500 bold;
    transition: all 0.3s ease;
    position: relative;
}

.marketplace-link:hover {
    color: var(--primary);
}

.marketplace-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.marketplace-link.active {
    color: var(--primary);
}

.marketplace-link.active::after {
    width: 100%;
}

.store-count {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* RTL Support */
[dir="rtl"] .marketplace-link::after {
    left: auto;
    right: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .marketplace-menu {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
    
    .marketplace-link {
        padding: 12px 16px;
        white-space: nowrap;
    }
}

/* Modern Marketplace Grid */
.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); /* Smaller size */
    gap: 15px;
    padding: 15px;
}

.marketplace-item {
    text-decoration: none;
    color: inherit;
}

.item-inner {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 15px;
    height: 120px; /* Smaller height */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.item-inner img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(0.1);
}

.marketplace-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #002c77d0, #0567bcb8); /* Light blue gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.hover-content {
    text-align: center;
    color: white;
    padding: 15px;
}

.marketplace-name {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.marketplace-country {
    font-size: 0.8rem;
    opacity: 0.85;
    display: block;
}

.visit-store {
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.marketplace-item:hover .item-inner {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.marketplace-item:hover .marketplace-hover {
    opacity: 1;
}

.marketplace-item:hover img {
    transform: scale(0.9);
    filter: grayscale(0);
}

/* Enhanced Navigation */
.marketplace-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.marketplace-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.marketplace-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    color: #374151;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
}

.marketplace-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, rgb(79, 126, 254), #00f2fe);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.marketplace-link:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 8px;
}

.marketplace-link:hover::after {
    width: 100%;
}

.marketplace-link.active {
    color: #007bff;
    font-weight: 600;
}

.marketplace-link.active::after {
    width: 100%;
}


/* RTL Support */
[dir="rtl"] .marketplace-link {
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .store-count {
    margin-right: 6px;
    margin-left: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .marketplace-menu {
        overflow-x: auto;
        justify-content: start;
        padding-bottom: 5px;
    }
    
    .marketplace-link {
        padding: 12px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .marketplace-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .item-inner {
        height: 100px;
        padding: 15px;
    }
}

/* RTL Support */
[dir="rtl"] .nav-pills .nav-link .store-count {
    margin-right: 8px;
    margin-left: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-pills-wrapper {
        margin: 0 -10px;
        border-radius: 0;
    }
    
    .nav-pills {
        justify-content: flex-start;
        padding: 5px 10px;
    }
    
    .marketplace-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* RTL Support */
[dir="rtl"] .nav-pills .nav-link {
    font-family: 'Cairo', sans-serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .marketplace-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .nav-pills .nav-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Enhanced Services Section */
#services {
  position: relative;
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(to bottom, var(--surface) 0%, rgba(248, 250, 252, 0.8) 100%);
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232563eb' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.service-shape {
  position: absolute;
  opacity: 0.08;
  filter: blur(60px);
}

.service-shape-1 {
  top: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: var(--primary);
  animation: morph 15s linear infinite alternate;
}

.service-shape-2 {
  bottom: 10%;
  left: 5%;
  width: 350px;
  height: 350px;
  background: var(--accent);
  animation: morph 15s linear infinite alternate-reverse;
}

/* Card styles - Enhanced */
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-normal);
  background: var(--gradient-primary);
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(37,99,235,0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: var(--spacing-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
  top: -100%;
  left: -100%;
  transition: all 0.5s ease;
}

.service-card:hover .service-icon {
  background: white;
  color: var(--primary);
  box-shadow: 0 10px 20px rgba(37,99,235,0.2);
}

.service-card:hover .service-icon::after {
  top: 0;
  left: 0;
}

.service-title {
  margin-bottom: var(--spacing-md);
  transition: color var(--transition-normal);
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 700;
}

.service-description {
  color: var(--text-secondary);
  transition: color var(--transition-normal);
  position: relative;
  z-index: 1;
  margin-bottom: var(--spacing-lg);
  flex-grow: 1;
  line-height: 1.7;
}

.service-card:hover .service-title,
.service-card:hover .service-description {
  color: white;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  padding: 8px 0;
  position: relative;
}

.service-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width var(--transition-normal);
}

.service-link i {
  transition: transform var(--transition-normal);
}

.service-card:hover .service-link {
  color: white;
}

.service-card:hover .service-link:after {
  width: 100%;
}

.service-card:hover .service-link i {
  transform: translateX(6px);
}

/* Enhanced How It Works Section */
#howItWorks {
  position: relative;
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(135deg, var(--background) 0%, var(--surface) 100%);
  overflow: hidden;
}

#howItWorks:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  opacity: 0.3;
}

.process-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.05);
}

.process-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-normal);
  background: var(--gradient-brand);
}

.process-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg);
}

.process-card:hover::before {
  opacity: 1;
}

.process-icon {
  width: 90px;
  height: 90px;
  background: rgba(37,99,235,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--spacing-lg);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
}

.process-card:hover .process-icon {
  background: rgba(255,255,255,0.9);
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(37,99,235,0.3);
}

.process-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-normal);
  border: 3px solid white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.process-card:hover .process-number {
  background: var(--accent);
  transform: scale(1.1);
}

.process-title {
  margin-bottom: var(--spacing-md);
  transition: color var(--transition-normal);
  position: relative;
  z-index: 1;
  font-size: 1.4rem;
}

.process-description {
  color: var(--text-secondary);
  transition: color var(--transition-normal);
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.process-card:hover .process-title,
.process-card:hover .process-description {
  color: white;
}

/* Process connections - Enhanced */
@media (min-width: 992px) {
  .process-connection {
    position: absolute;
    top: 45%;
    right: -50%;
    width: 100%;
    height: 3px;
    background: rgba(37,99,235,0.2);
    z-index: 0;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 10px rgba(37,99,235,0.1);
  }
  
  .process-connection::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(37,99,235,0.1);
    z-index: 1;
  }

  .process-connection::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.5s ease;
  }
  
  .process-card:hover ~ .process-connection::before {
    width: 100%;
  }
  
  .col-lg-4:last-child .process-connection {
    display: none;
  }

  /* RTL support for process connections */
  [dir="rtl"] .process-connection {
    right: auto;
    left: -50%;
  }

  [dir="rtl"] .process-connection::after {
    right: auto;
    left: 0;
    transform: translate(-50%, -50%);
  }

  [dir="rtl"] .process-connection::before {
    left: auto;
    right: 0;
  }
}

/* CTA Section - Updated */
.cta-section {
  padding: var(--spacing-2xl) 0;
  position: relative;
  background: var(--gradient-brand);
  color: white;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM36 0v4h-4v2h4v4h2V4h4V0h-4zm-30 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zm0-30V0H4v4H0v2h4v4h2V4h4V0H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-md);
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: white;
}

.cta-description {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
  opacity: 0.9;
}

.cta-stats {
  margin-bottom: var(--spacing-lg);
}

.cta-stat {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all var(--transition-normal);
}

.cta-stat:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.2);
}

.cta-stat h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: white;
}

.cta-stat p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

.cta-buttons .btn {
  padding: 12px 30px;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.cta-buttons .btn:hover {
  transform: translateY(-3px);
}

.cta-buttons .btn-primary {
  background: white;
  color: var(--primary);
  border: none;
}

.cta-buttons .btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

/* Footer - Updated */
.footer {
  position: relative;
  background: #1a1a2e;
  color: white;
}

.footer-description{
  font-size: 20px;
  color: rgb(230, 230, 230);
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM36 0v4h-4v2h4v4h2V4h4V0h-4zm-30 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zm0-30V0H4v4H0v2h4v4h2V4h4V0H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.footer-top {
  padding: var(--spacing-2xl) 0;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--spacing-lg);
}

.footer-logo {
  height: 45px;
  width: auto;
}

.brand-text {
  font-size: 3.5rem; /* Increased from 2rem */
  font-weight: 800;
  color: white;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-description {
  opacity: 0.8;
  margin-bottom: var(--spacing-xl);
  max-width: 400px;
  line-height: 1.8;
  font-size: 1.24rem; /* Increased from 0.95rem */
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  font-size: 1.1rem;
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

.social-facebook:hover { background: #1877f2; }
.social-twitter:hover { background: #1da1f2; }
.social-instagram:hover { background: #e4405f; }
.social-youtube:hover { background: #ff0000; }

.widget-title {
  font-size: 1.7rem; /* Increased from 1.3rem */
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-sm);
  color: white;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.widget-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-links li {
  margin-bottom: 15px;
}

.widget-links a {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-weight: 500;
  font-size: 1.24rem; /* Increased from 0.95rem */
}

.widget-links a i {
  margin-right: 10px;
  font-size: 0.9rem;
  transition: transform var(--transition-normal);
  color: var(--primary-light);
}

.widget-links a:hover {
  color: white;
  transform: translateX(5px);
}

.widget-links a:hover i {
  transform: translateX(3px);
  color: var(--accent-light);
}

/* Contact info */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: var(--spacing-lg);
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-light);
  flex-shrink: 0;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255,255,255,0.1);
}

.contact-item:hover .contact-icon {
  background: var(--primary);
  color: white;
  transform: translateY(-5px) rotate(5deg);
  box-shadow: 0 5px 15px rgba(37,99,235,0.3);
  border-color: transparent;
}

.contact-content h5 {
  margin: 0 0 8px;
  font-size: 1.6rem; /* Increased from 0.95rem */
  color: var(--primary-light);
  font-weight: 600;
}

.contact-content p {
  margin: 0 0 5px;
  color: rgba(255,255,255,0.8);
  font-size: 1.5rem; /* Increased from 0.9rem */
}

.contact-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--primary-light);
}

/* Footer bottom */
.footer-bottom {
  padding: var(--spacing-lg) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.copyright {
  font-size: 1.24rem; /* Increased from 0.95rem */
  opacity: 0.7;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: flex-end;
}

.footer-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 1.24rem; /* Increased from 0.95rem */
  transition: all var(--transition-fast);
  position: relative;
  padding-bottom: 3px;
}

.footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.footer-link:hover {
  color: var(--primary-light);
}

.footer-link:hover::after {
  width: 100%;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 990;
}

.back-to-top button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  font-size: 1.2rem;
}

.back-to-top button.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.back-to-top button:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(37,99,235,0.4);
}

/* RTL Support for Footer */
[dir="rtl"] .widget-title::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .widget-links li:hover {
  transform: translateX(-5px);
}

[dir="rtl"] .widget-links a i {
  margin-right: 0;
  margin-left: 10px;
  transform: scaleX(-1);
}

[dir="rtl"] .widget-links a:hover i {
  transform: translateX(-3px) scaleX(-1);
}

[dir="rtl"] .contact-item {
  flex-direction: row-reverse;
}

[dir="rtl"] .contact-item:hover .contact-icon {
  transform: translateY(-5px) rotate(-5deg);
}

[dir="rtl"] .footer-links {
  justify-content: flex-start;
}

[dir="rtl"] .footer-link::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .back-to-top {
  right: auto;
  left: 25px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .footer-widget {
    margin-bottom: var(--spacing-xl);
  }
}

@media (max-width: 768px) {
  .footer-links {
    justify-content: center;
    margin-top: var(--spacing-md);
  }
  
  .copyright {
    text-align: center;
  }
}

/* Enhanced Footer Layout - Updated for 2-column design */
.footer-widget {
  height: 100%;
}

.brand-widget {
  padding-right: 2rem;
}

.footer-address-card {
  margin-top: 2rem;
  max-width: 550px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Improve spacing in contact section */
.contact-item {
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition-normal);
}

.contact-item:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-5px);
}

/* Ensure RTL compatibility with new layout */
@media (min-width: 992px) {
  [dir="rtl"] .brand-widget {
    padding-right: 0;
    padding-left: 2rem;
  }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .footer-widget {
    margin-bottom: 2rem;
  }
  
  .brand-widget {
    padding-right: 0;
  }
  
  [dir="rtl"] .brand-widget {
    padding-left: 0;
  }
  
  .footer-address-card {
    margin-top: 1.5rem;
    max-width: 100%;
  }
}

.vip-widget {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

[dir="rtl"] .vip-widget {
    right: auto;
    left: 30px;
}

.vip-widget-inner {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.vip-widget-inner::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    z-index: -1;
    animation: vip-pulse 2s infinite;
    opacity: 0.5;
}

@keyframes vip-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.vip-widget-inner i {
    font-size: 24px;
    color: white;
    margin-bottom: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vip-widget-inner span {
    font-size: 12px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.vip-widget:hover .vip-widget-inner {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}
