/* style service section */
        
        /*  style navbar*/
         .glass-nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    transition: all 0.5s ease;
  }

  .glass-nav.scrolled {
    background: #76538f;
    box-shadow: 0 2px 10px #76538f;
  }

  /* انيميشن القائمة */
  #mobileMenu.open {
    max-height: 400px; 
  }


  #mobileMenu {
    opacity: 0;
  }

  #mobileMenu.open {
    opacity: 1;
  }
  /* end style navbar */


        body {
            background: #fafafa;
            overflow-x: hidden;
        }
        body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}
        
        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }
        
        ::-webkit-scrollbar-track {
            background: #1a1a1a;
        }
        
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, #e55661, #75538e);
            border-radius: 10px;
        }
        
        /* Glassmorphism Navbar */
        .glass-nav {
            background: rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        /* Hero Section with Morphing Background */
   .hero-gradient {
    position: relative;
    background: url('/asstes/img/cover.jpeg') center/cover no-repeat; /* حط مسار الصورة هنا */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* طبقة الضباب فوق الصورة */
.hero-gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(118, 83, 143, 0.35); /* شفافية أقل = الصورة تظهر بوضوح */
    backdrop-filter: blur(8px); /* Blur أخف */
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

/* أي محتوى جوه الهيرو يكون فوق الضباب */
.hero-gradient > * {
    position: relative;
    z-index: 2;
}

        
        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        /* Geometric Shapes Background */
        .geometric-bg::before {
            content: '';
            position: absolute;
            width: 500px;
            height: 500px;
            background: rgba(229, 86, 97, 0.1);
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            top: -100px;
            right: -100px;
            animation: morphShape 20s ease-in-out infinite;
        }
        
        .geometric-bg::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            background: rgba(117, 83, 142, 0.1);
            border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
            bottom: -100px;
            left: -100px;
            animation: morphShape 15s ease-in-out infinite reverse;
        }
        
        @keyframes morphShape {
            0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
            50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
        }
        
        /* Neon Text Effect */
        .neon-text {
            text-shadow: 0 0 10px rgba(229,86,97,0.8),
                         0 0 20px rgba(229,86,97,0.6),
                         0 0 30px rgba(229,86,97,0.4),
                         0 0 40px rgba(117,83,142,0.3);
            animation: neonPulse 2s ease-in-out infinite;
        }
        
        @keyframes neonPulse {
            0%, 100% { text-shadow: 0 0 10px rgba(229,86,97,0.8), 0 0 20px rgba(229,86,97,0.6); }
            50% { text-shadow: 0 0 20px rgba(229,86,97,1), 0 0 40px rgba(229,86,97,0.8); }
        }
        
        /* Floating Elements */
        @keyframes floatSlow {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-30px) rotate(5deg); }
        }
        
        .float-element {
            animation: floatSlow 6s ease-in-out infinite;
        }
        
        /* Service Cards with 3D Effect */
        .service-3d {
            transform-style: preserve-3d;
            transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
            position: relative;
        }
        
        .service-3d:hover {
            transform: rotateY(10deg) rotateX(5deg) scale(1.05);
        }
        
        .service-3d::before {
            content: '';
            position: absolute;
            inset: -5px;
            background: linear-gradient(45deg, #e55661, #75538e);
            border-radius: 20px;
            opacity: 0;
            transition: opacity 0.6s;
            z-index: -1;
            filter: blur(20px);
        }
        
        .service-3d:hover::before {
            opacity: 0.7;
        }
        
        /* Portfolio Tilt Effect */
        .portfolio-card {
            perspective: 1000px;
            transition: all 0.5s ease;
        }
        
        .portfolio-card:hover .portfolio-inner {
            transform: rotateY(180deg);
        }
        
        .portfolio-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transition: transform 0.8s;
            transform-style: preserve-3d;
        }
        
        .portfolio-front, .portfolio-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 20px;
            overflow: hidden;
        }
        
        .portfolio-back {
            transform: rotateY(180deg);
            background: linear-gradient(135deg, #75538e, #e55661);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 30px;
        }
        
        /* Stats Counter Animation */
        .stat-number {
            font-size: 3rem;
            font-weight: 900;
            background: linear-gradient(135deg, #e3545e, #e3545e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* Testimonial Carousel with Cards */
        .testimonial-carousel {
            display: flex;
            gap: 30px;
            transition: transform 0.5s ease;
        }
        
        .testimonial-item {
            min-width: calc(100% - 30px);
            scroll-snap-align: start;
        }
        
        @media (min-width: 768px) {
            .testimonial-item {
                min-width: calc(50% - 15px);
            }
        }
        
        @media (min-width: 1024px) {
            .testimonial-item {
                min-width: calc(33.333% - 20px);
            }
        }
        
        /* CTA Button with Shine Effect */
        .shine-btn {
            position: relative;
            overflow: hidden;
        }
        
        .shine-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }
        
        .shine-btn:hover::before {
            left: 100%;
        }
        
        /* Loading Animation for Logo */
        @keyframes logoSpin {
            0% { transform: rotate(0deg) scale(1); }
            50% { transform: rotate(180deg) scale(1.1); }
            100% { transform: rotate(360deg) scale(1); }
        }
        
        .logo-animate:hover {
            animation: logoSpin 1s ease-in-out;
        }
        
        /* Ripple Effect */
        .ripple {
            position: relative;
            overflow: hidden;
        }
        
        .ripple::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }
        
        .ripple:hover::after {
            width: 300px;
            height: 300px;
        }
        
        /* Grid Pattern Background */
        .grid-pattern {
            background-image: 
                linear-gradient(rgba(229, 86, 97, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(229, 86, 97, 0.05) 1px, transparent 1px);
            background-size: 50px 50px;
        }
        
        /* Diagonal Stripes */
        .stripe-bg {
            background: repeating-linear-gradient(
                45deg,
                transparent,
                transparent 10px,
                rgba(229, 86, 97, 0.03) 10px,
                rgba(229, 86, 97, 0.03) 20px
            );
        }
        
        /* Magnetic Button Effect */
        .magnetic-btn {
            transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
        }
        
        .magnetic-btn:hover {
            transform: scale(1.1) translateY(-5px);
            box-shadow: 0 20px 40px rgba(229, 86, 97, 0.4);
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .hero-gradient {
                padding-top: 100px;
            }
            
            .stat-number {
                font-size: 2rem;
            }
            
            .geometric-bg::before,
            .geometric-bg::after {
                width: 200px;
                height: 200px;
            }
            
            .portfolio-card {
                height: 300px;
            }
            
            .service-image {
                height: 150px;
            }
        }
        
        @media (max-width: 480px) {
            .hero-gradient {
                padding-top: 80px;
            }
            
            .stat-number {
                font-size: 1.5rem;
            }
            
            .geometric-bg::before,
            .geometric-bg::after {
                width: 150px;
                height: 150px;
            }
            
            .portfolio-card {
                height: 250px;
            }
            
            .service-image {
                height: 120px;
            }
        }
  


        /* style hero section */
        
        
        
        body {
            background: #fafafa;
            overflow-x: hidden;
        }
        
        /* Grid Layout */
        .testimonials-grid {
            display: grid;
            gap: 30px;
            grid-template-columns: 1fr;
        }
        
        @media (min-width: 768px) {
            .testimonials-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (min-width: 1024px) {
            .testimonials-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (min-width: 1280px) {
            .testimonials-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        /* Card Hover Effects */
        .testimonial-card {
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            border: 2px solid transparent;
        }
        
        .testimonial-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(90, 26, 118, 0.03), rgba(224, 0, 122, 0.03));
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .testimonial-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            border-color: rgba(224, 0, 122, 0.1);
        }
        
        .testimonial-card:hover::before {
            opacity: 1;
        }
        
        /* Star Animation */
        .star-rating i {
            transition: transform 0.3s ease, color 0.3s ease;
        }
        
        .testimonial-card:hover .star-rating i {
            transform: scale(1.2);
            color: #FFD700;
        }
        
        /* Client Avatar Animation */
        .client-avatar {
            transition: all 0.3s ease;
            position: relative;
        }
        
        .testimonial-card:hover .client-avatar {
            transform: scale(1.1);
        }
        
        .client-avatar::after {
            content: '';
            position: absolute;
            top: -2px;
            right: -2px;
            bottom: -2px;
            left: -2px;
            background: linear-gradient(135deg, #E0007A, #5A1A76);
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }
        
        .testimonial-card:hover .client-avatar::after {
            opacity: 1;
        }
        
        /* Quote Icon */
        .quote-icon {
            position: absolute;
            top: 20px;
            left: 20px;
            opacity: 0.1;
            font-size: 60px;
            transition: all 0.3s ease;
        }
        
        .testimonial-card:hover .quote-icon {
            opacity: 0.2;
            transform: scale(1.1);
        }
        
        /* Stagger Animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .testimonial-card {
            animation: fadeInUp 0.6s ease forwards;
            opacity: 0;
        }
        
        .testimonial-card:nth-child(1) { animation-delay: 0.1s; }
        .testimonial-card:nth-child(2) { animation-delay: 0.2s; }
        .testimonial-card:nth-child(3) { animation-delay: 0.3s; }
        .testimonial-card:nth-child(4) { animation-delay: 0.4s; }
        .testimonial-card:nth-child(5) { animation-delay: 0.5s; }
        .testimonial-card:nth-child(6) { animation-delay: 0.6s; }
        
        /* Background Pattern */
        .bg-pattern {
            background-image: 
                radial-gradient(circle at 25% 25%, rgba(224, 0, 122, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(90, 26, 118, 0.05) 0%, transparent 50%);
        }



        /*  */
        @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700;900&display=swap');
        
        :root {
            --primary: #6C63FF;
            --accent: #FF6584;
        }
        
        body {
            font-family: 'Tajawal', sans-serif;
        }
        
       
        
        @keyframes gradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        .float-element {
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }
        
        .neon-text {
            text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px var(--accent), 0 0 35px var(--accent), 0 0 40px var(--accent);
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: 900;
            color: white;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }
        
        .ripple {
            position: relative;
            overflow: hidden;
        }
        
        .ripple:after {
            content: "";
            display: block;
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
            background-repeat: no-repeat;
            background-position: 50%;
            transform: scale(10, 10);
            opacity: 0;
            transition: transform .5s, opacity 1s;
        }
        
        .ripple:active:after {
            transform: scale(0, 0);
            opacity: .2;
            transition: 0s;
        }
        
   /* استايل الصور المتغيرة */
.image-slider-container {
    position: relative;
    width: 650px; /* كبرنا الحجم */
    height: 650px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 0 auto; /* يخليها في النص */
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .image-slider-container {
        width: 90%; /* تاخد 90٪ من عرض الشاشة */
        height: auto; /* الارتفاع يتناسب مع العرض */
        aspect-ratio: 1 / 1; /* يحافظ على الشكل المربع */
        margin: 0 auto; /* في النص */
    }
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

        
        .image-slide.active {
            opacity: 1;
        }
        
        .slide-indicators {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }
        
        .slide-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .slide-indicator.active {
            background-color: white;
        }
