:root {
  /* Primary Colors - Enhanced */
  --primary-color: #5e3bee;
  --primary-dark: #4a2fbe;
  --primary-light: #7d56f9;
  --primary-gradient: linear-gradient(135deg, #5e3bee 0%, #7d56f9 100%);

  /* Secondary Colors */
  --secondary-color: #2a2a4a;
  --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  /* Accent Colors */
  --accent-color: #5e3bee;
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

  /* Text Colors */
  --text-color: #2d3748;
  --text-color-light: #718096;
  --text-color-muted: #a0aec0;

  /* Background Colors */
  --light-color: #f7fafc;
  --dark-color: #1a202c;
  --bg-color: #ffffff;
  --bg-color-alt: #f8faff;

  /* UI Elements */
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-full: 50px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s ease;

  /* Shadows - Enhanced */
  --box-shadow: 0 4px 20px rgba(94, 59, 238, 0.1);
  --box-shadow-hover: 0 12px 40px rgba(94, 59, 238, 0.2);
  --shadow-color: rgba(94, 59, 238, 0.15);

  /* Borders */
  --border-color: #e2e8f0;

  /* Cards & Inputs */
  --card-bg: #ffffff;
  --input-bg: #ffffff;

  /* RGB Values for rgba() usage */
  --primary-rgb: 94, 59, 238;

  /* Purple Palette */
  --light-purple: #a78bfa;
  --secondary-purple: #8b5cf6;
  --white-color: #ffffff;
}

/* وضع الظلام (Dark Mode) */
[data-theme="dark"] {
  /* Primary Colors */
  --primary-color: #a78bfa;
  --primary-dark: #1a1a2e;
  --primary-light: #c4b5fd;
  --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);

  /* Secondary Colors */
  --secondary-color: #c4b5fd;
  --secondary-gradient: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);

  /* Accent */
  --accent-color: #a78bfa;
  --accent-gradient: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);

  /* Backgrounds */
  --bg-color: #0f0f1a;
  --bg-color-alt: #1a1a2e;

  /* Text */
  --text-color: #f1f5f9;
  --text-color-light: #cbd5e1;
  --text-color-muted: #94a3b8;

  /* Other */
  --light-color: #c4b5fd;
  --dark-color: #0a0a14;
  --shadow-color: rgba(139, 92, 246, 0.3);
  --border-color: #2d2d44;
  --card-bg: #1a1a2e;
  --input-bg: #252538;
  --dark-input-bg: #252538;
  --dark-border-color: #2d2d44;

  /* RGB */
  --primary-rgb: 167, 139, 250;

  /* Purples */
  --light-purple: #8b5cf6;
  --secondary-purple: #a78bfa;

  /* Shadows */
  --box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
  --box-shadow-hover: 0 12px 40px rgba(139, 92, 246, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Tajawal", sans-serif !important;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-color);
  background-color: var(--bg-color);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 10px 25px;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

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

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

.btn-outline:hover {
  background-color: var(--accent-color);
  color: white;
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.2rem;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--secondary-color);
  max-width: 700px;
  margin: 0 auto;
}

/* القائمة العلوية */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
  transition: var(--transition);
  padding: 10px 20px;
  border-radius: 50px;
  background-color: transparent;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(65, 47, 144, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  z-index: -1;
  transition: var(--transition);
}

.header.scrolled {
  top: 15px;
  padding: 8px 20px;
}

/* .header.scrolled::before {
  background-color: rgb(249 247 255 / 31%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(40px);
 box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); 
} */

.header.scrolled .nav-links li a {
  color: white;
}

.header.scrolled .nav-links li a.active,
.header.scrolled .nav-links li a:hover {
  color: #fff;
}

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

.logo img {
  height: 40px;
  transition: var(--transition);
}

.header.scrolled .logo img {
  height: 35px;
}

.nav-links {
  display: flex;
  gap: 12px;
}

.nav-links li a {
  color: white;
  font-weight: 500;
  position: relative;
  padding: 6px 12px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 0.9rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links li a.active,
.nav-links li a:hover {
  color: #fff;
  background: linear-gradient(135deg, #8a7ddb 0%, #6c63ff 100%);
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
  transform: translateY(-2px);
}

/* Active Tab Indicator - White line with glow */
.nav-links li a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 15%;
  width: 70%;
  height: 3px;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 0 10px #fff, 0 0 20px rgba(138, 125, 219, 0.8);
  animation: slideInIndicator 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInIndicator {
  from {
    width: 0;
    left: 50%;
    opacity: 0;
  }

  to {
    width: 70%;
    left: 15%;
    opacity: 1;
  }
}

.nav-links li a:hover::after {
  content: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition);
  color: white;
  font-size: 16px;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.2);
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(138, 125, 219, 0.2);
  color: white;
  padding: 6px 15px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-btn:hover {
  background-color: rgba(169, 157, 242, 0.3);
  color: white;
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  font-size: 20px;
  cursor: pointer;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* قسم الترحيب */
.hero-section {
  position: relative;
  height: 67vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  width: 100%;
  padding-top: 80px;
  overflow: hidden;
  background-color: #412f9000;
}

.hero-section.full-width {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-top: 0;
}

.hero-section.full-width::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/649e5bd81cfd46906ef81c9e_Elements-1.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding-top: 0;
  padding-bottom: 0px;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

[data-theme="light"] .hero-badge {
  background-color: rgba(94, 59, 238, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .hero-content h1 {
  background: linear-gradient(135deg, #412f90 0%, #6c63ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
}

[data-theme="light"] .hero-content p {
  color: #4a5568;
  font-weight: 600;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8a7ddb 0%, #6c63ff 100%);
  color: white;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
  overflow: hidden;
}

.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #6c63ff 0%, #8a7ddb 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 50px;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.5);
}

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

.partners-bar {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 1s ease-out 1s;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

/* سلايدر معرض الأعمال المتحرك */
.portfolio-slider-section {
  padding: 80px 0;
  overflow: hidden;
  background-color: var(--bg-color);
  position: relative;
}

.partners-section {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-color-alt, #14102a);
}

.partners-section .container {
  position: relative;
  z-index: 1;
}

.portfolio-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.portfolio-slider-title {
  text-align: center;
  margin-bottom: 50px;
}

.portfolio-slider-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.portfolio-slider-title p {
  color: var(--secondary-color);
  max-width: 700px;
  margin: 0 auto;
}

.portfolio-slider-row {
  display: flex;
  animation-duration: 30s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  width: max-content;
  transition: all 0.5s ease;
}

.portfolio-slider-row.row1 {
  animation-name: slideRight;
}

.portfolio-slider-row.row2 {
  animation-name: slideLeft;
  margin-top: 20px;
}

.portfolio-slider-row:hover {
  animation-play-state: paused;
}

.portfolio-slider-item {
  width: 547px;
  height: 506px;
  margin: 0 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.portfolio-slider-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.portfolio-slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1s ease-in-out;
  object-position: top;
  /* عرض الصورة من الأعلى */
}

.portfolio-slider-item:hover img {
  object-position: bottom;
  /* عند التحويم، عرض الصورة من الأسفل */
}

@keyframes slideRight {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .portfolio-slider-item {
    width: 250px;
    height: 180px;
  }
}

@media (max-width: 576px) {
  .portfolio-slider-item {
    width: 200px;
    height: 150px;
  }
}

/* زر واتساب عائم */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 25px;
  }
}

/* قسم الخدمات */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 20px;
}

.service-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--secondary-color);
  line-height: 1.6;
}

