:root {
  --primary: #a041c9;
  --primary-dark: #9231be;
  --primary-light: #e9b3ff;
  --primary-soft: #f6e8ff;
  --dark-bg: #0f212e;
  --yellow-bg: #fec400;
  --header-height-desktop: 60px; /* Adjust based on your header */
  --header-height-mobile: 68px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    sans-serif;
  background: #f5f7fb;
  padding-bottom: 0px;
  padding-top: var(--header-height-desktop);
  overscroll-behavior: none;
}

/* ===== MODERN FIXED HEADER ===== */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: 1030;
  transition: all 0.3s ease;
  padding: 0;
}

.fixed-header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.top-contact-bar {
  background: var(--dark-bg);
  color: #fff;
  font-size: 0.85rem;
  padding: 4px 0;
  display: block;
}

.top-contact-bar a {
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}

.top-contact-bar a:hover {
  color: var(--primary);
}

.main-nav-container {
  padding: 2px 0;
  background: #ffffff;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  padding: 0;
  margin: 0;
  text-decoration: none;
}

.navbar-brand i {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--primary);
  font-size: 2rem;
  margin-right: 8px;
}

.nav-menu-links {
  display: flex;
  align-items: center;
}

.nav-link-modern {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e2a3e !important;
  padding: 8px 10px !important;
  border-radius: 40px;
  transition: all 0.25s ease;
  position: relative;
  text-decoration: none;
}

.nav-link-modern:hover {
  color: var(--primary) !important;
  background: rgba(201, 93, 247, 0.08);
}

.nav-link-modern.active {
  background: var(--primary);
  color: #ffffff !important;
}

.btn-cta-header {
  background: linear-gradient(135deg, #fec400 0%, #c6a74d 100%);
  border: none;
  border-radius: 40px;
  padding: 5px 14px;
  font-weight: 700;
  font-size: 0.8rem;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(201, 93, 247, 0.3);
  margin-left: 12px;
  text-decoration: none;
  display: inline-block;
}

.btn-cta-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 93, 247, 0.4);
  color: white;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.quick-contact-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: 20px;
}

.quick-contact-icons a {
  color: #212529;
  font-size: 1.2rem;
  transition: 0.2s;
  text-decoration: none;
}

.quick-contact-icons a:hover {
  color: var(--primary);
  transform: scale(1.05);
}

/* Header right actions */
.header-actions {
  display: flex;
  align-items: center;
}

/* Mobile styles (original, will be overridden by later media queries) */
/*
   NOTE: The original @media (max-width: 991px) block is moved to end.
   The inline styles below are kept as they are (non-media).
*/

/* ===== DESKTOP FLOATING ICONS (LEFT SIDE) ===== */
.desktop-floating-icons {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 8px;
  border-radius: 48px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
}

.social-icon-left {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #1e2a3e;
  font-size: 22px;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border: none;
}

.social-icon-left:hover {
  transform: scale(1.1);
  background: var(--primary);
  color: white;
}

/* ===== MOBILE BOTTOM NAVIGATION BAR (APP STYLE) ===== */
/* Modern Mobile Bottom Bar - App Style */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(201, 93, 247, 0.12);
  padding: 8px 16px 20px;
  z-index: 1040;
  transition: all 0.3s ease;
  border-radius: 24px 24px 0 0;
}

/* Add a subtle gradient overlay */
.mobile-bottom-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c95df7, #ffd700, #c95df7, transparent);
  border-radius: 2px;
}

/* Safe area inset for modern phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-bottom-bar {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
}

/* Bottom Navigation Items Container */
.bottom-nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  gap: 8px;
}

/* Individual Nav Item */
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #8e9aaf;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 8px 12px;
  border-radius: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

/* Icon styling */
.bottom-nav-item i {
  font-size: 22px;
  transition: all 0.25s ease;
}

/* Label styling */
.bottom-nav-item span {
  font-size: 10px;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* Hover effect */
.bottom-nav-item:hover {
  color: #c95df7;
  background: rgba(201, 93, 247, 0.08);
}

/* Active/Tap effect */
.bottom-nav-item:active {
  transform: scale(0.92);
}

/* Active state indicator */
.bottom-nav-item.active {
  color: #c95df7;
}

.bottom-nav-item.active i {
  transform: translateY(-2px);
}

.bottom-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, #c95df7, #ffd700);
  border-radius: 3px;
}

/* Special CTA Button in Bottom Bar */
.bottom-nav-item.cta-item {
  background: linear-gradient(135deg, #c95df7 0%, #b142e3 100%);
  color: white;
  padding: 8px 18px;
  border-radius: 40px;
  box-shadow: 0 4px 12px rgba(201, 93, 247, 0.35);
}

.bottom-nav-item.cta-item i,
.bottom-nav-item.cta-item span {
  color: white;
}

.bottom-nav-item.cta-item:active {
  transform: scale(0.95);
  background: linear-gradient(135deg, #b142e3 0%, #9a2bc4 100%);
}

.bottom-nav-item.cta-item.active::after {
  display: none;
}

/* Add a floating indicator badge for notifications */
.bottom-nav-item .badge-notification {
  position: absolute;
  top: 2px;
  right: 8px;
  background: #ff5722;
  color: white;
  font-size: 8px;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

/* Animated pulse effect for CTA */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 93, 247, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(201, 93, 247, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(201, 93, 247, 0);
  }
}

.bottom-nav-item.cta-item {
  animation: pulse-ring 2s infinite;
}

/* Floating action button style (alternative) */
.mobile-bottom-bar.fab-style {
  border-radius: 30px 30px 0 0;
  margin: 0 10px;
  width: calc(100% - 20px);
  left: 10;
  right: 10;
}

/* ===== CHAT ICON & WIDGET ===== */
.chat-icon-fixed {
  position: fixed;
  bottom: 14px;
  right: 20px;
  background: var(--primary);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(201, 93, 247, 0.4);
  cursor: pointer;
  z-index: 1050;
  transition: all 0.2s;
  color: white;
  font-size: 28px;
  border: none;
}

.chat-icon-fixed:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
}

.chat-widget {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 360px;
  max-width: calc(100vw - 40px);
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
  z-index: 1060;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(201, 93, 247, 0.2);
}

.chat-header {
  background: var(--primary);
  color: white;
  padding: 14px 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.chat-messages {
  height: 320px;
  overflow-y: auto;
  padding: 12px;
  background: #f9fafc;
}

.message {
  margin-bottom: 12px;
  display: flex;
}

.user-message {
  justify-content: flex-end;
}

.bot-message {
  justify-content: flex-start;
}

.message-bubble {
  max-width: 85%;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.user-message .message-bubble {
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
}

.bot-message .message-bubble {
  background: #e9ecef;
  color: #1e2a3e;
  border-bottom-left-radius: 4px;
}

.suggestions-area {
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #e2e8f0;
}

.suggestion-btn {
  background: #f1f5f9;
  border: none;
  border-radius: 40px;
  padding: 6px 14px;
  font-size: 0.75rem;
  transition: 0.2s;
  cursor: pointer;
}

.suggestion-btn:hover {
  background: var(--primary);
  color: white;
}

.chat-input-area {
  display: flex;
  padding: 12px;
  border-top: 1px solid #e2e8f0;
}

.chat-input-area input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 30px;
  padding: 8px 14px;
  outline: none;
}

.chat-input-area button {
  background: var(--primary);
  border: none;
  border-radius: 30px;
  margin-left: 8px;
  padding: 0 18px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark-bg);
  color: #cddfe7;
  margin-top: 70px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.footer-link {
  color: #cddfe7;
  text-decoration: none;
  transition: 0.2s;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.bottom-bar {
  background: #07161f;
  padding: 14px 0;
  font-size: 0.8rem;
  text-align: center;
}

.bottom-bar a {
  color: #b9d0dd;
  text-decoration: none;
  margin: 0 12px;
}

.bottom-bar a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ===== HERO & BUTTONS ===== */
.hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, var(--primary-soft) 100%);
  /*   border-radius: 2rem; */
  padding: 3rem 2rem;
}

.btn-warning-custom {
  background: var(--primary);
  border: none;
  padding: 12px 32px;
  font-weight: 700;
  border-radius: 50px;
  color: white;
  transition: 0.2s;
  cursor: pointer;
}

.btn-warning-custom:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
}

