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

:root {
  --primary: #6a79fa;
  --dark: #1a1a1a;
  --light: #f8f9fa;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
}

html.dark-mode {
  --dark: #ffffff;
  --light: #1a1a1a;
  --gray: #b0b0b0;
  --gray-light: #333333;
  --white: #0d0d0d;
  --shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
  --shadow-lg: 0 12px 40px rgba(255, 255, 255, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.datetime-bar {
  background: var(--light);
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
  border-bottom: 1px solid var(--gray-light);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  z-index: 100;
  transition: background-color 0.3s ease;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  transition: all 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
  padding: 0;
  font-size: 1.5rem;
  color: var(--dark);
  transition: all 0.3s ease;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

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

.theme-toggle {
  background: none;
  border: 2px solid var(--gray-light);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  color: var(--dark);
}

.theme-toggle:hover {
  border-color: var(--primary);
  transform: scale(1.1);
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-light);
  text-align: center;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.active {
  max-height: 300px;
}

.mobile-menu a {
  display: block;
  padding: 1rem;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--gray-light);
}

.mobile-menu a:last-of-type {
  border-bottom: none;
}

.mobile-menu a:hover {
  background: var(--light);
  color: var(--primary);
}

.mobile-theme-toggle {
  width: 40px;
  height: 40px;
  margin: 1rem auto;
}

/* New dropdown menu styles for mobile */
.mobile-menu-dropdown {
  display: none;
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark);
  padding: 0;
  transition: all 0.3s ease;
  z-index: 101;
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 100;
  margin-top: 0.5rem;
}

.dropdown-menu.active {
  max-height: 300px;
}

.dropdown-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--gray-light);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--light);
  color: var(--primary);
  padding-left: 2rem;
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark);
  animation: slideUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.8;
  animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.8s ease-out 0.4s both;
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}

html.dark-mode .hero-image {
  filter: brightness(1.1);
}

/* Buttons */
.btn {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}

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

.btn-primary:hover {
  background-color: #5a68e8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(106, 121, 250, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark);
  border: 2px solid var(--gray-light);
}

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

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark);
}

/* New Online Marketing Section */
.online-marketing {
  background-color: var(--white);
}

.marketing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.marketing-card {
  background: var(--light);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
}

.marketing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.marketing-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, #7d8dff 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--white);
}

.marketing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.marketing-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.marketing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.marketing-list li {
  color: var(--gray);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.marketing-list i {
  color: var(--primary);
  font-weight: 600;
}

/* Features Section */
.features {
  background-color: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, #7d8dff 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature-list li {
  background: var(--light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--gray);
}

/* About Section */
.about {
  background-color: var(--white);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tip-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.tip-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--light) 0%, var(--gray-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  flex-shrink: 0;
}

.tip-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.tip-content p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Progress bars in about section */
.progress-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.progress-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.progress-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--gray-light);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, #7d8dff 100%);
  border-radius: 10px;
  transition: width 0.6s ease;
}

/* Services Section */
.services {
  background-color: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--light) 0%, var(--gray-light) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 600;
}

.services-cta {
  text-align: center;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--white);
}

.testimonials-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--gray);
}

.testimonial-text {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  font-style: italic;
}