/* قسم الأعمال */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.portfolio-action {
  text-align: center;
  margin-top: 50px;
}

.portfolio-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.portfolio-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: top 1s ease-in-out;
  max-height: none;
  /* إزالة الحد الأقصى للارتفاع */
}

.portfolio-overlay {
  display: none;
  /* إلغاء ظهور الاسم عند التحويم */
}

.portfolio-item:hover .portfolio-image img {
  top: calc(-100% + -346px)
    /* تحريك الصورة لأسفل بالكامل مع ترك ارتفاع العنصر فقط */
}

/* قسم من نحن */
.about-section {
  background-color: var(--light-color);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 30px;
  line-height: 1.8;
}

.about-actions {
  display: flex;
  gap: 15px;
}

.about-banners {
  flex: 1;
}

.banner-slider {
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.banner-slider img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* قسم آراء العملاء */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-content {
  flex: 1;
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-color);
  line-height: 1.8;
  position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 1.5rem;
  color: var(--accent-color);
}

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

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-color);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 0;
}

/* قسم الشركاء */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.partner-logo {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: var(--transition);
}

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

.partner-logo img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* قسم التواصل */
.contact-section {
  background-color: var(--light-color);
}

.contact-content {
  display: flex;
  gap: 50px;
}

.contact-form {
  flex: 1;
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-form p {
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: "Tajawal", sans-serif !important;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

.contact-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: white;
  padding: 15px 40px;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 1.2rem;
  transition: var(--transition);
}

.contact-whatsapp:hover {
  background-color: #128c7e;
  color: white;
  transform: translateY(-3px);
}

/* الفوتر */
.footer {
  background-color: #14102a;
  color: white;
  padding: 70px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/649e5bd81cfd46906ef81c9e_Elements-1.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 15px;
}

.about-text {
  line-height: 1.8;
  margin-bottom: 15px;
}

.footer-certificate {
  margin-top: 10px;
}

.footer-certificate a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.footer-certificate img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
}