.text-primary {
  color: var(--yellow-bg) !important;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
/* (Original media queries moved to end) */

/* Demo content styling (for testing) */
.demo-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.card {
  background: white;
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.badge-demo {
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
}

button {
  background: none;
  border: none;
}

i.fa,
.fas,
.fab {
  transition: 0.2s;
}

/* Additional CSS specific to homepage */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f3f7 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(201, 93, 247, 0.08) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.hero-image-wrapper {
  position: relative;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 8px 16px;
  border-radius: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-card-1 {
  top: 20%;
  left: -20px;
  animation: float 3s ease-in-out infinite;
}

.floating-card-2 {
  bottom: 20%;
  right: -20px;
  animation: float 3s ease-in-out infinite 1.5s;
}

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

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 93, 247, 0.3);
  color: white;
}

.btn-outline-custom {
  border: 2px solid var(--primary);
  background: transparent;
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.feature-card {
  background: white;
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(201, 93, 247, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.game-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(201, 93, 247, 0.1);
}

.game-image {
  height: 130px;
  overflow: hidden;
}

.game-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-content {
  padding: 16px;
}

.game-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.coming-soon {
  background: #fafafa;
}

/* Features Section Styles */
.features-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.section-badge {
  display: inline-block;
  background: var(--yellow-bg);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e2a3e;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  max-width: 600px;
  color: #6c757d;
  font-size: 1.1rem;
}

/* Modern Feature Card */
.feature-card-modern {
  background: white;
  border-radius: 24px;
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid rgba(201, 93, 247, 0.08);
}

.feature-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(201, 93, 247, 0.12);
  border-color: rgba(201, 93, 247, 0.2);
}

.feature-card-modern:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.feature-icon-bg {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-soft) 0%, rgba(201, 93, 247, 0.1) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-bg {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  transform: scale(1.05);
}

.feature-icon {
  font-size: 32px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon {
  color: var(--yellow-bg);
}

.feature-number {
  font-size: 48px;
  font-weight: 800;
  color: rgba(201, 93, 247, 0.08);
  line-height: 1;
  transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-number {
  color: rgba(201, 93, 247, 0.15);
  transform: translateX(5px);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e2a3e;
  margin-bottom: 12px;
}

.feature-description {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-stats {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  /*  color: var(--primary); */
}

.stat-label {
  font-size: 0.75rem;
  color: #6c757d;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.feature-link i {
  transition: transform 0.3s ease;
}

.feature-link:hover {
  color: var(--primary-dark);
  gap: 12px;
}

.feature-link:hover i {
  transform: translateX(5px);
}

/* How It Works Section Styles */
.how-it-works-section {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.how-it-works-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 20%, rgba(201, 93, 247, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.section-badge-modern {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-soft) 0%, rgba(201, 93, 247, 0.1) 100%);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.section-title-modern {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e2a3e;
}

.gradient-text-modern {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.gradient-text-modern::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 3px;
}

.section-subtitle-modern {
  max-width: 550px;
  color: #6c757d;
  font-size: 1.1rem;
}

/* Steps Container */
.steps-container {
  position: relative;
  padding: 20px 0;
}

/* Modern Step Card */
.step-card-modern {
  background: white;
  border-radius: 32px;
  padding: 40px 28px;
  margin: 20px 15px;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(201, 93, 247, 0.1);
  overflow: hidden;
  z-index: 1;
}

.step-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(201, 93, 247, 0.15);
  border-color: rgba(201, 93, 247, 0.3);
}

.step-hover-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(201, 93, 247, 0.02) 0%, rgba(201, 93, 247, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.step-card-modern:hover .step-hover-bg {
  opacity: 1;
}

/* Step Number Wrapper */
.step-number-wrapper {
  max-width: 100%;
  flex-wrap: wrap;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(201, 93, 247, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.step-card-modern:hover .step-number {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(201, 93, 247, 0.4);
}

/* Connector Line (Desktop) */
.step-connector {
  position: absolute;
  left: 100%;
  top: 50%;
  width: calc(100% - 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, rgba(201, 93, 247, 0.2) 100%);
  transform: translateY(-50%);
}

.col-lg-4:last-child .step-connector {
  display: none;
}

/* Step Icon */
.step-icon-modern {
  width: 80px;
  height: 80px;
  background: var(--primary-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.step-card-modern:hover .step-icon-modern {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  transform: scale(1.05);
}

.step-icon-modern i {
  font-size: 36px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.step-card-modern:hover .step-icon-modern i {
  color: white;
}

/* Step Title & Description */
.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e2a3e;
  margin-bottom: 15px;
}

.step-description {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Step Features */
.step-features {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.step-features span {
  font-size: 0.85rem;
  color: #6c757d;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.step-features i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* Mobile Progress Indicator */
.mobile-progress-indicator {
  margin-top: 30px;
  padding: 0 20px;
}

.progress-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  position: relative;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 15%;
  right: 15%;
  height: 2px;
  background: rgba(201, 93, 247, 0.2);
  transform: translateY(-50%);
  z-index: 0;
}

.progress-step {
  width: 12px;
  height: 12px;
  background: rgba(201, 93, 247, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.progress-step.active {
  width: 16px;
  height: 16px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(201, 93, 247, 0.2);
}

/* CTA Button */
.btn-start-winning {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(201, 93, 247, 0.3);
  border: none;
}

.btn-start-winning:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 93, 247, 0.4);
  color: white;
}

.btn-start-winning i {
  transition: transform 0.3s ease;
}

.btn-start-winning:hover i {
  transform: translateX(5px);
}

/* Markets Section */
.market-card {
  min-width: 250px;
  background: white;
  border-radius: 16px;
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  border-left: 4px solid #e9ecef;
  box-sizing: border-box;
  max-width: 100%;
  box-sizing: border-box;
}

.market-card.active-market {
  border-left-color: #28a745;
  background: linear-gradient(135deg, #fff, #f0fff4);
}

.market-card.closed-market {
  border-left-color: #dc3545;
  opacity: 0.8;
}

.market-card.upcoming-market {
  border-left-color: #ffc107;
}

.market-icon {
  font-size: 32px;
}

.market-info {
  flex: 1;
}

.market-name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.market-session {
  font-size: 0.7rem;
  font-weight: 600;
}

.market-time {
  font-size: 0.7rem;
  color: #6c757d;
}

.market-status {
  margin-left: auto;
}

.status-badge {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-badge.open {
  background: #d4edda;
  color: #155724;
}

.status-badge.closed {
  background: #f8d7da;
  color: #721c24;
}

.status-badge.upcoming {
  background: #fff3cd;
  color: #856404;
}

.market-timer {
  position: absolute;
  bottom: -12px;
  right: 15px;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f8f9fa;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.market-timer.starts-in {
  background: #ffc107;
  color: #212529;
}

.market-timer.next-draw {
  background: #17a2b8;
  color: white;
}

.market-timer.closing-soon {
  background: #e70f25;
  color: white;
  animation: pulse 1s infinite;
  /* Prevent overflow */
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.market-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 93, 247, 0.15);
}

.reviews-footer-link {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.reviews-footer-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
  border-color: var(--primary);
}

.reviews-footer-link .d-flex {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.reviews-footer-link .d-flex i {
  color: var(--primary);
}

.reviews-rating .stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.reviews-rating .stars i {
  font-size: 12px;
}

.rating-number {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.review-count {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-top: 4px;
}

/* Banner Styles */
.promo-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 30px;
  color: white;
}

.promo-banner .btn-light {
  background: white;
  color: #667eea;
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.promo-banner .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.promo-banner-2 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-radius: 20px;
  padding: 30px;
  color: white;
}

.promo-banner-2 .btn-dark {
  border-radius: 50px;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

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

.promo-banner-3 {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border-radius: 20px;
  padding: 30px;
  color: white;
}

/* Slider Styles */
.interface-section {
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  overflow: hidden; /* contain slider */
  width: 100%;
}

.slider-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 10px;

  /* FIX */
  max-width: 100%;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slide-item {
  flex: 0 0 auto;
  max-width: 100%;
}

.slide-item:hover {
  transform: scale(1.02);
}

.phone-mockup {
  width: 100%;
  max-width: 280px;
  background: #1e1e2e;
  border-radius: 40px;
  padding: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.phone-mockup img {
  width: 100%;
  border-radius: 32px;
  height: 500px;
  object-fit: cover;
}

.desktop-mockup {
  width: 100%;
  max-width: 700px;
  background: #1e1e2e;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.desktop-mockup img {
  width: 100%;
  border-radius: 12px;
  height: 380px;
  /* object-fit: cover; */
}

.slide-caption {
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
  color: #aeb7c6;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: var(--primary);
}

.slider-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.05);
}

.prev-btn {
  left: -15px;
}

.next-btn {
  right: -15px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 25px;
  border-radius: 5px;
  background: var(--primary);
}

.game-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(201, 93, 247, 0.1);
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 35px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(201, 93, 247, 0.3);
  border-color: rgba(201, 93, 247, 0.4);
}

.game-card:hover .game-image svg {
  filter: drop-shadow(0 4px 8px rgba(201, 93, 247, 0.3));
}

.game-image svg {
  transition: all 0.4s ease;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.game-image {
  padding: 15px;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary) 100%);
  border-bottom: 1px solid rgba(201, 93, 247, 0.1);
}

.game-content {
  padding: 1rem;
}

.game-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #181717;
  transition: color 0.3s ease;
}

.game-card:hover .game-title {
  color: #c95df7;
}

.game-content .text-secondary {
  color: #a0a0a0 !important;
  transition: color 0.3s ease;
}

.game-card:hover .game-content .text-secondary {
  color: #c0c0c0 !important;
}

.badge {
  transition: all 0.3s ease;
}

.game-card:hover .badge {
  transform: scale(1.05);
}

/* Add to your frontend CSS file */
.dropdown-item.active {
  background-color: #a041c9;
  color: white;
}

.dropdown-item {
  font-size: 14px;
  margin-right: 12px;
}

/* For flag icons (Option 1) - you may need to add flag-icon-css package */
.flag-icon {
  width: 20px;
  height: 15px;
  display: inline-block;
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
}

.blog-single-page {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  min-height: 100vh;
}

.blog-single-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.blog-single-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.blog-single-content {
  padding: 40px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #6c757d;
}

.blog-meta i {
  margin-right: 5px;
  color: var(--primary);
}

.blog-single-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: #1e2a3e;
}

.blog-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #4a5568;
}

.blog-body h2,
.blog-body h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
}

.blog-body p {
  margin-bottom: 20px;
}

.blog-body img {
  max-width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}

.blog-body ul,
.blog-body ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.related-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.related-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(201, 93, 247, 0.1);
}

.related-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.related-content {
  padding: 15px;
}

.related-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.related-content h4 a {
  color: #1e2a3e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-content h4 a:hover {
  color: var(--primary);
}

.related-date {
  font-size: 0.7rem;
  color: #6c757d;
}

.blog-page {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.blog-hero-section {
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(201, 93, 247, 0.1);
}

.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(201, 93, 247, 0.08);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(201, 93, 247, 0.1);
}

.blog-featured-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.blog-content {
  padding: 25px;
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.blog-title a {
  color: #1e2a3e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-title a:hover {
  color: var(--primary);
}

.blog-excerpt {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.btn-read-more:hover {
  gap: 12px;
  color: var(--primary-dark);
}

.sidebar-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  border: 1px solid rgba(201, 93, 247, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.recent-posts-list li:last-child {
  border-bottom: none;
}

.recent-posts-list a {
  text-decoration: none;
}

.recent-post-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e2a3e;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.recent-post-title:hover {
  color: var(--primary);
}

.recent-post-date {
  font-size: 0.7rem;
  color: #6c757d;
}

.careers-page {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.careers-hero-section {
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(201, 93, 247, 0.1);
}

.benefit-item {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201, 93, 247, 0.1);
}

.benefit-item i {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.benefit-item span {
  font-size: 0.85rem;
  font-weight: 500;
}

.job-item {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(201, 93, 247, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.job-item:hover {
  transform: translateX(5px);
  border-color: rgba(201, 93, 247, 0.2);
  box-shadow: 0 8px 20px rgba(201, 93, 247, 0.08);
}

.job-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.job-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-icon i {
  font-size: 24px;
  color: var(--primary);
}

.job-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.job-meta span {
  font-size: 0.7rem;
  color: #6c757d;
}

.job-meta i {
  margin-right: 4px;
  color: var(--primary);
}

.btn-apply {
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: 40px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-apply:hover {
  background: var(--primary);
  color: white;
}

.alert-box {
  background: var(--primary-soft);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(201, 93, 247, 0.2);
}

.alert-box i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 15px;
}

.alert-box p {
  margin-bottom: 10px;
  color: #6c757d;
}

.email-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.email-link:hover {
  text-decoration: underline;
}

.alert-box small {
  font-size: 0.75rem;
  color: #6c757d;
}

.perk-item {
  background: white;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(201, 93, 247, 0.08);
}

.perk-item:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 93, 247, 0.2);
}

.perk-item i {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.perk-item span {
  font-size: 0.8rem;
  font-weight: 500;
}

.faqs-page {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  min-height: 100vh;
}

.faqs-hero-section {
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(201, 93, 247, 0.1);
}

/* FAQ Categories */
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.faq-cat-btn {
  background: white;
  border: 1px solid rgba(201, 93, 247, 0.2);
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #6c757d;
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-cat-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.faq-cat-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* FAQ Search */
.faq-search-box {
  position: relative;
}

.faq-search-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 1;
}

.faq-search-box input {
  padding-left: 45px;
  height: 50px;
  border-radius: 50px;
  border: 1px solid rgba(201, 93, 247, 0.2);
  background: white;
}

.faq-search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 93, 247, 0.1);
  outline: none;
}

/* FAQ Accordion */
.faq-item {
  background: white;
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(201, 93, 247, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(201, 93, 247, 0.3);
  box-shadow: 0 4px 15px rgba(201, 93, 247, 0.08);
}

.faq-toggle {
  width: 100%;
  background: white;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: #1e2a3e;
  transition: all 0.3s ease;
}

.faq-toggle:hover {
  color: var(--primary);
}

.faq-toggle .question-icon i {
  transition: transform 0.3s ease;
}

.faq-toggle[aria-expanded='true'] .question-icon i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  color: #6c757d;
  line-height: 1.6;
  border-top: 1px solid rgba(201, 93, 247, 0.1);
  background: #fafbfc;
}

.answer-meta {
  margin-top: 15px;
}

/* Contact Support Box */
.contact-support-box {
  background: white;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(201, 93, 247, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* No results message */
.no-results {
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(201, 93, 247, 0.1);
}

.no-results i {
  font-size: 48px;
  color: #dee2e6;
  margin-bottom: 15px;
}

.reviews-page {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.reviews-hero-section {
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(201, 93, 247, 0.1);
}

.rating-summary-card {
  background: white;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(201, 93, 247, 0.1);
}

.average-rating {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin: 10px 0;
}

.total-reviews {
  color: #6c757d;
  font-size: 0.9rem;
}

.rating-bars-card {
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(201, 93, 247, 0.1);
}

.rating-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.rating-label {
  width: 60px;
  font-size: 0.9rem;
}

.progress-bar-container {
  flex: 1;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 4px;
}

.rating-count {
  width: 40px;
  font-size: 0.85rem;
  color: #6c757d;
}

.review-card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(201, 93, 247, 0.1);
  height: 100%;
  position: relative;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(201, 93, 247, 0.1);
}

.review-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, #fff, var(--primary-soft));
}

.featured-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar i {
  font-size: 48px;
  color: var(--primary);
}

.reviewer-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.reviewer-location {
  font-size: 0.7rem;
  color: #6c757d;
}

.review-rating {
  color: #ffc107;
  font-size: 0.85rem;
}

.review-rating i.active {
  color: #ffc107;
}

.review-rating i {
  color: #e9ecef;
}

.review-comment {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 15px;
}

.review-footer {
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
}

.review-date {
  font-size: 0.7rem;
  color: #6c757d;
}

/* Star Rating Input */
.rating-input {
  text-align: center;
}

.star-rating {
  display: inline-flex;
  gap: 8px;
  cursor: pointer;
}

.star-rating i {
  font-size: 32px;
  color: #e9ecef;
  transition: color 0.2s ease;
}

.star-rating i.active {
  color: #ffc107;
}

.star-rating i:hover,
.star-rating i:hover ~ i {
  color: #ffc107;
}

.services-page {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.services-hero-section {
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(201, 93, 247, 0.1);
}

.service-card {
  background: white;
  border-radius: 24px;
  padding: 32px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(201, 93, 247, 0.08);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(201, 93, 247, 0.12);
  border-color: rgba(201, 93, 247, 0.2);
}

.service-icon {
  width: 65px;
  height: 65px;
  background: var(--primary-soft);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon i {
  font-size: 32px;
  color: var(--primary);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-description {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  padding: 6px 0;
  font-size: 0.85rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features i {
  color: var(--primary);
  font-size: 14px;
}

.tech-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 24px;
  color: white;
}

.tech-icon {
  font-size: 150px;
  color: rgba(201, 93, 247, 0.3);
}

.badge-tech {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.85rem;
  margin: 5px;
  transition: all 0.3s ease;
}

.badge-tech:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.pricing-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(201, 93, 247, 0.1);
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(201, 93, 247, 0.12);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  position: relative;
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}

.pricing-header {
  padding: 30px 20px 20px;
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 100%);
}

.pricing-price {
  margin: 20px 0;
}

.pricing-price .currency {
  font-size: 1.2rem;
  vertical-align: top;
}

.pricing-price .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-price .period {
  font-size: 0.85rem;
  color: #6c757d;
}

.pricing-features {
  padding: 20px;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.85rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features i {
  color: var(--primary);
  font-size: 14px;
}

.pricing-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 100%);
  border-radius: 24px;
  border: 1px solid rgba(201, 93, 247, 0.2);
}

.solutions-page {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.solutions-hero-section {
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(201, 93, 247, 0.1);
}

.solution-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid rgba(201, 93, 247, 0.08);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(201, 93, 247, 0.1);
  border-color: rgba(201, 93, 247, 0.2);
}

.solution-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.solution-icon i {
  font-size: 28px;
  color: var(--primary);
}

.solution-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.solution-description {
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 16px;
}

.solution-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-features li {
  padding: 6px 0;
  font-size: 0.85rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 8px;
}

.solution-features i {
  color: var(--primary);
  font-size: 14px;
}

.who-we-are-page {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.about-hero-section {
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(201, 93, 247, 0.1);
}

.about-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(201, 93, 247, 0.1);
}

.feature-box {
  background: white;
  border-radius: 20px;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(201, 93, 247, 0.08);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(201, 93, 247, 0.1);
  border-color: rgba(201, 93, 247, 0.2);
}

.belief-card {
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 100%);
  border-radius: 24px;
  border: 1px solid rgba(201, 93, 247, 0.2);
}

.belief-icon {
  font-size: 48px;
  color: var(--primary);
}

.global-trust {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 24px;
  color: white;
}

.world-map i {
  font-size: 200px;
  color: rgba(201, 93, 247, 0.3);
}

.stats-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

.reason-box {
  background: white;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 1px solid rgba(201, 93, 247, 0.1);
}

.reason-box:hover {
  background: var(--primary-soft);
  transform: translateX(5px);
}

.reason-box i {
  font-size: 20px;
  color: var(--primary);
  margin-right: 12px;
}

.reason-box span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e2a3e;
}

/* Reviews Showcase Section - Modern Design */
.reviews-showcase-section {
  position: relative;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f2fe 100%);
  overflow: hidden;
}

.reviews-showcase-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(160, 65, 201, 0.08), transparent);
  border-radius: 50%;
  z-index: 0;
}

.reviews-showcase-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(160, 65, 201, 0.05), transparent);
  border-radius: 50%;
  z-index: 0;
}

/* Main Review Showcase Card */
.review-showcase-card {
  background: white;
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.review-showcase-card:hover {
  box-shadow: 0 25px 50px rgba(160, 65, 201, 0.12);
}

/* Big Rating Circle */
.big-rating-circle {
  background: linear-gradient(135deg, #a041c9, #7a2e99);
  border-radius: 60px;
  padding: 25px 35px;
  display: inline-block;
  text-align: center;
  box-shadow: 0 15px 30px rgba(160, 65, 201, 0.3);
}

.big-rating-circle .rating-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.big-rating-circle .rating-stars i {
  color: #ffd700;
  font-size: 18px;
  margin: 0 2px;
}

.big-rating-circle .rating-total {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-top: 8px;
}

/* Recommendation Badge */
.recommendation-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(160, 65, 201, 0.2);
}

.recommendation-badge i {
  color: #a041c9;
  font-size: 20px;
}

.recommendation-badge span {
  font-weight: 600;
  color: #333;
}

/* Testimonial Quote */
.testimonial-quote {
  position: relative;
  padding: 20px 30px;
  background: #f8f9ff;
  border-radius: 24px;
  margin-bottom: 20px;
}

.quote-icon {
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 30px;
  color: #a041c9;
  opacity: 0.3;
}

.testimonial-quote p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar i {
  font-size: 48px;
  color: #a041c9;
}

.author-name {
  font-weight: 700;
  color: #333;
}

.author-title {
  font-size: 12px;
  color: #a041c9;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Recent Reviews Preview */
.recent-reviews-preview {
  border-top: 2px solid rgba(160, 65, 201, 0.1);
}

.reviews-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.reviews-preview-header span {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.view-all-link {
  color: #a041c9;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.view-all-link:hover {
  color: #7a2e99;
  transform: translateX(3px);
}

.preview-review-card {
  background: #f8f9ff;
  padding: 15px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.preview-review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.preview-stars i {
  font-size: 12px;
  margin-right: 2px;
}

.preview-stars i.active {
  color: #ffd700;
}

.preview-stars i.inactive {
  color: #ddd;
}

.preview-comment {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 10px 0;
}

.preview-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.preview-author strong {
  color: #333;
}

.preview-author span {
  color: #999;
}

/* Email Dropdown Styles - Fixed for Mobile */
.email-dropdown-container {
  position: relative;
  display: inline-block;
}

.email-dropdown-btn {
  background: transparent;
  border: none;
  color: #a041c9;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  /* Better touch target for mobile */
  min-height: 44px;
  min-width: 44px;
}

.email-dropdown-btn:hover {
  background: rgba(160, 65, 201, 0.1);
  color: #7a2e99;
}

.email-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 280px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.email-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.email-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px; /* Increased padding for better touch */
  text-decoration: none;
  color: #333;
  transition: background 0.2s ease;
  cursor: pointer;
  /* Better touch target for mobile */
  min-height: 48px;
}

.email-option:hover {
  background: #f8f9ff;
}

.email-option:active {
  background: #e8eaff; /* Better mobile feedback */
}

.email-option i {
  width: 20px;
  color: #a041c9;
  font-size: 16px;
}

.email-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.email-label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.email-address {
  font-size: 11px;
  color: #666;
  word-break: break-all; /* Prevent overflow on mobile */
}

/* Optional: Close button for mobile */
.email-dropdown-menu .close-mobile {
  display: none;
}

/* Mobile Slider Container - More Realistic */
.mobile-slider-container {
  position: relative;
  margin: 60px auto;
  padding: 20px 0;
}

/* 3D Tilt Effect on Hover */
.phone-mockup {
  transform-style: preserve-3d;
  transition:
    transform 0.5s ease,
    box-shadow 0.3s ease;
}

.phone-mockup:hover {
  transform: rotateY(5deg) rotateX(5deg) translateY(-15px);
  box-shadow:
    0 40px 60px rgba(0, 0, 0, 0.4),
    0 0 0 8px #2a2a2a,
    0 0 0 12px #1a1a1a;
}

/* Glassmorphism Effect for Active Phone */
.slide-item.active .phone-mockup {
  box-shadow:
    0 30px 50px rgba(0, 0, 0, 0.4),
    0 0 0 8px #3a3a3a,
    0 0 0 12px #1a1a1a,
    0 0 0 16px rgba(201, 93, 247, 0.3);
}

/* Animation for Auto Scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-item {
  animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   Reduce spacing on mobile devices
   ============================================ */

/* Default spacing (desktop) remains unchanged */
/* Mobile overrides */

.float-btn {
  width: 40px;
  height: 40px;
  background: #a041c9;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.call-float-btn {
  width: 40px;
  height: 40px;
  background: #a041c9;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
/* Smooth hover */
.call-float-btn:hover {
  transform: scale(1.08);
}

/* Shake animation */
@keyframes callShake {
  0% {
    transform: rotate(0deg) scale(1);
  }
  20% {
    transform: rotate(-15deg) scale(1);
  }
  40% {
    transform: rotate(15deg) scale(1);
  }
  60% {
    transform: rotate(-10deg) scale(1);
  }
  80% {
    transform: rotate(10deg) scale(1);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

/* Pulse ring (optional but highly effective) */
.call-float-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(40, 167, 69, 0.4);
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Triggered animation class */
.call-animate {
  animation: callShake 0.8s ease;
}

/* ============================================ */
/* ========== ALL MEDIA QUERIES ============== */
/* ============================================ */

@media (max-width: 768px) {
  body {
    padding-top: var(--header-height-mobile);
  }
}

@media (max-width: 991px) {
  body {
    padding-top: 40px;
  }
  .top-contact-bar {
    display: none;
  }
  .navbar-brand {
    font-size: 1.5rem;
  }
  .navbar-brand i {
    font-size: 1.6rem;
  }
  .navbar-toggler {
    border: none;
    padding: 8px 10px;
    background: var(--primary-soft);
    border-radius: 12px;
  }
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23C95DF7' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  .collapse.navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px 20px 30px;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    z-index: 1029;
    max-height: 100vh; /* use full viewport height */
    overflow-y: auto; /* scroll if needed */
    /* Remove any height transition */
  }
  /* Disable Bootstrap's collapsing animation to avoid stutter */
  .collapsing {
    transition: none;
    display: none;
  }
  .collapse:not(.show) {
    display: none;
  }
  .nav-menu-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }
  .nav-link-modern {
    padding: 14px 16px !important;
    font-size: 1rem;
    border-radius: 16px;
    text-align: center;
  }
  .quick-contact-icons {
    justify-content: center;
    margin: 10px 0 5px;
    gap: 7px;
  }
  .btn-cta-header {
    display: block;
    text-align: center;
    margin: 10px 0 0;
    width: 100%;
  }
  .desktop-contact-buttons {
    display: flex !important;
  }
  .header-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #f8f9fa;
    padding: 8px;
    margin-top: 10px;
    border-radius: 8px;

    width: 100%;
  }

  .quick-contact-icons {
    display: flex;
    width: 100%; /* full width */
  }

  .quick-contact-icons > * {
    flex: 1; /* ✅ equal width for each item */
    text-align: center; /* center content */
  }

  .quick-contact-icons a,
  .quick-contact-icons .dropdown {
    display: flex;
    justify-content: start;
    align-items: center;
  }

  .header-actions .btn {
    width: 100%; /* full inside its flex */
    font-size: 13px;
    padding: 6px;
  }
}

@media (min-width: 992px) {
  .mobile-only-contact {
    display: none;
  }
  .navbar-collapse {
    justify-content: space-between;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .nav-link-modern {
    padding: 8px 12px !important;
    font-size: 0.85rem;
  }
  .btn-cta-header {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
  .navbar-brand {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .desktop-floating-icons {
    display: none;
  }
  .mobile-bottom-bar {
    display: block;
  }
  body {
    padding-bottom: 85px;
  }
  .chat-widget {
    width: 320px;
    right: 12px;
    bottom: 90px;
  }
  .game-image {
    height: 110px;
  }
  .game-content {
    padding: 12px;
  }
  .game-title {
    font-size: 1rem;
  }
  .game-image {
    height: 120px;
  }
  .game-content {
    padding: 15px;
  }
  .game-title {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .feature-card-modern {
    padding: 24px 20px;
  }
  .feature-icon-bg {
    width: 55px;
    height: 55px;
  }
  .feature-icon {
    font-size: 24px;
  }
  .feature-number {
    font-size: 36px;
  }
  .feature-title {
    font-size: 1.25rem;
  }
  .section-title-modern {
    font-size: 1.75rem;
  }
  .step-icon-modern {
    width: 65px;
    height: 65px;
  }
  .step-icon-modern i {
    font-size: 28px;
  }
  .step-title {
    font-size: 1.25rem;
  }
  .step-features {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .progress-steps {
    gap: 60px;
  }
  .progress-steps::before {
    left: 10%;
    right: 10%;
  }
  .market-card {
    min-width: 280px;
    flex-wrap: wrap;
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
  }
  .market-status {
    margin-left: 0;
  }
  .market-timer {
    position: static;
    margin-top: 8px;
    text-align: center;
    width: 100%;
  }
  .phone-mockup {
    width: 220px;
  }
  .phone-mockup img {
    height: 400px;
  }
  .desktop-mockup {
    width: 300px;
  }
  .desktop-mockup img {
    height: 200px;
  }
  .slider-btn {
    width: 35px;
    height: 35px;
  }
  .prev-btn {
    left: -10px;
  }
  .next-btn {
    right: -10px;
  }
  .promo-banner,
  .promo-banner-2,
  .promo-banner-3 {
    padding: 20px;
    text-align: center;
  }
  .game-image {
    padding: 10px;
  }
  .game-title {
    font-size: 1rem;
  }
  .blog-single-image {
    height: 200px;
  }
  .blog-single-content {
    padding: 20px;
  }
  .blog-single-title {
    font-size: 1.8rem;
  }
  .blog-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
  .blog-featured-image {
    height: 200px;
  }
  .blog-title {
    font-size: 1.2rem;
  }
  .display-4 {
    font-size: 2rem;
  }
  .job-item {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-apply {
    text-align: center;
  }
  .job-meta {
    flex-direction: column;
    gap: 5px;
  }
  .faq-toggle {
    padding: 16px 20px;
    font-size: 0.9rem;
  }
  .faq-answer {
    padding: 0 20px 16px 20px;
    font-size: 0.85rem;
  }
  .faq-cat-btn {
    padding: 6px 16px;
    font-size: 0.75rem;
  }
  .contact-support-box {
    padding: 30px 20px;
  }
  .review-header {
    flex-direction: column;
    gap: 10px;
  }
  .service-card {
    padding: 24px;
  }
  .tech-icon {
    font-size: 100px;
  }
  .pricing-card {
    margin-bottom: 20px;
  }
  .solution-card {
    padding: 20px;
  }
  .solution-title {
    font-size: 1.2rem;
  }
  .feature-box {
    padding: 20px;
  }
  .world-map i {
    font-size: 120px;
  }
  .stats-row {
    justify-content: center;
  }
  .reason-box {
    padding: 12px 20px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .review-showcase-card {
    padding: 25px;
  }
  .rating-stats-wrapper {
    text-align: center !important;
  }
  .big-rating-circle {
    margin: 0 auto;
  }
  .cta-buttons {
    justify-content: center;
  }
  .testimonial-quote {
    text-align: center;
  }
  .testimonial-author {
    justify-content: center;
  }
  .email-dropdown-container {
    position: static;
  }
  .email-dropdown-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    right: auto;
    bottom: auto;
    width: calc(100% - 40px);
    max-width: 320px;
    margin-top: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
  }
  .email-dropdown-menu.show {
    transform: translate(-50%, 35%);
    box-shadow:
      rgba(0, 0, 0, 0.25) 0px 54px 55px,
      rgba(0, 0, 0, 0.12) 0px -12px 30px,
      rgba(0, 0, 0, 0.12) 0px 4px 6px,
      rgba(0, 0, 0, 0.17) 0px 12px 13px,
      rgba(0, 0, 0, 0.09) 0px -3px 5px;
  }
  .email-dropdown-menu.show::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(247, 247, 247, 0.5);
    z-index: -1;
    animation: fadeIn 0.3s ease;
  }
  .email-option {
    padding: 14px 16px;
  }
  .email-label {
    font-size: 14px;
  }
  .email-address {
    font-size: 12px;
  }
  .email-dropdown-menu .close-mobile {
    display: block;
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #f7f7f7;
    padding: 5px;
    line-height: 1;
  }
  .step-card-modern {
    border-radius: 32px;
    padding: 20px 15px;
    margin: 10px 0px;
  }
  .slider-wrapper {
    padding: 0 40px;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .phone-mockup {
    width: 240px;
  }
  .slide-caption {
    font-size: 14px;
    padding: 6px 12px;
  }
  .slider-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    width: 0;
    margin: 0;
    padding: 0;
  }
  .slider-wrapper {
    gap: 0;
  }
  .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .mb-5 {
    margin-bottom: 1.25rem !important;
  }
  .mt-5 {
    margin-top: 1.25rem !important;
  }
  .my-5 {
    margin-top: 1.25rem !important;
    margin-bottom: 1.25rem !important;
  }
  .py-4 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .mb-4 {
    margin-bottom: 1rem !important;
  }
  .interface-section.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .interface-section .mb-5 {
    margin-bottom: 1.25rem !important;
  }
  .section-title-modern {
    margin-bottom: 0.75rem !important;
  }
  .section-subtitle-modern {
    margin-bottom: 1.5rem !important;
  }
  .section-badge-modern {
    margin-bottom: 0.5rem !important;
  }
  .chat-icon-fixed {
    display: none !important;
  }
  .container,
  .row,
  [class*='col-'] {
    padding-left: 7px;
    padding-right: 7px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .desktop-floating-icons {
    left: 12px;
    gap: 12px;
  }
  .social-icon-left {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

@media (max-width: 991px) {
  .step-card-modern {
    max-width: 100%;
    overflow: hidden;
  }
  .step-connector {
    display: none;
  }
}

@media (max-width: 480px) {
  .mobile-bottom-bar {
    padding: 6px 12px 18px;
    border-radius: 20px 20px 0 0;
  }
  .bottom-nav-item {
    padding: 6px 8px;
  }
  .bottom-nav-item i {
    font-size: 20px;
  }
  .bottom-nav-item span {
    font-size: 9px;
  }
  .bottom-nav-item.cta-item {
    padding: 6px 14px;
  }
  .job-info {
    flex-direction: column;
    text-align: center;
  }
  .job-meta {
    align-items: center;
  }
  .review-showcase-card {
    padding: 20px;
  }
  .btn-primary-custom,
  .btn-outline-custom {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .email-dropdown-menu {
    width: calc(100% - 30px);
    max-width: 300px;
  }
  .slider-wrapper {
    padding: 0 10px;
  }
  .slider-btn {
    width: 35px;
    height: 35px;
  }
  .phone-mockup {
    width: 200px;
  }
  .phone-mockup::before {
    width: 120px;
    height: 20px;
  }
  .slide-caption {
    font-size: 12px;
    margin-top: 15px;
  }
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 1rem !important;
  }
  .mb-5 {
    margin-bottom: 1rem !important;
  }
  .interface-section.py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-bottom-bar {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
  .mobile-bottom-bar {
    padding-bottom: calc(5px + env(safe-area-inset-bottom));
  }
}

@media (prefers-color-scheme: dark) {
  .mobile-bottom-bar {
    background: rgba(30, 30, 46, 0.98);
    border-top-color: rgba(201, 93, 247, 0.25);
  }
  .bottom-nav-item {
    color: #9ca3af;
  }
  .bottom-nav-item:hover {
    background: rgba(201, 93, 247, 0.15);
  }
  .features-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  }
  .feature-card-modern {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.1);
  }
  .feature-title {
    color: #ffffff;
  }
  .feature-description,
  .stat-label {
    color: #a0a0a0;
  }
}

@media (max-width: 992px) {
  .review-showcase-card {
    padding: 15px;
  }
  .big-rating-circle {
    padding: 20px 30px;
  }
  .big-rating-circle .rating-number {
    font-size: 2.5rem;
  }
}

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

/* 1. GLOBAL FIX (prevents accidental overflow) */
/* ===== GLOBAL OVERFLOW FIX ===== */
html,
body {
  width: 100%;
  overflow-x: hidden; /* prevent horizontal scroll */
  overflow-y: auto; /* allow vertical scroll */
}

/* FIX: remove scroll blocking */
body {
  overscroll-behavior-y: auto;
}

/* Add to your stylesheet (e.g., style.css) */
.about-hero-section {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text contrast */
  z-index: 1;
}

/* Ensure text is readable on dark background */
.hero-section .section-badge,
.hero-section h1,
.hero-section p {
  position: relative;
  z-index: 2;
  color: white !important; /* Override default */
}

.hero-section .text-secondary {
  color: rgba(255, 255, 255, 0.85) !important;
}

.hero-section-home,
.hero-section-home h1,
.hero-section-home p {
  position: relative;
  z-index: 2;
  color: rgb(7, 7, 7) !important; /* Override default */
}

/* About Card Container */
.about-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.about-card:hover {
  box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.12);
}

/* Typography */
.about-card .lead {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.6;
  color: #1a2c3e;
  border-left: 4px solid #f39c12;
  padding-left: 1.25rem;
}

.about-card h4 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a2c3e;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.about-card h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  /*   background: linear-gradient(90deg, #f39c12, #e67e22); */
  border-radius: 2px;
}

.about-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.about-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 1rem;
}

/* Value Cards Grid */
.value-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 20px;
  border: 1px solid rgba(243, 156, 18, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f39c12, #e67e22);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
  border-color: rgba(243, 156, 18, 0.3);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  margin-top: 0;
  color: #e67e22;
  text-transform: uppercase;
}

.value-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 0;
  text-align: justify;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .about-card {
    padding: 1.5rem !important;
  }

  .about-card .lead {
    font-size: 1.1rem;
    padding-left: 1rem;
  }

  .about-card h4 {
    font-size: 1.5rem;
  }

  .about-card h5 {
    font-size: 1.1rem;
  }

  .value-card {
    padding: 1.25rem !important;
  }

  .value-card h5 {
    font-size: 1rem;
  }

  .value-card p {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .about-card .lead {
    font-size: 1rem;
  }

  .about-card h4 {
    font-size: 1.35rem;
  }
}

/* Optional: Add a subtle background pattern */
.about-card {
  background-image: radial-gradient(circle at 10% 20%, rgba(243, 156, 18, 0.02) 0%, transparent 50%);
}

/* Value card icons wrapper (if you want to add icons later) */
.value-card {
  position: relative;
}

/* For better readability on dark mode (if applicable) */
@media (prefers-color-scheme: dark) {
  .about-card {
    background: #1e2a3a;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.3);
  }

  .about-card .lead,
  .about-card h4,
  .about-card h5 {
    color: #ecf0f1;
  }

  .about-card p {
    color: #bdc3c7;
  }

  .value-card {
    background: linear-gradient(135deg, #2c3e50 0%, #1e2a3a 100%);
    border-color: rgba(243, 156, 18, 0.2);
  }

  .value-card p {
    color: #bdc3c7;
  }
}

/* Animation delays for value cards (if using AOS) */
.value-card {
  transition-delay: calc(var(--index, 0) * 0.05s);
}

/* EMERGENCY FIX - French/Spanish single line menu */
.nav-menu-links,
.navbar-collapse .nav-menu-links {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 0.25rem !important;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE/Edge */
}

.nav-menu-links .nav-link-modern,
.nav-link-modern {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  display: inline-block !important;
}

/* Make scrollbar visible on hover */
.nav-menu-links:hover::-webkit-scrollbar {
  height: 6px !important;
}

/* Ensure container doesn't force wrap */
.navbar {
  flex-wrap: nowrap !important;
}

@media (max-width: 991px) {
  .navbar-collapse {
    overflow-x: auto !important;
  }
}

/* Smart fade - shows fade only when content is scrollable */
/* Base styles - no fade by default */
.nav-menu-links,
.navbar-collapse .nav-menu-links {
  mask-image: none;
  -webkit-mask-image: none;
}

/* When scrollable (has overflow), add right fade */
.nav-menu-links.has-scrollbar,
.navbar-collapse .nav-menu-links.has-scrollbar {
  mask-image: linear-gradient(90deg, black 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, black 98%, transparent 100%);
}

/* When scrolled from left (not at start), add left fade */
.nav-menu-links.has-scrollbar.scrolled-left,
.navbar-collapse .nav-menu-links.has-scrollbar.scrolled-left {
  mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
}

/* When at the very end (scrolled all the way right), remove right fade */
.nav-menu-links.has-scrollbar.scrolled-right,
.navbar-collapse .nav-menu-links.has-scrollbar.scrolled-right {
  mask-image: linear-gradient(90deg, black 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, black 98%, transparent 100%);
}

/* When scrolled left and not at end */
.nav-menu-links.has-scrollbar.scrolled-left:not(.scrolled-right),
.navbar-collapse .nav-menu-links.has-scrollbar.scrolled-left:not(.scrolled-right) {
  mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
}

/* Add gradient fade AND a subtle hint */
.nav-menu-links.has-scrollbar {
  mask-image: linear-gradient(90deg, black 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, black 98%, transparent 100%);

  /* Add subtle shadow on the right to indicate more content */
  background: linear-gradient(to right, transparent 0%, transparent 95%, rgba(0, 0, 0, 0.05) 100%);
}

/* Show scroll hint on hover */
.nav-menu-links.has-scrollbar:hover::after {
  content: '← scroll →';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 20px;
  pointer-events: none;
  animation: pulse 1.5s infinite;
  z-index: 10;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}