/* Pricing Section */
.pricing {
  background-color: var(--light);
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.toggle-label {
  font-weight: 600;
  color: var(--gray);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-light);
  transition: 0.3s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(30px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

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

.period {
  color: var(--gray);
  font-size: 0.95rem;
}

.features {
  list-style: none;
  margin-bottom: 2rem;
}

.features li {
  padding: 0.75rem 0;
  color: var(--gray);
  border-bottom: 1px solid var(--gray-light);
}

.features li:last-child {
  border-bottom: none;
}

/* Localization Section */
.localization {
  position: relative;
  background: #0a0a1a;
  color: #ffffff;
  padding: 6rem 0;
  overflow: hidden;
}

.grid-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      0deg,
      transparent 24%,
      rgba(255, 255, 255, 0.05) 25%,
      rgba(255, 255, 255, 0.05) 26%,
      transparent 27%,
      transparent 74%,
      rgba(255, 255, 255, 0.05) 75%,
      rgba(255, 255, 255, 0.05) 76%,
      transparent 77%,
      transparent
    ),
    linear-gradient(
      90deg,
      transparent 24%,
      rgba(255, 255, 255, 0.05) 25%,
      rgba(255, 255, 255, 0.05) 26%,
      transparent 27%,
      transparent 74%,
      rgba(255, 255, 255, 0.05) 75%,
      rgba(255, 255, 255, 0.05) 76%,
      transparent 77%,
      transparent
    );
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

.localization-container {
  position: relative;
  z-index: 2;
}

.localization .section-title {
  color: #ffffff;
  margin-bottom: 3rem;
}

.localization-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.localization-text-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.worldwide-badge {
  display: inline-block;
  background: rgba(106, 121, 250, 0.2);
  border: 1px solid #6a79fa;
  color: #6a79fa;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

.localization-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.localization-description {
  font-size: 1rem;
  color: #b0b0b0;
  line-height: 1.8;
  max-width: 500px;
}

/* New countries grid styling */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.country-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(106, 121, 250, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.country-card:hover {
  background: rgba(106, 121, 250, 0.1);
  border-color: #6a79fa;
  transform: translateY(-4px);
}

.country-image {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.country-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.country-card p {
  font-size: 0.85rem;
  color: #b0b0b0;
}

/* Updated world map container with SVG overlay */
.world-map-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.world-map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.glow-dot {
  fill: #ff007f;
  filter: drop-shadow(0 0 8px #ff007f) drop-shadow(0 0 16px rgba(255, 0, 127, 0.5));
  transition: all 0.3s ease;
  cursor: pointer;
}

.glow-dot:hover {
  r: 14px;
  filter: drop-shadow(0 0 12px #ff007f) drop-shadow(0 0 24px rgba(255, 0, 127, 0.7));
}

.glow-dot.morocco-dot {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    r: 12px;
    filter: drop-shadow(0 0 8px #ff007f) drop-shadow(0 0 16px rgba(255, 0, 127, 0.5));
  }
  50% {
    r: 16px;
    filter: drop-shadow(0 0 16px #ff007f) drop-shadow(0 0 32px rgba(255, 0, 127, 0.8));
  }
}

.country-label {
  font-size: 12px;
  fill: #ffffff;
  text-anchor: middle;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* Contact Section */
.contact {
  background-color: var(--light);
}

.contact-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.info-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.info-item p {
  color: var(--gray);
  line-height: 1.8;
}

.info-item a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-item a:hover {
  color: #5a68e8;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  border-radius: 15px;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

/* Added app download links styling in footer */
.app-download-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-store-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(106, 121, 250, 0.1);
  border: 1px solid rgba(106, 121, 250, 0.3);
  border-radius: 8px;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.app-store-link:hover {
  background: rgba(106, 121, 250, 0.2);
  border-color: var(--primary);
  transform: translateX(4px);
}

.app-store-link i {
  font-size: 1.2rem;
}

/* Added NEXA Collection Section Styles */
.nexa-collection {
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
  padding: 6rem 0;
}

.collection-header {
  text-align: center;
  margin-bottom: 3rem;
}

.collection-badge {
  display: inline-block;
  background: rgba(106, 121, 250, 0.1);
  border: 1px solid rgba(106, 121, 250, 0.3);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.category-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--gray-light);
  background: var(--white);
  color: var(--dark);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

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

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

.services-collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-collection-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.service-collection-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-discount-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ff007f 0%, #ff4d7d 100%);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 10;
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-collection-content {
  padding: 1.5rem;
}

.service-collection-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.service-price {
  color: var(--gray);
  font-size: 0.95rem;
}

.service-price span {
  color: var(--primary);
  font-weight: 700;
}

/* Added FAQ Section Styles */
.faq-section {
  background: var(--white);
  padding: 6rem 0;
}

.faq-title {
  font-size: 1.5rem !important;
  margin-bottom: 0.5rem;
}

.faq-subtitle {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--dark);
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.faq-item {
  background: var(--light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: var(--light);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(106, 121, 250, 0.05);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--white);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 1.5rem;
  color: var(--gray);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-content {
    justify-content: space-between;
  }

  .logo {
    text-align: center;
    flex: 1;
  }

  .nav-right {
    gap: 1rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .theme-toggle:not(.mobile-theme-toggle) {
    display: none;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  section {
    padding: 3rem 0;
  }

  .localization-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .localization-title {
    font-size: 1.8rem;
  }

  .localization-description {
    font-size: 0.95rem;
  }

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

  .localization {
    padding: 4rem 0;
  }

  .world-map-container {
    height: 300px;
  }

  .category-filters {
    gap: 0.75rem;
  }

  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .services-collection-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-subtitle {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .amount {
    font-size: 2rem;
  }

  .theme-toggle {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .social-links {
    gap: 1rem;
  }

  .social-links a {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .localization-title {
    font-size: 1.5rem;
  }

  .localization-description {
    font-size: 0.9rem;
  }

  .worldwide-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .countries-grid {
    grid-template-columns: 1fr;
  }

  .country-card {
    padding: 1rem;
  }

  .country-image {
    height: 80px;
  }

  .world-map-container {
    height: 250px;
  }

  .country-label {
    font-size: 10px;
  }

  .glow-dot {
    r: 8px;
  }

  .glow-dot.morocco-dot {
    r: 8px;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }
}

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

html.dark-mode .localization {
  background: #0a0a1a;
}

html.dark-mode .localization-title {
  background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Added popup modal styles */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
  display: flex;
}

.popup-modal {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(106, 121, 250, 0.3);
  border-radius: 20px;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(106, 121, 250, 0.2);
  position: relative;
  animation: slideUp 0.4s ease;
}

html.dark-mode .popup-modal {
  background: rgba(26, 26, 26, 0.95);
  border: 1px solid rgba(106, 121, 250, 0.4);
  color: #ffffff;
}

.popup-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.popup-close:hover {
  background: rgba(106, 121, 250, 0.1);
  color: var(--primary);
  transform: rotate(90deg);
}

.popup-content {
  text-align: center;
}

.popup-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, #7d8dff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--white);
}

.popup-modal h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

html.dark-mode .popup-modal h2 {
  color: #ffffff;
}

.popup-modal p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.popup-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.popup-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(106, 121, 250, 0.1);
  border: 1px solid rgba(106, 121, 250, 0.3);
  border-radius: 12px;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
}

html.dark-mode .popup-link {
  background: rgba(106, 121, 250, 0.15);
  border-color: rgba(106, 121, 250, 0.4);
}

.popup-link:hover {
  background: rgba(106, 121, 250, 0.2);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(106, 121, 250, 0.2);
}

.popup-link i {
  font-size: 1.2rem;
}

.popup-cta {
  width: 100%;
  margin-bottom: 1rem;
}

.popup-footer {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 1rem;
}

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

/* Blog Section */
.blog {
  background-color: var(--white);
}

.blog-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.blog-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

/* Added carousel navigation buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(106, 121, 250, 0.3);
}

.carousel-prev {
  left: -70px;
}

.carousel-next {
  right: -70px;
}

.carousel-nav:hover {
  background: #5a68e8;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(106, 121, 250, 0.4);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

/* Added carousel indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-light);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-indicator.active {
  background: var(--primary);
  width: 32px;
  border-radius: 6px;
}

.carousel-indicator:hover {
  background: var(--primary);
}

.blog-card {
  background: var(--light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card.loading {
  pointer-events: none;
}

.blog-skeleton {
  width: 100%;
  height: 200px;
  background: linear-gradient(90deg, var(--gray-light) 25%, rgba(0, 0, 0, 0.1) 50%, var(--gray-light) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

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

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.85rem;
  background: rgba(106, 121, 250, 0.1);
  color: var(--primary);
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 0.75rem;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  flex-grow: 1;
}

.blog-excerpt {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.blog-read-more:hover {
  gap: 1rem;
  color: #5a68e8;
}

.blog-read-more i {
  transition: transform 0.3s ease;
}

.blog-read-more:hover i {
  transform: translateX(4px);
}

/* Added scroll-to-top button styling */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 99;
}

.scroll-to-top.show {
  display: flex;
}

.scroll-to-top:hover {
  background-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(106, 121, 250, 0.3);
}

html.dark-mode .scroll-to-top {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(106, 121, 250, 0.3);
}

html.dark-mode .scroll-to-top:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-prev {
    left: -50px;
  }

  .carousel-next {
    right: -50px;
  }
}

@media (max-width: 768px) {
  .blog-carousel-wrapper {
    gap: 1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-prev {
    left: -45px;
  }

  .carousel-next {
    right: -45px;
  }

  .carousel-indicators {
    gap: 0.5rem;
  }

  .carousel-indicator {
    width: 10px;
    height: 10px;
  }

  .carousel-indicator.active {
    width: 28px;
  }
}

@media (max-width: 480px) {
  .blog-carousel-wrapper {
    gap: 0.5rem;
  }

  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .carousel-prev {
    left: -40px;
  }

  .carousel-next {
    right: -40px;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .blog-title {
    font-size: 1.1rem;
  }

  .scroll-to-top {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

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

  .blog-image {
    height: 180px;
  }

  .blog-content {
    padding: 1.25rem;
  }

  .scroll-to-top {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 1rem;
    right: 1rem;
  }
}
.disabled-btn {
  opacity: 1;            /* keeps color normal */
  cursor: not-allowed;    /* shows disabled cursor */
  pointer-events: none;   /* prevents click */
}
