/* ========== المتغيرات والأساسيات ========== */
:root {
    --primary-color: #FF338F;
    --secondary-color: #6e45e2;
    --accent-color: #88d3ce;
    --text-color: #FFFFFF;
    --background-dark: #0A0A0A;
    --background-darker: #050505;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }
  
  /* ========== إعادة الضبط والأساسيات ========== */
  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  /* ========== الطباعة ========== */
  @media print {
    body {
      background-color: white;
      color: black;
      font-size: 12pt;
    }
    
    .chatbot-btn,
    .mobile-nav,
    .animated-background {
      display: none !important;
    }
  }
  
  /* ========== العناصر العامة ========== */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  section {
    padding: 100px 0;
    position: relative;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 1rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
  }
  
  a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
  }
  
  /* ========== الشريط العلوي ========== */
  header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition);
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  /* ========== القائمة الرئيسية ========== */
  .desktop-menu {
    display: flex;
    gap: 15px;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 10px 20px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
  }
  
  .desktop-menu a {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    gap: 8px;
  }
  
  .desktop-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,51,143,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
  }
  
  .desktop-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
  }
  
  .desktop-menu a:hover::before {
    opacity: 1;
  }
  
  .desktop-menu a:hover .material-icons-round {
    transform: scale(1.2);
    color: var(--primary-color);
  }
  
  .desktop-menu a.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 51, 143, 0.3);
  }
  
  .desktop-menu a.active .material-icons-round {
    color: white;
    transform: scale(1.1);
  }
  
  .desktop-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    animation: pulseDot 1.5s infinite;
  }
  
  @keyframes pulseDot {
    0% { transform: translateX(-50%) scale(1); opacity: 1; }
    70% { transform: translateX(-50%) scale(2.5); opacity: 0.3; }
    100% { transform: translateX(-50%) scale(1); opacity: 1; }
  }
  
  /* ========== زر CTA ========== */
  .cta-button {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
  }
  
  .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 51, 143, 0.3);
  }
  
  /* ========== قسم البطل ========== */
  .hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    text-align: center;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--primary-color);
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 30px;
  }
  
  .hero-image {
    position: relative;
    max-width: 400px;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
  }
  
  .hero-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
  }
  
  .hero-image:hover img {
    transform: scale(1.03);
  }
  
  .hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
  }
  
  .stat-item {
    text-align: center;
    min-width: 120px;
  }
  
  .stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
  }
  
  .stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
  }
  
  /* ========== معرض الأعمال ========== */
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
  }
  
  .portfolio-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1/1;
    position: relative;
    backdrop-filter: blur(10px);
    transition: var(--transition);
  }
  
  .portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .portfolio-item:hover img {
    transform: scale(1.05);
  }
  
  .portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .portfolio-item:hover .portfolio-overlay {
    opacity: 1;
  }
  
  .portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
  }
  
  .portfolio-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
  }
  
  /* ========== بطاقات الخدمات ========== */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    height: 100%;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 51, 143, 0.3);
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 51, 143, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .service-icon .material-icons-round,
  .service-icon .fas {
    font-size: 1.8rem;
    color: var(--primary-color);
  }
  
  .service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .service-desc {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 20px;
  }
  
  .service-features {
    list-style: none;
    margin-bottom: 25px;
  }
  
  .service-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    position: relative;
    padding-right: 25px;
  }
  
  .service-features li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    line-height: 0;
  }
  
  .service-cta {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    gap: 5px;
  }
  
  .service-cta:hover {
    transform: translateX(-5px);
  }
  
  /* ========== قسم التعليق الصوتي ========== */
  .voice-section {
    background: var(--background-darker);
  }
  
  .voice-samples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .voice-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(10px);
  }
  
  .voice-player {
    margin-bottom: 20px;
  }
  
  .player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .play-button {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
  }
  
  .play-button:hover {
    transform: scale(1.1);
  }
  
  .progress-container {
    flex-grow: 1;
  }
  
  .progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
  }
  
  .progress {
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    transition: width 0.1s linear;
  }
  
  .time {
    font-size: 0.8rem;
    opacity: 0.7;
    min-width: 40px;
  }
  
  /* ========== أنماط الريلز ========== */
.reels-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.reels-container::-webkit-scrollbar {
    display: none;
}

.reel-item {
    scroll-snap-align: start;
    min-width: 280px;
    width: 100%;
    max-width: 350px;
    flex: 0 0 auto;
    margin-bottom: 20px;
}

.reel-player {
  position: relative;
  aspect-ratio: 9/16;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reel-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  background: #000;
  opacity: 0; /* إخفاء الفيديو حتى يتم تحميله */
  transition: opacity 0.5s ease;
  border-radius: 16px;
}
.reel-video.ready {
  opacity: 1; /* إظهار الفيديو بعد التحميل */
}
.reel-player::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #0a0a0a, #1a1a1a);
  z-index: -1;
}
.reel-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.play-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.reel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.reel-progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s linear;
}

.reel-info {
    padding: 15px 10px;
    text-align: center;
}