.footer-cr {
  font-size: 14px;
  opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links ul li a {
  color: white;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  padding-right: 5px;
}

/* تنسيقات الفوتر للوضع الفاتح */
[data-theme="light"] .footer {
  background-color: #14102a;
  color: white;
}

[data-theme="light"] .footer::before {
  background-image: url("../images/649e5bd81cfd46906ef81c9e_Elements-1.svg");
  opacity: 0.3;
}

[data-theme="light"] .footer-links h3,
[data-theme="light"] .footer-contact h3,
[data-theme="light"] .about-text,
[data-theme="light"] .footer-cr,
[data-theme="light"] .footer-bottom p,
[data-theme="light"] .footer-certificate a span {
  color: white;
}

[data-theme="light"] .footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .footer-links ul li a:hover {
  color: var(--primary-color);
}

[data-theme="light"] .footer-contact ul li span {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .footer-contact ul li i {
  color: var(--primary-color);
  color: rgb(169 157 242);

}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact ul li i {
  color: var(--secondary-color);
  font-size: 18px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social 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: white;
  transition: var(--transition);
}

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

[data-theme="light"] .footer-social a {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

[data-theme="light"] .footer-social a:hover {
  background-color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

[data-theme="light"] .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.8;
}

/* تطبيق الألوان على العناصر في الوضع المظلم */
[data-theme="dark"] .header.scrolled {
  background-color: rgba(20, 16, 42, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .header.scrolled .nav-links li a {
  color: white;
  text-shadow: none;
}

[data-theme="dark"] .header.scrolled .nav-links li a.active,
[data-theme="dark"] .header.scrolled .nav-links li a:hover {
  color: var(--secondary-color);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .portfolio-item,
[data-theme="dark"] .partner-logo,
[data-theme="dark"] .contact-form {
  background-color: var(--bg-color-alt);
  border-color: var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .testimonial-card:hover,
[data-theme="dark"] .portfolio-item:hover,
[data-theme="dark"] .partner-logo:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--secondary-color);
}

[data-theme="dark"] .about-section {
  background-color: var(--primary-dark);
}

[data-theme="dark"] .section-title h2,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .about-text h2,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: #ffffff;
}

[data-theme="dark"] .section-title p,
[data-theme="dark"] .service-card p,
[data-theme="dark"] .about-text p,
[data-theme="dark"] p,
[data-theme="dark"] li,
[data-theme="dark"] span {
  color: var(--text-color-muted);
}

[data-theme="dark"] a {
  color: var(--secondary-color);
}

[data-theme="dark"] a:hover {
  color: var(--primary-light);
}

[data-theme="dark"] .btn {
  background-color: var(--secondary-color);
  background-image: var(--secondary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(169, 157, 242, 0.3);
}

[data-theme="dark"] .btn:hover {
  background-color: var(--primary-color);
  background-image: none;
  box-shadow: 0 8px 25px rgba(169, 157, 242, 0.5);
}

[data-theme="dark"] .contact-btn {
  background-color: var(--secondary-color);
  background-image: var(--secondary-gradient);
  color: #ffffff;
}

[data-theme="dark"] .nav-links li a {
  color: #ffffff;
}

[data-theme="dark"] .nav-links li a.active,
[data-theme="dark"] .nav-links li a:hover {
  color: var(--secondary-color);
}

[data-theme="dark"] .nav-links li a {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .nav-links li a.active,
[data-theme="dark"] .nav-links li a:hover {
  color: var(--secondary-color);
  text-shadow: 0 0 8px rgba(169, 157, 242, 0.7);
}

[data-theme="dark"] .nav-links li a.active::after,
[data-theme="dark"] .nav-links li a:hover::after {
  background-color: var(--secondary-color);
  box-shadow: 0 0 8px rgba(169, 157, 242, 0.8);
}

[data-theme="dark"] .mobile-toggle {
  color: #ffffff;
}

[data-theme="dark"] .theme-toggle {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .theme-toggle:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .hero-content h1,
[data-theme="dark"] .hero-content p {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .hero-btn {
  background-color: var(--secondary-color);
  background-image: var(--secondary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-btn:hover {
  background-color: #ffffff;
  background-image: none;
  color: var(--primary-dark);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* تنسيقات الفوتر للوضع المظلم تبقى كما هي */
[data-theme="dark"] .footer {
  background-color: #14102a;
}

[data-theme="dark"] .footer::before {
  background-image: url("../images/649e5bd81cfd46906ef81c9e_Elements-1.svg");
}

[data-theme="dark"] .footer-links h3,
[data-theme="dark"] .footer-contact h3 {
  color: #ffffff;
}

[data-theme="dark"] .footer-links ul li a {
  color: #d0d0d0;
}

[data-theme="dark"] .footer-links ul li a:hover {
  color: var(--secondary-color);
}

[data-theme="dark"] .footer-contact ul li i {
  color: var(--secondary-color);
}

[data-theme="dark"] .footer-contact ul li span {
  color: #d0d0d0;
}

[data-theme="dark"] .footer-social a {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

[data-theme="dark"] .footer-social a:hover {
  background-color: var(--secondary-color);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
  background-color: var(--bg-color-alt);
  border-color: var(--border-color);
  color: #ffffff;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(169, 157, 242, 0.3);
}

/* التصميم المتجاوب */
@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(65, 47, 144, 0.98) 0%, rgba(138, 125, 219, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 100px 30px 40px;
    z-index: 999;
    overflow-y: auto;
  }

  [data-theme="dark"] .nav {
    background: linear-gradient(135deg, rgba(20, 16, 42, 0.98) 0%, rgba(65, 47, 144, 0.95) 100%);
  }

  .nav.active {
    right: 0;
  }

  /* زر إغلاق القائمة */
  .nav::before {
    content: "✕";
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }

  .nav::before:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
  }

  .nav-links {
    flex-direction: column;
    gap: 8px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: none !important;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid transparent;
  }

  .nav-links li a:hover,
  .nav-links li a.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    color: white !important;
    transform: translateX(-5px);
  }

  .nav-links li a.active::after {
    display: none;
  }

  .mobile-toggle {
    display: flex !important;
    z-index: 1000;
  }

  .header {
    width: 95%;
    padding: 8px 15px;
  }

  .hero-section {
    height: auto;
    min-height: 100vh;
  }

  .hero-section .container {
    flex-direction: column;
    text-align: center;
    padding-top: 12px;
    padding-bottom: 80px;
  }

  .hero-content {
    margin-bottom: 50px;
  }

  .about-content {
    flex-direction: column;
  }

  .about-text {
    text-align: center;
    margin-bottom: 40px;
  }

  .about-actions {
    justify-content: center;
  }

  .contact-content {
    flex-direction: column;
  }

  .contact-info {
    margin-top: 30px;
  }

  .section {
    padding: 60px 0;
  }

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

  .footer {
    padding: 50px 0 20px;
  }

  .footer-content {
    gap: 30px;
  }

  .footer-links h3::after,
  .footer-contact h3::after {
    right: 50%;
    transform: translateX(50%);
  }

  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-contact ul li {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header {
    width: 95%;
    padding: 8px 15px;
    top: 15px;
  }

  .logo img {
    height: 35px;
  }

  .header.scrolled .logo img {
    height: 30px;
  }

  .contact-btn {
    display: none;
  }

  .nav-links li a {
    font-size: 0.9rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .portfolio-image {
    height: 200px;
  }

  .portfolio-image img {
    max-height: none;
  }

  .portfolio-item:hover .portfolio-image img {
    top: calc(-100% + -346px)
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-actions {
    flex-direction: column;
    gap: 10px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .mobile-flex-column {
    flex-direction: column;
  }

  .mobile-text-center {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .header {
    width: 95%;
    padding: 6px 12px;
    top: 10px;
  }

  .logo img {
    height: 30px;
  }

  .header.scrolled {
    top: 8px;
  }

  .header.scrolled .logo img {
    height: 28px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-btn {
    padding: 10px 25px;
    font-size: 1rem;
  }

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

  .portfolio-image {
    height: 180px;
  }

  .portfolio-image img {
    max-height: none;
  }

  .portfolio-item:hover .portfolio-image img {
    top: calc(-100% + 180px);
  }

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

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

  /* قسم الشركاء */
  .partners-section {
    padding: 60px 0;
    background-color: var(--bg-color-alt);
    position: relative;
    overflow: hidden;
  }

  .partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
  }

  .partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
  }

  .partner-logo {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 120px;
    position: relative;
    overflow: hidden;
  }

  .partner-logo img {
    max-width: 100%;
    max-height: 80px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
  }

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

  .partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
  }

  /* تأثيرات الحركة */
  .partner-logo {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
  }

  .partner-logo:nth-child(2) {
    animation-delay: 0.1s;
  }

  .partner-logo:nth-child(3) {
    animation-delay: 0.2s;
  }

  .partner-logo:nth-child(4) {
    animation-delay: 0.3s;
  }

  .partner-logo:nth-child(5) {
    animation-delay: 0.4s;
  }

  .partner-logo:nth-child(6) {
    animation-delay: 0.5s;
  }

  .partner-logo:nth-child(7) {
    animation-delay: 0.6s;
  }

  .partner-logo:nth-child(8) {
    animation-delay: 0.7s;
  }

  .partner-logo:nth-child(9) {
    animation-delay: 0.8s;
  }

  .partner-logo:nth-child(10) {
    animation-delay: 0.9s;
  }

  /* تعديلات الوضع الداكن */
  [data-theme="dark"] .partners-section {
    background-color: var(--bg-color);
  }

  [data-theme="dark"] .partner-logo {
    background-color: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  [data-theme="dark"] .partner-logo:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }

  /* تعديلات للشاشات المتوسطة */
  @media (max-width: 992px) {
    .partners-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  /* تعديلات للشاشات الصغيرة */
  @media (max-width: 576px) {
    .partners-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}

.hero-section.full-width {
  background-color: var(--bg-color);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-background {
  background-image: url("../images/649e5bd81cfd46906ef81c9e_Elements-1.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.4;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

[data-theme="light"] .nav-links li a,
[data-theme="light"] .header.scrolled .nav-links li a,
[data-theme="light"] .theme-toggle,
[data-theme="light"] .mobile-toggle {
  color: rgb(0, 0, 0);

}

[data-theme="light"] .header.scrolled .logo img {
  height: 35px;
  filter: brightness(0.5);
}

[data-theme="light"] .logo-item {

  filter: brightness(0.5);
}

[data-theme="dark"] .header.scrolled {
  background-color: rgba(20, 16, 42, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background-color: rgba(65, 47, 144, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
}

.page-header {
  margin: 8rem 0 0 0;
}

/* قسم كاشف الثيمات */
.theme-detector-section {
  padding: 80px 0;
  background-color: var(--bg-color-alt);
}

.theme-detector-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.theme-detector-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.discounts-link {
  margin-top: 40px;
}

/* --- Single Page Application (SPA) Styles --- */
.spa-page {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  min-height: calc(100vh - 400px);
  /* Ensure enough height for transitions */
}

.spa-page.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Glassmorphism Navigation Enhancements */
.header .nav-links li a {
  position: relative;
  transition: color 0.3s ease;
}

.header .nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-purple));
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 10px;
}

.header .nav-links li a.active::after {
  width: 100%;
  left: 0;
}

/* Page Loading/Transition Overlay */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  z-index: 9999;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.page-transition-overlay.show {
  display: block;
  opacity: 1;
}

/* Animations for Section Entry */
@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.spa-page.active>* {
  animation: sectionFadeIn 0.6s ease-out forwards;
}

/* Responsive SPA Adjustments */
@media (max-width: 768px) {
  .spa-page {
    padding-top: 60px;
    /* Space for mobile header */
  }
}

/* --- Portfolio Specific Styles --- */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.portfolio-filter button {
  background-color: transparent;
  border: none;
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 20px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--border-radius);
  font-family: "Tajawal", sans-serif;
}

.portfolio-filter button:hover {
  color: var(--accent-color);
}

.portfolio-filter button.active {
  background-color: var(--primary-color);
  color: white;
}

.portfolio-item {
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-item.hide {
  display: none;
}

/* تعديل تأثير hover للصور الطويلة */
.portfolio-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.portfolio-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: top 1s ease-in-out;
}

.portfolio-item:hover .portfolio-image img {
  top: calc(-100% + 346px);
  /* Adjust based on element height */
}

/* Featured Sites Section */
.featured-sites-section {
  background-color: var(--bg-color-alt);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.featured-sites-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.packages-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 40px 0;
  position: relative;
  z-index: 1;
}

.package-tab {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Tajawal", sans-serif !important;
}

.package-tab:hover {
  background-color: rgba(var(--primary-rgb), 0.1);
}

.package-tab.active {
  background-color: var(--primary-color);
  color: white;
}

.sites-list {
  display: none;
  position: relative;
  z-index: 1;
}

.sites-list.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.site-card {
  background-color: var(--card-bg, white);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.site-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-purple));
  transition: all 0.3s ease;
}

.site-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 1);
}

.site-icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-purple));
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/* Video Gallery Section */
.video-gallery-section {
  background-color: var(--bg-color-alt);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.video-gallery-item {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.video-player {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
}

.video-player video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-details {
  padding: 20px;
}

.video-details h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-color-light);
}

.video-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Add Video Card (Coming Soon) */
.add-video-card {
  background-color: rgba(var(--primary-rgb), 0.05);
  border-radius: 15px;
  overflow: hidden;
  border: 2px dashed rgba(var(--primary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  transition: all 0.3s ease;
}

.add-video-content {
  text-align: center;
  padding: 30px;
}

.add-video-content i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════
   المزيد من أنماط الصفحات (الدفع، الخصومات، التواصل)
   ═══════════════════════════════════════════════════════════════ */

/* أنماط صفحة الدفع */
.payment-section {
  padding: 60px 0;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.payment-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  overflow: hidden;
}

.payment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.payment-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: rgba(var(--primary-rgb), 0.05);
  border-bottom: 1px solid var(--border-color);
}

.payment-card-header h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin: 0;
}

.payment-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payment-info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-info-item>span {
  font-weight: 500;
  color: var(--text-color);
}

.copy-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.copy-wrapper input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--input-bg);
  color: var(--text-color);
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
}

.copy-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

/* أنماط أكواد الخصم */
.discounts-section {
  padding: 80px 0;
}

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

.discount-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.discount-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.coupon-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 10px 15px;
  margin-top: 20px;
}

.coupon-code {
  font-weight: bold;
  color: var(--primary-color);
}

/* أنماط صفحة التواصل */
.contact-content-section {
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
}

.contact-info-box,
.contact-form-box {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-list li {
  display: flex;
  gap: 15px;
  align-items: center;
}

.contact-info-list .icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.contact-info-list .info h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

/* أنماط التبويبات في النموذج */
.contact-tabs {
  margin-top: 30px;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--input-bg);
  color: var(--text-color);
}

/* ========================================
   صفحة من نحن - About Page Styles
   ======================================== */

.about-content-centered {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 30px 20px;
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-text-centered {
  padding: 20px;
}

.about-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b2fd3, #58a5d5);
  color: white;
  box-shadow: 0 10px 20px rgb(106 51 211 / 37%);
}

.about-icon .svg-icon {
  width: 50px;
  height: 50px;
  fill: white;
}

.about-text-centered h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.about-text-centered h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-purple));
  border-radius: 3px;
}

.about-text-centered p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-color);
}

/* قسم الرؤية والرسالة */
.vision-mission-content-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.vision-box,
.mission-box {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: 30px;
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.vision-box:hover,
.mission-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.vision-icon,
.mission-icon {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.vision-icon .svg-icon,
.mission-icon .svg-icon {
  width: 40px;
  height: 40px;
  fill: white;
}

.vision-icon {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
}

.mission-icon {
  background: linear-gradient(135deg, #ff4e50, #f9d423);
  box-shadow: 0 10px 20px rgba(255, 78, 80, 0.3);
}

.vision-box h3,
.mission-box h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.vision-box p,
.mission-box p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
}

/* قسم القيم */
.section-title-centered {
  text-align: center;
  margin-bottom: 50px;
}

.values-icon {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-purple));
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.values-icon .svg-icon {
  width: 40px;
  height: 40px;
  fill: white;
}

.section-title-centered h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.section-title-centered h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-purple));
  border-radius: 3px;
}

.values-grid-centered {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  padding: 30px;
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 2rem;
  color: white;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

.value-icon .svg-icon {
  width: 35px;
  height: 35px;
  fill: white;
}

.value-card:nth-child(1) .value-icon {
  background: linear-gradient(135deg, #11998e, #38ef7d);
  box-shadow: 0 10px 20px rgba(17, 153, 142, 0.3);
}

.value-card:nth-child(2) .value-icon {
  background: linear-gradient(135deg, #fc4a1a, #f7b733);
  box-shadow: 0 10px 20px rgba(252, 74, 26, 0.3);
}

.value-card:nth-child(3) .value-icon {
  background: linear-gradient(135deg, #0052d4, #4364f7);
  box-shadow: 0 10px 20px rgba(0, 82, 212, 0.3);
}

.value-card:nth-child(4) .value-icon {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  box-shadow: 0 10px 20px rgba(142, 45, 226, 0.3);
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.value-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* قسم الدعوة للتواصل */
.cta-content-centered {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-purple));
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.3);
  position: relative;
  overflow: hidden;
}

.cta-content-centered:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: cover;
}

.cta-icon {
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-icon .svg-icon {
  width: 50px;
  height: 50px;
  fill: white;
}

.cta-content-centered h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.cta-content-centered p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-glow {
  background: white;
  color: var(--primary-color);
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.btn-glow .svg-icon {
  width: 24px;
  height: 24px;
  fill: var(--primary-color);
}

.btn-glow:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  animation: glow 3s infinite;
  z-index: -1;
}

@keyframes glow {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.btn-glow:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* About Page Responsive */
@media (max-width: 768px) {
  .about-content-centered {
    padding: 20px 15px;
  }

  .about-icon {
    width: 80px;
    height: 80px;
  }

  .about-icon .svg-icon {
    width: 40px;
    height: 40px;
  }

  .about-text-centered h2 {
    font-size: 2rem;
  }

  .vision-box,
  .mission-box {
    padding: 25px;
  }

  .vision-icon,
  .mission-icon {
    width: 70px;
    height: 70px;
  }

  .vision-box h3,
  .mission-box h3 {
    font-size: 1.6rem;
  }

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

  .values-icon {
    width: 70px;
    height: 70px;
  }

  .value-card {
    padding: 25px;
  }

  .value-icon {
    width: 60px;
    height: 60px;
  }

  .value-card h3 {
    font-size: 1.4rem;
  }

  .cta-content-centered {
    padding: 40px 20px;
  }

  .cta-icon {
    width: 80px;
    height: 80px;
  }

  .cta-content-centered h2 {
    font-size: 2rem;
  }

  .cta-content-centered p {
    font-size: 1.1rem;
  }

  .btn-glow {
    padding: 12px 25px;
    font-size: 1.1rem;
  }
}

/* ========================================
   صفحة الخدمات - Services Page Styles
   ======================================== */

/* Services Icons Gradient Backgrounds */
:root {
  --icon-bg-1: linear-gradient(135deg, #6a11cb, #2575fc);
  --icon-bg-2: linear-gradient(135deg, #ff4e50, #f9d423);
  --icon-bg-3: linear-gradient(135deg, #11998e, #38ef7d);
  --icon-bg-4: linear-gradient(135deg, #8e2de2, #4a00e0);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
}

.service-card:nth-child(1):before {
  background: var(--icon-bg-1);
}

.service-card:nth-child(2):before {
  background: var(--icon-bg-2);
}

.service-card:nth-child(3):before {
  background: var(--icon-bg-3);
}

.service-card:nth-child(4):before {
  background: var(--icon-bg-4);
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

.service-icon .svg-icon {
  width: 40px;
  height: 40px;
  fill: white;
}

.service-card:nth-child(1) .service-icon {
  background: var(--icon-bg-1);
  box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
}

.service-card:nth-child(2) .service-icon {
  background: var(--icon-bg-2);
  box-shadow: 0 10px 20px rgba(255, 78, 80, 0.3);
}

.service-card:nth-child(3) .service-icon {
  background: var(--icon-bg-3);
  box-shadow: 0 10px 20px rgba(17, 153, 142, 0.3);
}

.service-card:nth-child(4) .service-icon {
  background: var(--icon-bg-4);
  box-shadow: 0 10px 20px rgba(142, 45, 226, 0.3);
}

.service-card h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.service-card h3:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

.service-card p {
  margin-bottom: 25px;
  line-height: 1.7;
  color: var(--text-color);
}

.service-features {
  text-align: right;
  margin-bottom: 30px;
  padding: 0 20px;
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-color);
}

.check-icon {
  color: var(--primary-color);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.service-card .btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-purple));
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.service-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.4);
}

/* Primary Glow Button */
.btn-primary-glow {
  background: white;
  color: var(--primary-color);
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary-glow .svg-icon {
  width: 24px;
  height: 24px;
  fill: var(--primary-color);
}

.btn-primary-glow:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  animation: glow 3s infinite;
  z-index: -1;
}

.btn-primary-glow:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Services Page Responsive */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 30px 20px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
  }

  .service-icon .svg-icon {
    width: 35px;
    height: 35px;
  }

  .service-card h3 {
    font-size: 1.6rem;
  }

  .btn-primary-glow {
    padding: 12px 25px;
    font-size: 1.1rem;
  }
}

/* Salla Discounts Section */
.discounts-section {
  padding: 80px 0;
}

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

.discount-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.discount-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.discount-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.discount-card p {
  color: var(--text-color);
  margin-bottom: 20px;
}

.discount-card .btn {
  width: 100%;
}

.coupon-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 10px 15px;
  margin-bottom: 20px;
  position: relative;
}

.coupon-container p {
  margin: 0;
  font-size: 0.9rem;
}

.coupon-code {
  font-weight: bold;
  color: var(--primary-color);
}

.copy-btn {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 1.2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn .tooltip {
  visibility: hidden;
  width: 100px;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  margin-left: -50px;
  opacity: 0;
  transition: opacity 0.3s;
}

.copy-btn .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--primary-color) transparent transparent transparent;
}