.reel-info h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.reel-info p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ========== نافذة الريل الموسعة ========== */
.reel-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.reel-modal.active {
    opacity: 1;
    pointer-events: all;
}

.reel-modal-content {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 90vh;
  max-height: 80vh; /* تعديل لتحسين التناسب */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.reel-modal-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  border-radius: 8px;
}

.close-reel-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

@media (max-width: 768px) {
    .reel-item {
        min-width: 250px;
    }
    
    .reel-modal-content {
        max-width: 100%;
        height: 100vh;
        max-height: 100%;
        border-radius: 0;
    }
}
  
  /* ========== قسم آراء العملاء المحدث ========== */
.testimonials-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--background-darker) 0%, var(--background-dark) 100%);
    overflow: hidden;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,51,143,0.05) 0%, transparent 70%);
    animation: rotate-bg 60s linear infinite;
    z-index: 0;
}

@keyframes rotate-bg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b9e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.testimonials-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-container {
  display: flex;
  gap: 20px;
  padding: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.testimonials-container::-webkit-scrollbar {
    display: none;
}
.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  padding: 40px;
  min-width: 300px; /* الحجم الأدنى المناسب */
  max-width: 100%;
  width: 100%;
  flex: 0 0 auto;
  backdrop-filter: blur(12px);
  scroll-snap-align: start;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}


.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,51,143,0.1) 0%, transparent 100%);
    z-index: -1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 51, 143, 0.15);
    border-color: rgba(255, 51, 143, 0.3);
}

.quote-icon {
    color: var(--primary-color);
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 20px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    padding-right: 20px;
}

.testimonial-text::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 0;
    color: var(--primary-color);
    font-size: 4rem;
    font-family: serif;
    line-height: 1;
    opacity: 0.2;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-left: 20px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 51, 143, 0.2);
}

.client-details {
    flex: 1;
}