.copy-btn.copied .tooltip {
  visibility: visible;
  opacity: 1;
}

.discount-card.full-width-card {
  grid-column: 1 / -1;
  background-color: rgba(126, 86, 249, 0.1);
  border: 2px solid var(--primary-color);
}

/* أنماط خاصة بصفحة التواصل */
.contact-content-section {
  background-color: var(--bg-color);
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-box,
.contact-form-box {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

[data-theme="dark"] .contact-info-box,
[data-theme="dark"] .contact-form-box {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-info-box h2,
.contact-form-box h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.contact-info-box p,
.contact-form-box p {
  margin-bottom: 30px;
  color: var(--text-color);
  text-align: center;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-list li {
  display: flex;
  gap: 15px;
  align-items: center;
}

.contact-info-list .icon {
  width: 50px;
  height: 50px;
  background-color: var(--light-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white-color);
  transition: all 0.3s ease;
}

.contact-info-list .info h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.contact-info-list .info p {
  margin-bottom: 0;
  text-align: right;
}

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

.contact-info-list .info p a:hover {
  color: var(--secondary-purple);
  text-decoration: underline;
}

.contact-whatsapp-btn {
  margin-top: 30px;
}

.btn-whatsapp {
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  transform: translateY(-3px);
}

/* تحسين نموذج الاتصال */
.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--input-bg);
  color: var(--text-color);
  transition: all 0.3s ease;
  font-family: "Tajawal", sans-serif !important;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238a7ddb' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3Csvg%3E");
  background-repeat: no-repeat;
  background-position: left 15px center;
  padding-left: 40px;
}

[data-theme="dark"] .contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a99df2' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3Csvg%3E");
}

.contact-form button {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-purple));
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
  font-family: "Tajawal", sans-serif !important;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 50px;
}

[data-theme="dark"] .map-container {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  filter: grayscale(20%) invert(10%);
}

/* تعديلات للوضع الداكن */
[data-theme="dark"] .contact-info-list .icon {
  background-color: var(--primary-color);
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
  background-color: var(--dark-input-bg);
  border-color: var(--dark-border-color);
}

/* تصميم متجاوب */
@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .contact-info-box,
  .contact-form-box {
    padding: 30px 20px;
  }
}

/* زر واتساب عائم */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 25px;
  }
}

/* أنماط التبويبات */
.contact-tabs {
  width: 100%;
  margin-bottom: 30px;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.tab-btn {
  padding: 15px 25px;
  border-radius: 12px;
  border: none;
  background-color: rgba(126, 86, 249, 0.2);
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Tajawal", sans-serif;
  font-size: 1rem;
  flex: 1;
  max-width: 200px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tab-btn.active {
  background: linear-gradient(135deg, #5e3bee, #7d56f9);
  color: white;
  box-shadow: 0 8px 20px rgba(94, 59, 238, 0.3);
}

.tab-btn:hover:not(.active) {
  background-color: rgba(126, 86, 249, 0.3);
  transform: translateY(-2px);
}

.tab-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 1;
}

.tab-btn.active:hover::before {
  transform: translateX(100%);
}

.tab-content {
  position: relative;
  z-index: 0;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-theme="dark"] .tab-btn {
  background-color: rgba(126, 86, 249, 0.3);
  color: white;
}

[data-theme="dark"] .tab-btn.active {
  background: linear-gradient(135deg, #5e3bee, #7d56f9);
  color: white;
}

@media (max-width: 576px) {
  .tab-buttons {
    flex-direction: row;
    align-items: center;
  }

  .tab-btn {
    width: 100%;
    max-width: 100%;
    padding: 12px 15px;
    font-size: 0.9rem;
  }
}

/* Payment Page Styles */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.payment-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  overflow: hidden;
}

.payment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.payment-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: rgba(var(--primary-rgb), 0.05);
  border-bottom: 1px solid var(--border-color);
}

.payment-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.payment-card-header h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin: 0;
}

.payment-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payment-info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-info-item>span {
  font-weight: 500;
  color: var(--text-color);
}

.payment-footer {
  margin-top: 50px;
  padding: 30px;
  background-color: var(--bg-color-alt);
  border-radius: 15px;
  text-align: center;
}

.payment-footer h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.payment-footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  display: inline-block;
  text-align: right;
}

.payment-footer ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.payment-footer ul li i {
  color: var(--accent-color);
}

.whatsapp-btn {
  background-color: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background-color: #1EBE59;
}

.btn-outline {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 15px;
  border-radius: 8px;
  display: inline-block;
}

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

[data-theme="dark"] .payment-card-header {
  background-color: rgba(var(--primary-rgb), 0.2);
}

[data-theme="dark"] .payment-footer {
  background-color: var(--bg-color-alt);
}

/* --- Video Gallery Section Styles --- */
.video-gallery-section {
  padding: 80px 0;
  background-color: var(--bg-color);
  position: relative;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.video-card {
  background: var(--card-bg, rgba(255, 255, 255, 0.05));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
}

.video-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.video-card:hover .video-thumbnail video {
  transform: scale(1.1);
}

.video-thumbnail .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(var(--primary-rgb), 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.6);
  animation: pulse-play 2s infinite;
}

@keyframes pulse-play {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.6);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(var(--primary-rgb), 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
  }
}

.video-card:hover .play-button {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 25px;
  text-align: right;
}