.client-name {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.client-position {
    font-size: 0.85rem;
    opacity: 0.8;
    display: block;
    margin-bottom: 8px;
}

.rating {
    color: #FFD700;
    font-size: 0.9rem;
}

/* تأثيرات النجوم الخلفية */
.testimonial-card::after {
    content: "★ ★ ★ ★ ★";
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 6rem;
    color: rgba(255, 51, 143, 0.05);
    transform: rotate(15deg);
    z-index: -1;
}

/* أزرار التنقل المحسنة */
.testimonials-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.testimonial-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.testimonial-nav-btn .material-icons-round {
    font-size: 1.5rem;
}

.testimonials-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* التصميم للجوال */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 70px 0;
    }
    
    .testimonials-title {
        font-size: 2rem;
    }
    
    .testimonial-card {
        min-width: 28px;
        padding: 30px;
    }
    
    .client-avatar {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}
  
  /* ========== نموذج الاتصال ========== */
  .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .contact-info {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
  }
  
  .contact-item .material-icons-round {
    font-size: 1.8rem;
    color: var(--primary-color);
  }
  
  .social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
  }
  
  .contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: 12px 15px;
    background: #3b3a3ab6;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    transition: var(--transition);
  }
  
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 51, 143, 0.2);
  }
  
  .form-group textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  .submit-button {
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
  }
  
  .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 51, 143, 0.3);
  }
  
  .error-message {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
  }
  
  /* ========== الفوتر ========== */
  footer {
    background: var(--background-darker);
    padding: 60px 0 30px;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  .footer-logo p {
    opacity: 0.7;
    font-size: 0.9rem;
  }
  
  .footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
  }
  
  .footer-links a:hover {
    color: var(--primary-color);
  }
  
  .footer-social {
    display: flex;
    gap: 15px;
  }
  
  .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
  }
  
  .copyright {
    opacity: 0.6;
    font-size: 0.85rem;
    text-align: center;
  }
  
  /* ========== الشات بوت ========== */
  .chatbot-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    font-size: 1.5rem;
    transition: var(--transition);
  }
  
  .chatbot-btn:hover {
    transform: scale(1.1) rotate(10deg);
  }
  
  .chatbot-window {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 350px;
    max-height: 500px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    transition: var(--transition);
  }
  
  .chatbot-window.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
  }
  
  .chatbot-header {
    padding: 15px;
    background: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .close-chatbot {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.3rem;
    transition: transform 0.2s;
  }
  
  .close-chatbot:hover {
    transform: rotate(90deg);
  }
  
  .chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
  }
  
  .chatbot-messages::-webkit-scrollbar {
    width: 6px;
  }
  
  .chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 51, 143, 0.5);
    border-radius: 3px;
  }
  
  .chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
  }
  
  .user-message, 
  .bot-message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: var(--transition);
  }
  
  .user-message {
    margin-left: auto;
    background: rgba(255, 51, 143, 0.7);
    backdrop-filter: blur(5px);
    color: white;
    border-radius: 12px 12px 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .bot-message {
    margin-right: auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--text-color);
    border-radius: 12px 12px 12px 0;
    border: 1px solid var(--glass-border);
  }
  
  .quick-questions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
  }
  
  .quick-question {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: right;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
  }
  
  .quick-question:hover {
    background: rgba(255, 51, 143, 0.1);
    border-color: rgba(255, 51, 143, 0.3);
  }
  
  .chatbot-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 10, 0.7);
    gap: 10px;
  }
  
  .chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: var(--transition);
  }
  
  .chatbot-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 51, 143, 0.2);
  }
  
  .send-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 15px;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .send-btn:hover {
    background: #ff1a7d;
    transform: scale(1.05);
  }
  
  /* ========== القائمة المتنقلة ========== */
  .mobile-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 15px 0;
    z-index: 1000;
    display: none;
  }
  
  .mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
  }
  
  .mobile-nav-item:hover {
    color: var(--primary-color);
  }
  
  .mobile-nav-item .material-icons-round {
    font-size: 1.4rem;
    margin-bottom: 5px;
  }
  
  .mobile-nav-label {
    font-size: 0.7rem;
  }
  
  /* ========== تأثيرات الحركة ========== */
  .animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #050505 100%);
  }
  
  .bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
      radial-gradient(circle at 20% 30%, rgba(255, 51, 143, 0.05) 0%, transparent 20%),
      radial-gradient(circle at 80% 70%, rgba(110, 69, 226, 0.05) 0%, transparent 20%),
      radial-gradient(circle at 40% 80%, rgba(136, 211, 206, 0.05) 0%, transparent 20%);
    animation: bubbleMove 20s infinite alternate;
  }
  
  @keyframes bubbleMove {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
  }
  
  .sound-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 C150,150 450,0 600,50 C750,100 1050,0 1200,50 L1200,100 L0,100 Z" fill="rgba(255,51,143,0.03)"></path></svg>');
    background-size: cover;
    animation: soundWave 15s linear infinite;
  }
  
  @keyframes soundWave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  
  .floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .mouse-bubble {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.5;
    animation: bubbleAppear 2s ease-out forwards;
    z-index: 0;
  }
  
  @keyframes bubbleAppear {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
  }
  
  .floating-icon {
    position: absolute;
    animation: floatRandom linear infinite;
    opacity: 0.2;
    transition: var(--transition);
    z-index: 0;
  }
  
  .floating-icon:hover {
    opacity: 0.6;
    transform: scale(1.5);
    text-shadow: 0 0 10px var(--primary-color);
  }
  
  @keyframes floatRandom {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-50vh) translateX(20vw) rotate(90deg); }
    50% { transform: translateY(0) translateX(40vw) rotate(180deg); }
    75% { transform: translateY(-50vh) translateX(60vw) rotate(270deg); }
    100% { transform: translateY(0) translateX(80vw) rotate(360deg); }
  }
  
  /* ========== نافذة الفيديو الموسعة ========== */
  .video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .video-modal.active {
    opacity: 1;
    pointer-events: all;
  }
  
  .video-modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
  }
  
  .video-modal.active .video-modal-content {
    transform: scale(1);
  }
  
  .video-modal video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  
  .close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .close-modal:hover {
    color: var(--primary-color);
  }
  @media (min-width: 1200px) {
    .reel-modal-content {
        max-width: 500px;
        max-height: 85vh;
    }
}
  /* ========== التكيف مع أحجام الشاشات ========== */
  @media (max-width: 1200px) {
    .container {
      max-width: 1000px;
    }
  }
  
  @media (max-width: 992px) {
    .contact-content {
      grid-template-columns: 1fr;
    }
    
    .footer-content {
      flex-direction: column;
      text-align: center;
    }
    
    .footer-links {
      justify-content: center;
    }
    
    .footer-social {
      justify-content: center;
    }
    
    .hero {
      padding: 150px 0 80px;
    }
  }
  
  @media (max-width: 768px) {
    .desktop-menu {
      display: none;
    }
    
    .mobile-nav {
      display: block;
    }
    
    .section {
      padding: 80px 0;
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    .portfolio-grid {
      grid-template-columns: 1fr 1fr;
    }
    
    .testimonial-card {
      min-width: 280px;
      padding: 30px;
    }
    
    .client-avatar {
      width: 50px;
      height: 50px;
    }
    
    .chatbot-btn {
      left: 20px;
      bottom: 80px;
      width: 50px;
      height: 50px;
      font-size: 1.3rem;
    }
    
    .chatbot-window {
      width: 300px;
      left: 20px;
      bottom: 140px;
    }
  }
  
  @media (max-width: 576px) {
    .portfolio-grid {
      grid-template-columns: 1fr;
    }
    
    .hero-title {
      font-size: 2rem;
    }
    
    .section {
      padding: 60px 0;
    }
    
    .voice-samples,
    .videos-slider {
      grid-template-columns: 1fr;
    }
    
    .reel-item {
      min-width: 250px;
    }
    
    .testimonials-nav {
      gap: 10px;
    }
    
    .testimonial-nav-btn {
      width: 35px;
      height: 35px;
    }
    
    .dot {
      width: 8px;
      height: 8px;
    }
  }