.video-info h3 {
  color: var(--text-color);
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.video-info p {
  color: var(--text-muted, #888);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-thumbnail .play-button {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }
}

/* --- ANIMATIONS & EFFECTS (Imported) --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}

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

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* --- SCROLLING LOGOS (Imported) --- */
.scrolling-logos-container {
  --speed: 40s;
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  direction: ltr;
}

.scrolling-logos {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  animation: scroll var(--speed) linear infinite;
  width: max-content;
}

.logo-item {
  flex: 0 0 auto;
  width: 183px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.logo-item img {
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: all 0.3s ease;
}

[data-theme="light"] .logo-item img {
  filter: brightness(0.5);
}

.logo-item:hover img {
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* --- HELP SECTION (Imported) --- */
.help-section {
  padding: 80px 0;
  background-color: var(--bg-color-alt);
  border-radius: 20px;
  margin: 50px 0;
  border: 1px solid var(--border-color);
}

.help-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.help-card {
  background-color: var(--bg-color-card);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
}

.help-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.help-card-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white-color);
  font-size: 30px;
}

/* --- SVG ICONS (Imported) --- */
.svg-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: currentColor;
  overflow: visible;
  /* Fix clipping */
}

/* Ensure centered icons are perfectly aligned */
.stat-icon .svg-icon,
.service-icon .svg-icon,
.about-icon .svg-icon,
.about-icon-centered .svg-icon,
.vision-icon .svg-icon,
.mission-icon .svg-icon,
.values-icon .svg-icon,
.value-icon .svg-icon {
  display: block;
  margin: auto;
  width: 100%;
  height: 100%;
}

/* Adjust size for specific icons where needed */
.stat-icon .svg-icon {
  width: 35px;
  height: 35px;
}

.service-icon .svg-icon {
  width: 40px;
  height: 40px;
}

.about-icon .svg-icon,
.about-icon-centered .svg-icon {
  width: 45px;
  height: 45px;
}

.vision-icon .svg-icon,
.mission-icon .svg-icon {
  width: 40px;
  height: 40px;
}

.value-icon .svg-icon {
  width: 35px;
  height: 35px;
}

.svg-icon.fa-lg {
  font-size: 1.33333em;
}

.svg-icon.fa-2x {
  font-size: 2em;
}

.svg-icon.fa-spin {
  animation: svg-icon-spin 2s infinite linear;
}

@keyframes svg-icon-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* --- Liquid Background Blobs --- */
.liquid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.liquid-bg .blob {
  position: absolute;
  width: 45vw;
  height: 45vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  mix-blend-mode: screen;
  will-change: transform;
}

[data-theme="light"] .liquid-bg .blob {
  mix-blend-mode: normal;
  opacity: 0.2;
  filter: blur(90px);
  background: radial-gradient(circle, rgba(138, 125, 219, 0.5) 0%, transparent 70%);
}

.liquid-bg .blob:nth-child(1) {
  top: -15%;
  left: -5%;
  background: radial-gradient(circle, #8a7ddb 0%, transparent 70%);
  animation: blobMove1 25s infinite alternate ease-in-out;
}

.liquid-bg .blob:nth-child(2) {
  top: 5%;
  right: -10%;
  background: radial-gradient(circle, #6c63ff 0%, transparent 70%);
  animation: blobMove2 30s infinite alternate-reverse ease-in-out;
}

.liquid-bg .blob:nth-child(3) {
  bottom: -15%;
  left: 15%;
  background: radial-gradient(circle, #a99df2 0%, transparent 70%);
  animation: blobMove3 35s infinite alternate ease-in-out;
}

.liquid-bg .blob:nth-child(4) {
  bottom: 0%;
  right: 5%;
  background: radial-gradient(circle, #412f90 0%, transparent 70%);
  animation: blobMove1 28s infinite alternate-reverse ease-in-out;
}

.liquid-bg .blob:nth-child(5) {
  top: 35%;
  left: 35%;
  background: radial-gradient(circle, #ffffff 0%, transparent 70%);
  opacity: 0.15;
  animation: blobMove2 32s infinite alternate ease-in-out;
}

@keyframes blobMove1 {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(15%, 10%) scale(1.15);
  }
}

@keyframes blobMove2 {
  from {
    transform: translate(0, 0) scale(1.15);
  }

  to {
    transform: translate(-15%, 15%) scale(1);
  }
}

@keyframes blobMove3 {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(15%, -15%) scale(1.2);
  }
}

/* --- Page-Wide Liquid Background (Subtle & Hidden) --- */
.page-liquid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
  filter: blur(120px);
  background: var(--bg-color);
  transition: opacity 0.5s ease;
}

[data-theme="dark"] .page-liquid-bg {
  opacity: 0.35;
}

[data-theme="light"] .page-liquid-bg {
  opacity: 1;
  background: #ffffff;
  mix-blend-mode: normal;
}

[data-theme="light"] .page-blob {
  mix-blend-mode: normal;
  /* Change from multiply to normal for clarity */
  opacity: 0.15;
  /* Slightly increase opacity */
  filter: blur(100px);
}

[data-theme="light"] .page-blob:nth-child(1) {
  background: radial-gradient(circle, rgba(138, 125, 219, 0.8) 0%, transparent 70%);
}

[data-theme="light"] .page-blob:nth-child(2) {
  background: radial-gradient(circle, rgba(108, 99, 255, 0.8) 0%, transparent 70%);
}

[data-theme="light"] .page-blob:nth-child(3) {
  background: radial-gradient(circle, rgba(240, 147, 251, 0.8) 0%, transparent 70%);
}

[data-theme="light"] .page-blob:nth-child(4) {
  background: radial-gradient(circle, rgba(79, 172, 254, 0.8) 0%, transparent 70%);
}

[data-theme="light"] .page-blob:nth-child(5) {
  background: radial-gradient(circle, rgba(169, 157, 242, 0.8) 0%, transparent 70%);
}

.page-blob {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  opacity: 0.25;
  will-change: transform;
}

.page-blob:nth-child(1) {
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, #8a7ddb 0%, transparent 70%);
  animation: pageBlobMove1 40s infinite alternate ease-in-out;
}

.page-blob:nth-child(2) {
  top: 10%;
  right: -20%;
  background: radial-gradient(circle, #6c63ff 0%, transparent 70%);
  animation: pageBlobMove2 50s infinite alternate-reverse ease-in-out;
}

.page-blob:nth-child(3) {
  bottom: -20%;
  left: 5%;
  background: radial-gradient(circle, #f093fb 0%, transparent 70%);
  animation: pageBlobMove3 60s infinite alternate ease-in-out;
}

.page-blob:nth-child(4) {
  bottom: 0%;
  right: 0%;
  background: radial-gradient(circle, #4facfe 0%, transparent 70%);
  animation: pageBlobMove1 45s infinite alternate-reverse ease-in-out;
}

.page-blob:nth-child(5) {
  top: 35%;
  left: 30%;
  background: radial-gradient(circle, #a99df2 0%, transparent 70%);
  opacity: 0.15;
  animation: pageBlobMove2 55s infinite alternate ease-in-out;
}

@keyframes pageBlobMove1 {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  100% {
    transform: translate(15%, 10%) rotate(45deg) scale(1.1);
  }
}

@keyframes pageBlobMove2 {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1.1);
  }

  100% {
    transform: translate(-10%, 15%) rotate(-45deg) scale(0.95);
  }
}

@keyframes pageBlobMove3 {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  100% {
    transform: translate(10%, -15%) rotate(90deg) scale(1.15);
  }
}

[data-theme="dark"] .stores-actions span {
  color: white;
}

/* Contact Section Enhancements */
.contact-card-modern {
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

/* Glassmorphism Effect */
[data-theme="dark"] .contact-card-modern {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-header p {
  color: var(--text-color-light);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover {
  background: rgba(var(--primary-rgb), 0.05);
  border-radius: var(--border-radius);
  padding-left: 25px;
  /* Effect on hover */
}

.contact-text {
  text-align: right;
}

.contact-text h3 {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-text span {
  font-size: 1.1rem;
  color: var(--text-color);
  font-weight: 500;
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon-box {
  background: var(--primary-color);
  color: white;
  transform: rotate(10deg);
}

.contact-icon-box svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* WhatsApp Full Button */
.whatsapp-full-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px;
  margin-top: 30px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-full-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
  color: white;
}

.whatsapp-full-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Response */
@media (max-width: 480px) {
  .contact-card-modern {
    padding: 25px;
  }

  .contact-header h2 {
    font-size: 1.5rem;
  }
}

/* Contact Grid Layout */
.contact-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.contact-card-modern,
.contact-form-card {
  height: 100%;
  position: relative;
  overflow: hidden;
  /* Glassmorphism Base */
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--box-shadow);
  padding: 40px;
}

/* Dark Mode - Better Glassmorphism to match site background */
[data-theme="dark"] .contact-card-modern,
[data-theme="dark"] .contact-form-card {
  background: rgba(15, 15, 26, 0.4);
  /* Much more transparent */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Icons Fix */
.contact-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(94, 59, 238, 0.1);
  /* Subtle default bg */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

[data-theme="dark"] .contact-icon-box {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  /* White icon in dark mode for better visibility */
}

.contact-icon-box svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Form Tabs Fix */
.form-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  background: rgba(0, 0, 0, 0.05);
  padding: 5px;
  border-radius: 12px;
  position: relative;
  z-index: 20;
  /* Ensure clickable */
}

[data-theme="dark"] .form-tabs {
  background: rgba(255, 255, 255, 0.05);
}

.form-tab {
  flex: 1;
  padding: 12px;
  border: none;
  background: transparent;
  color: var(--text-color);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 21;
}

.form-tab.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(94, 59, 238, 0.3);
}

/* Modern Form Inputs */
.modern-form .form-group {
  margin-bottom: 20px;
  position: relative;
  z-index: 5;
}

.modern-form input,
.modern-form select,
.modern-form textarea {
  width: 100%;
  padding: 15px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-color);
  font-family: inherit;
  transition: all 0.3s ease;
}

[data-theme="dark"] .modern-form input,
[data-theme="dark"] .modern-form select,
[data-theme="dark"] .modern-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  background: rgba(94, 59, 238, 0.05);
}

.modern-form button[type="submit"] {
  position: relative;
  z-index: 10;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid-wrapper {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 480px) {

  .contact-card-modern,
  .contact-form-card {
    padding: 25px;
  }

  .contact-header h2 {
    font-size: 1.5rem;
  }
}

/* Salla Discounts Section Styles */
.discounts-section {
  padding: 60px 0;
}

.discounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  padding: 20px 0;
}

.discount-card {
  background: rgba(30, 30, 45, 0.8);
  /* Darker, more opaque background */
  border: 1px solid rgba(138, 125, 219, 0.2);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: visible;
  /* changed from hidden to visible for tooltips */
  z-index: 10;
  /* Ensure above background */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .discount-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.discount-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(94, 59, 238, 0.15);
  border-color: rgba(94, 59, 238, 0.3);
}

.full-width-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(94, 59, 238, 0.1), rgba(42, 42, 74, 0.4));
  border: 1px solid rgba(94, 59, 238, 0.2);
}

[data-theme="light"] .full-width-card {
  background: linear-gradient(135deg, rgba(94, 59, 238, 0.05), rgba(74, 144, 226, 0.05));
}

.discount-card h3 {
  font-size: 1.4rem;
  color: var(--primary-light);
  margin-bottom: 15px;
  font-weight: 700;
}

[data-theme="light"] .discount-card h3 {
  color: var(--primary-color);
}

.discount-card p {
  color: var(--text-color-muted);
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.discount-card a {
  color: var(--accent-color);
  word-break: break-all;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: border-color 0.3s;
}

.discount-card a:hover {
  border-bottom-color: var(--accent-color);
}

.coupon-container {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}

[data-theme="light"] .coupon-container {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

.coupon-container:hover {
  background: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .coupon-container:hover {
  background: rgba(0, 0, 0, 0.05);
}

.coupon-code {
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 1.1rem;
  color: #4ade80;
  /* Green for success */
  letter-spacing: 1px;
}

[data-theme="light"] .coupon-code {
  color: #16a34a;
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--text-color-muted);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

[data-theme="light"] .copy-btn:hover {
  color: var(--primary-color);
  background: rgba(0, 0, 0, 0.05);
}

.copy-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Tooltip behavior */
.copy-btn .tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #4ade80;
  color: #000;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  white-space: nowrap;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.copy-btn.copied .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

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

  .full-width-card {
    grid-column: 1;
  }
}

.tool-page-wrapper {
  padding: 130px 0 !important;
}

.stat-item {
  justify-items: center;
}

.stat-icon {
  align-content: center;
}

section#creators-tools {
  display: none;
}