
:root {
    --primary-color: #1a365d;     
    --secondary-color: #3182ce;   
    --accent-color: #63b3ed; 
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --gray-900: #171923;
    --blue-50: #ebf8ff;
    --blue-100: #bee3f8;
    --blue-200: #90cdf4;
    --blue-300: #63b3ed;
     --blue-400: #4299e1;
     --blue-500: #3182ce;
    --blue-600: #2b6cb0;
    --blue-700: #2c5282;
    --blue-800: #2a4365;
    --blue-900: #1a365d; 
    --success-color: #38a169;     
    --warning-color: #d69e2e;    
    --danger-color: #e53e3e;       
    --info-color: #4299e1;   
    --color-blue-dark: #2c5282;    
    --color-blue-light: #63b3ed;  
     --whatsapp-color: #25d366;
    --whatsapp-hover: #128c7e;
     --facebook-color: #1877f2;
    --instagram-color: #e4405f;
    --twitter-color: #1da1f2;
    --linkedin-color: #0a66c2;
    --body-bg: var(--gray-50);
     --card-bg: #ffffff;
    --text-color: var(--gray-800);
   --text-muted: var(--gray-600);
    --border-color: var(--gray-200);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --light-color: var(--gray-50);
    --dark-color: var(--gray-800);
    --purple: #805ad5;
    --orange: #ed8936;
    --teal: #38b2ac;
}
 

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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 0px; 
    
  
}

/* section tap bar */
     .top-bar {
            background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
            color: white;
            padding: 1px 0;
            font-size: 0.9rem;
            direction: ltr;
            margin: 0px;
        }

        .top-bar .contact-info {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .top-bar .contact-item {
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            color: white;
            transition: all 0.3s ease;
        }

        .top-bar .contact-item:hover {
            color: #f8f9fa;
            transform: translateY(-2px);
        }

        .top-bar .social-icons {
            display: flex;
            gap: 15px;
        }

        .top-bar .social-icon {
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .top-bar .social-icon:hover {
            color: #f8f9fa;
            transform: scale(1.1);
        }

        /* Floating Contact Buttons */
        .contact-float {
            position: fixed;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 9999;
            display: flex;
            flex-direction: column;
            gap: 10px;
            /* animation: floatAnimation 3s ease-in-out infinite; */
        }



        @keyframes floatAnimation {
            0%, 100% { transform: translateY(-20%) translateX(0); }
            50% { transform: translateY(-5%) translateX(0px); }
        }

        .contact-button {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            font-size: 1.2rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
            position: relative;
        }

        .contact-button:hover {
            transform: scale(1.1) translateX(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        }

        .contact-button::after {
            content: attr(data-tooltip);
            position: absolute;
            right: 60px;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            color: #333;
            padding: 8px 15px;
            border-radius: 5px;
            font-size: 0.8rem;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            z-index: 10000;
        }

        .contact-button:hover::after {
            opacity: 1;
            visibility: visible;
            right: 70px;
        }

        .contact-button.whatsapp { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); }
        .contact-button.phone { background: linear-gradient(135deg, #34A853 0%, #0F9D58 100%); }
        .contact-button.facebook { background: linear-gradient(135deg, #1877F2 0%, #0A5BC4 100%); }
        .contact-button.instagram { background: linear-gradient(135deg, #E4405F 0%, #C13584 100%); }
        .contact-button.email { background: linear-gradient(135deg, #EA4335 0%, #D14836 100%); }

        .contact-button.telegram {
             background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
            
            }
               .contact-float svg.fa-users, .contact-float  svg.arrow-down {
 width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
   
  color: var(--primary-color);
    font-size: 1.2rem;
    background-color: white;
 
            }
.contact-float  svg.arrow-down {
 width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
   
  color: var(--primary-color);
    font-size: 1.2rem;
    background-color: white;
        animation: floatAnimation 3s ease-in-out infinite;
  
 
            }


        /* Mobile App Service Card */
        .mobile-app-service {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 15px;
            padding: 30px;
            margin-top: 20px;
            position: relative;
            overflow: hidden;
        }

        /* .mobile-app-service::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: url('images/pattern.png') repeat;
            opacity: 0.1;
            animation: rotate 20s linear infinite;
        } */

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

        .mobile-app-icon {
            font-size: 3rem;
            margin-bottom: 20px;
        }

        .mobile-app-features {
            list-style: none;
            padding: 0;
            margin: 20px 0;
        }

        .mobile-app-features li {
            padding: 8px 0;
            position: relative;
            padding-right: 25px;
        }

        .mobile-app-features li::before {
            content: '✓';
            position: absolute;
            right: 0;
            color: #25D366;
            font-weight: bold;
        }
/* شريط التنقل */
.navbar {
    background-color: #f8f9fb !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
    position: sticky;
    z-index: 444;
    right: 0;
    left: 0;
    top: 0;
}
.navbar .navbar-nav .nav-link.active{
    border-radius: 13px;
    color: var(--accent-color) !important;
    font-weight: bold;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(44, 62, 80, 0.98);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-name {
    color: var(--accent-color);
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.3s ease;

}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}
/* إصدار محسّن */

.navbar div.navbar-collapse ul:nth-child(2) li:nth-child(2){
    background-color: var(--secondary-color);
    border-radius: 13px;
}
.navbar .navbar-collapse ul li:last-child .btn-primary{
   background-color:var(--secondary-color);
   border-radius: 12px;
   border-color: var(--accent-color);
       margin-inline-start: 1rem;
         
    font-weight: 700;
}


/* main page */


        .main-p .main-p-hero-section-innovative {
            background-image: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.9)), url('images/mainImage.jpg');
            background-color: var(--primary-color);
            color: white;
            position: relative;
            background-position: center;
            background-size: cover;
            min-height: 100vh;
            display: flex;
            align-items: center;
            overflow: hidden;
            padding: 120px 0 80px;
        }
        
        /* تأثير دائري متحرك */
        .main-p .main-p-hero-orb-effect {
            position: absolute;
            top: 50%;
            right: 20%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(99, 179, 237, 0.15) 0%, transparent 70%);
            border-radius: 50%;
            animation: main-p-orbFloat 20s ease-in-out infinite;
            z-index: 1;
        }
        
        @keyframes main-p-orbFloat {
            0%, 100% { 
                transform: translate(0, 0) rotate(0deg); 
            }
            33% { 
                transform: translate(50px, -30px) rotate(120deg); 
            }
            66% { 
                transform: translate(-30px, 40px) rotate(240deg); 
            }
        }
        
        /* خطوط متحركة في الخلفية */
        .main-p .main-p-hero-grid-lines {
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
                linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: main-p-gridMove 20s linear infinite;
            z-index: 1;
        }
        
        @keyframes main-p-gridMove {
            0% { transform: translate(0, 0); }
            100% { transform: translate(50px, 50px); }
        }
        
        .main-p .main-p-hero-overlay-innovative {
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                135deg,
                rgba(26, 54, 93, 0.85) 0%,
                rgba(43, 108, 176, 0.6) 50%,
                rgba(99, 179, 237, 0.3) 100%
            );
            z-index: 2;
        }
        
        .main-p .main-p-hero-content-innovative {
            position: relative;
            z-index: 3;
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }
        
        .main-p .main-p-hero-title-innovative {
            font-size: 4rem;
            font-weight: 900;
            margin-bottom: 25px;
            line-height: 1.1;
            text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
            background: linear-gradient(135deg, #ffffff, var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: main-p-titleGlow 3s ease-in-out infinite alternate;
        }
        
        @keyframes main-p-titleGlow {
            0% { 
                filter: drop-shadow(0 0 10px rgba(99, 179, 237, 0.5));
            }
            100% { 
                filter: drop-shadow(0 0 20px rgba(99, 179, 237, 0.8));
            }
        }
        
        .main-p .main-p-hero-subtitle-innovative {
            font-size: 1.4rem;
            margin-bottom: 40px;
            line-height: 1.6;
            opacity: 0.9;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .main-p .main-p-hero-buttons-innovative {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 40px;
        }
        
        .main-p .main-p-btn-cyber {
            padding: 16px 40px;
            font-weight: 600;
            border-radius: 10px;
            font-size: 1.1rem;
            border: none;
            position: relative;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            min-width: 200px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .main-p .main-p-btn-cyber-primary {
            background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
            color: white;
            box-shadow: 
                0 0 20px rgba(49, 130, 206, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }
        
        .main-p .main-p-btn-cyber-primary::before {
            content: '';
            position: absolute;
            top: 0;
            right: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: right 0.6s ease;
        }
        
        .main-p .main-p-btn-cyber-primary:hover::before {
            right: 100%;
        }
        
        .main-p .main-p-btn-cyber-primary:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 
                0 0 30px rgba(49, 130, 206, 0.6),
                0 10px 20px rgba(0,0,0,0.2);
        }
        
        .main-p .main-p-btn-cyber-outline {
            background: transparent;
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.5);
            position: relative;
        }
        
        .main-p .main-p-btn-cyber-outline::before {
            content: '';
            position: absolute;
            top: -2px;
            right: -2px;
            bottom: -2px;
            left: -2px;
            background: linear-gradient(45deg, 
                transparent 0%, 
                rgba(255, 255, 255, 0.1) 50%, 
                transparent 100%);
            z-index: -1;
            animation: main-p-borderGlow 2s linear infinite;
        }
        
        @keyframes main-p-borderGlow {
            0% { opacity: 0; }
            50% { opacity: 1; }
            100% { opacity: 0; }
        }
        
        /* قسم من نحن - بدون عنوان رئيسي */
        .main-p .main-p-about-intro-section {
            padding: 100px 0;
            background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
            position: relative;
            overflow: hidden;
        }
        
        /* .main-p .main-p-about-intro-section::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
            background-size: cover;
        } */
        
        .main-p .main-p-about-content-wrapper {
            position: relative;
            z-index: 2;
        }
        
        .main-p .main-p-about-mission-card {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            border-left: 5px solid var(--blue-600);
            transition: all 0.3s ease;
            margin-top: 30px;
        }
        
        .main-p .main-p-about-mission-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .main-p .main-p-about-description {
            font-size: 1.2rem;
            line-height: 1.8;
            color: var(--gray-700);
            text-align: center;
            max-width: 800px;
            margin: 0 auto 40px;
        }
        
        /* قسم الخدمات */
        .main-p .main-p-services-section-modern {
            padding: 100px 0;
            background: white;
            position: relative;
            overflow: hidden;
        }
        
        .main-p .main-p-services-section-modern::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 30%, rgba(99, 179, 237, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(43, 108, 176, 0.05) 0%, transparent 50%);
        }
        
        .main-p .main-p-service-card-modern {
            background: white;
            padding: 40px 30px;
            border-radius: 20px;
            text-align: center;
            height: 100%;
            box-shadow: 
                0 10px 30px rgba(0,0,0,0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(226, 232, 240, 0.5);
        }
        
        .main-p .main-p-service-card-modern::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, 
                var(--blue-600) 0%, 
                var(--accent-color) 50%, 
                var(--blue-600) 100%);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.4s ease;
        }
        
        .main-p .main-p-service-card-modern:hover::before {
            transform: scaleX(1);
        }
        
        .main-p .main-p-service-icon-modern {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #ffffff, var(--blue-50));
            border-radius: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            position: relative;
            box-shadow: 
                0 10px 20px rgba(0,0,0,0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
            transition: all 0.4s ease;
        }
        
        .main-p .main-p-service-icon-modern i {
            font-size: 2.5rem;
            background: linear-gradient(135deg, var(--blue-600), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            transition: all 0.4s ease;
        }
        
        .main-p .main-p-service-card-modern:hover .main-p-service-icon-modern {
            transform: rotate(15deg) scale(1.1);
            box-shadow: 
                0 15px 30px rgba(0,0,0,0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
        }
        
        .main-p .main-p-service-card-modern h4 {
            color: var(--blue-800);
            font-weight: 800;
            margin-bottom: 15px;
            font-size: 1.5rem;
            position: relative;
            display: inline-block;
        }
        
        .main-p .main-p-service-card-modern h4::after {
            content: '';
            position: absolute;
            bottom: -5px;
            right: 0;
            width: 50px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 2px;
            transition: width 0.3s ease;
        }
        
        .main-p .main-p-service-card-modern:hover h4::after {
            width: 100%;
        }
        
        .main-p .main-p-service-link {
            color: var(--blue-600);
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 15px;
            transition: all 0.3s ease;
        }
        
        .main-p .main-p-service-link:hover {
            color: var(--blue-800);
            gap: 12px;
        }
        
        /* قسم المشاريع */
        .main-p .main-p-portfolio-section-immersive {
            padding: 100px 0;
            background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
            position: relative;
            overflow: hidden;
        }
        
        .main-p .main-p-portfolio-grid-immersive {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }
        
        .main-p .main-p-portfolio-item-immersive {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            height: 300px;
            cursor: pointer;
            transform-style: preserve-3d;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .main-p .main-p-portfolio-item-immersive:hover {
            transform: translateY(-15px) rotateX(5deg) rotateY(-5deg);
            box-shadow: 
                0 25px 50px rgba(0,0,0,0.2),
                0 0 0 1px rgba(99, 179, 237, 0.1);
        }
        
        .main-p .main-p-portfolio-image-immersive {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
        
        .main-p .main-p-portfolio-item-immersive:hover .main-p-portfolio-image-immersive {
            transform: scale(1.1);
        }
        
        .main-p .main-p-portfolio-overlay-immersive {
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            padding: 30px;
            background: linear-gradient(to top, rgba(26, 54, 93, 0.9), transparent);
            color: white;
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .main-p .main-p-portfolio-item-immersive:hover .main-p-portfolio-overlay-immersive {
            transform: translateY(0);
        }
        
        .main-p .main-p-portfolio-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.9);
            color: var(--blue-800);
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.9rem;
            backdrop-filter: blur(5px);
            transform: translateY(-20px);
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        .main-p .main-p-portfolio-item-immersive:hover .main-p-portfolio-badge {
            transform: translateY(0);
            opacity: 1;
        }
        
        /* قسم القيم */
        .main-p .main-p-values-section {
            padding: 100px 0;
            background: white;
            position: relative;
        }
        
        .main-p .main-p-value-card {
            background: white;
            padding: 40px 30px;
            border-radius: 20px;
            text-align: center;
            height: 100%;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            border-top: 5px solid;
        }
        
        .main-p .main-p-value-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 25px 50px rgba(0,0,0,0.2);
        }
        
        .main-p .main-p-value-icon {
            font-size: 3.5rem;
            margin-bottom: 25px;
            display: block;
        }
        
        .main-p .main-p-value-1 { border-top-color: var(--blue-600); }
        .main-p .main-p-value-2 { border-top-color: var(--accent-color); }
        .main-p .main-p-value-3 { border-top-color: var(--success-color); }
        .main-p .main-p-value-4 { border-top-color: var(--warning-color); }
        
        .main-p .main-p-value-1 .main-p-value-icon { color: var(--blue-600); }
        .main-p .main-p-value-2 .main-p-value-icon { color: var(--accent-color); }
        .main-p .main-p-value-3 .main-p-value-icon { color: var(--success-color); }
        .main-p .main-p-value-4 .main-p-value-icon { color: var(--warning-color); }
        
        .main-p .main-p-value-card h4 {
            color: var(--blue-800);
            font-weight: 800;
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        
        .main-p .main-p-value-card p {
            color: var(--gray-600);
            line-height: 1.6;
            font-size: 1rem;
        }
        
        /* قسم العملاء */
        .main-p .main-p-clients-section-floating {
            padding: 80px 0;
            background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
            position: relative;
            overflow: hidden;
        }
        
        .main-p .main-p-client-logos-scroll {
            display: flex;
            gap: 50px;
            animation: main-p-scrollLogos 30s linear infinite;
            padding: 40px 0;
        }
        
        @keyframes main-p-scrollLogos {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        
        .main-p .main-p-client-logo-item {
            flex: 0 0 auto;
            width: 150px;
            height: 80px;
            background: white;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .main-p .main-p-client-logo-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        /* قسم آراء العملاء - تصميم جديد للعرض الواحد */
        .main-p .main-p-testimonials-section {
            padding: 100px 0;
            background: white;
            position: relative;
            min-height: 400px;
        }
        
        .main-p .main-p-testimonial-slider {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            min-height: 300px;
        }
        
        .main-p .main-p-testimonial-item {
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.5s ease;
            pointer-events: none;
        }
        
        .main-p .main-p-testimonial-item.active {
            opacity: 1;
            transform: translateX(0);
            pointer-events: auto;
            position: relative;
        }
        
        .main-p .main-p-testimonial-card {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            border-left: 5px solid var(--blue-600);
            transition: all 0.3s ease;
            min-height: 250px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .main-p .main-p-testimonial-navigation {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }
        
        .main-p .main-p-testimonial-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--gray-300);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .main-p .main-p-testimonial-dot.active {
            background: var(--blue-600);
            transform: scale(1.2);
        }
        
        .main-p .main-p-testimonial-dot:hover {
            background: var(--blue-400);
        }
        
        .main-p .main-p-client-info {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .main-p .main-p-client-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--blue-600), var(--accent-color));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            margin-left: 15px;
        }
        
        .main-p .main-p-client-details h5 {
            margin: 0;
            color: var(--blue-800);
            font-weight: 700;
        }
        
        .main-p .main-p-client-details small {
            color: var(--gray-600);
        }
        
        .main-p .main-p-testimonial-text {
            color: var(--gray-700);
            font-style: italic;
            line-height: 1.8;
            position: relative;
            padding-right: 25px;
        }
        
        .main-p .main-p-testimonial-text::before {
            content: '"';
            font-size: 4rem;
            color: var(--blue-400);
            position: absolute;
            top: -20px;
            right: 0;
            opacity: 0.3;
        }
        
        /* قسم الـ CTA */
        .main-p .main-p-cta-section-futuristic {
            padding: 100px 0;
            background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .main-p .main-p-cta-section-futuristic::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
            animation: main-p-ctaGlow 10s ease-in-out infinite alternate;
        }
        
        @keyframes main-p-ctaGlow {
            0% { opacity: 0.3; }
            100% { opacity: 0.7; }
        }
        
        .main-p .main-p-cta-content-futuristic {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .main-p .main-p-cta-title-futuristic {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 25px;
            background: linear-gradient(135deg, #ffffff, var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: main-p-titlePulse 2s ease-in-out infinite alternate;
        }
        
        @keyframes main-p-titlePulse {
            0% { transform: scale(1); }
            100% { transform: scale(1.02); }
        }
        
        .main-p .main-p-cta-subtitle-futuristic {
            font-size: 1.3rem;
            margin-bottom: 40px;
            opacity: 0.9;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* تنسيقات عامة */
        .main-p .main-p-section-title {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--blue-800);
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 20px;
        }
        
        .main-p .main-p-section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 50%;
            transform: translateX(50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(to right, var(--blue-600), var(--accent-color));
            border-radius: 2px;
        }
        
        .main-p .main-p-section-subtitle {
            text-align: center;
            color: var(--gray-600);
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 50px;
            line-height: 1.6;
        }
        
        /* end */

/* service page */

 .service-p .services-hero {
            background: linear-gradient(135deg, var(--primary-color), var(--blue-800));
            padding: 180px 0 120px;
            margin-top: -80px;
            position: relative;
            overflow: hidden;
            color: white;
            background-image: url('images/main-services.png');
            background-size: cover;
            background-repeat: no-repeat;
        }
        
        @keyframes floatPattern {
            0% { transform: translateY(0); }
            100% { transform: translateY(-50px); }
        }

        /* .service-p .services-hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url('images/pattern.png') repeat;
            opacity: 0.1;
            animation: floatPattern 20s linear infinite;  
        } */
        
        .service-p .section-title {
            text-align: center;
            font-weight: 800;
            margin-bottom: 50px;
            position: relative;
            color: var(--primary-color);
            font-size: 2.5rem;
        }

        .service-p .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            right: 50%;
            transform: translateX(50%);
            width: 80px;
            height: 4px;
            background: var(--secondary-color);
            border-radius: 2px;
        }
        
        .service-p .category-label {
            display: inline-block;
            background: var(--secondary-color);
            color: var(--light-color);
            padding: 8px 25px;
            border-radius: 25px;
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 30px;
            box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
        }
        
        .service-p .service-card {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            height: 100%;
            text-align: center;
            border: 1px solid var(--border-color);
        }

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

        .service-p .service-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }

        .service-p .service-icon i {
            font-size: 2rem;
            color: var(--light-color);
        }

        .service-p .service-card h4 {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .service-p .service-card p {
            color: var(--text-muted);
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .service-p .service-features {
            list-style: none;
            padding: 0;
            margin: 0 0 25px 0;
            text-align: right;
        }

        .service-p .service-features li {
            padding: 8px 0;
            color: var(--gray-600);
            position: relative;
            padding-right: 25px;
            font-size: 0.9rem;
        }

        .service-p .service-features li::before {
            content: '✓';
            position: absolute;
            right: 0;
            top: 8px;
            color: var(--success-color);
            font-weight: bold;
            font-size: 1.1rem;
        }
        
        .service-p .services-hero .hero-subtitle {
            font-size: 1.2rem;
            line-height: 1.8;
            max-width: 600px;
            margin: 2rem auto;
            color: var(--light-color);
            font-weight: 300;
        }
        
        .service-p .services-hero .hero-title {
            font-size: 3.5rem;
            line-height: 1.3;
            margin-bottom: 1rem;
            color: var(--light-color);
            font-weight: 800;
            text-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        
        /* قسم خاص للدعم الفني */
        .service-p .maintenance-section {
            background: var(--gray-50);
            padding: 100px 0;
            position: relative;
        }
        
        .service-p .maintenance-card {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border-top: 4px solid var(--success-color);
        }
        
        .service-p .maintenance-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .service-p .maintenance-icon {
            width: 70px;
            height: 70px;
            background: var(--success-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }
        
        .service-p .maintenance-icon i {
            font-size: 1.8rem;
            color: var(--light-color);
        }
        
        /* قسم خاص للبرمجة */
        .service-p .custom-dev-card {
            background: var(--primary-color);
            color: var(--light-color);
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 25px rgba(26, 54, 93, 0.3);
            transition: all 0.3s ease;
        }
        
        .service-p .custom-dev-card .service-icon {
            background: var(--blue-700);
        }
        
        .service-p .custom-dev-card h4 {
            color: var(--light-color);
        }
        
        .service-p .custom-dev-card p {
            color: var(--gray-300);
        }
        
        .service-p .custom-dev-card .service-features li {
            color: var(--gray-300);
        }
        
      
        .service-p .ecommerce-card {
            background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
            color: var(--light-color);
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 25px rgba(49, 130, 206, 0.3);
            transition: all 0.3s ease;
        }
        
        .service-p .ecommerce-card h4 {
            color: var(--light-color);
        }
        
        .service-p .ecommerce-card p {
            color: var(--blue-100);
        }
        
        .service-p .ecommerce-card .service-features li {
            color: var(--blue-100);
        }
        
        .service-p .ecommerce-card .service-features li::before {
            color: var(--blue-200);
        }
        
        /* أزرار */
        .service-p .btn-primary {
            background-color: var(--secondary-color);
            color: var(--light-color);
            border: none;
            padding: 10px 25px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .service-p .btn-primary:hover {
            background-color: var(--blue-600);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(49, 130, 206, 0.3);
        }
        
        .service-p .btn-light {
            background-color: var(--light-color);
            color: var(--primary-color);
            border: none;
        }
        
        .service-p .btn-light:hover {
            background-color: var(--gray-100);
            color: var(--primary-color);
        }
        
        .service-p .btn-outline-light {
            border-color: var(--light-color);
            color: var(--light-color);
        }
        
        .service-p .btn-outline-light:hover {
            background-color: var(--light-color);
            color: var(--primary-color);
        }
        
        /* CTA Section */
        .service-p .services-cta {
            background: linear-gradient(135deg, var(--primary-color), var(--blue-800));
            padding: 100px 0;
            color: var(--light-color);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        /* .service-p .services-cta::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url('images/pattern-light.png') repeat;
            opacity: 0.1;
        } */

        .service-p .cta-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .service-p .cta-subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto 40px;
        }

        .service-p .cta-button {
            display: inline-block;
            background: var(--light-color);
            color: var(--primary-color);
            padding: 15px 45px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            margin: 0 10px;
        }
        
        .service-p .cta-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
            color: var(--primary-color);
            background: var(--gray-100);
        }
        
        /* عملية العمل */
        .service-p .process-container {
            padding: 100px 0;
            background: var(--gray-50);
            position: relative;
        }
        
        .service-p .process-step {
            text-align: center;
            padding: 30px;
        }
        
        .service-p .step-number {
            width: 60px;
            height: 60px;
            background: var(--secondary-color);
            color: var(--light-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
            margin: 0 auto 20px;
            box-shadow: 0 10px 20px rgba(49, 130, 206, 0.3);
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .service-p .animate-on-scroll {
            animation: fadeInUp 0.6s ease forwards;
            opacity: 0;
        }

        .service-p .animate-delay-1 { animation-delay: 0.2s; }
        .service-p .animate-delay-2 { animation-delay: 0.4s; }
        .service-p .animate-delay-3 { animation-delay: 0.6s; }
/* end */

/* contact page */

    .contact-p .contact-hero-section {
        background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
        color: white;
        padding: 100px 0 50px;
        text-align: center;
        margin-bottom: 40px;
        position: relative;
    }

    .contact-p .contact-hero-title {
        font-size: 2.8rem;
        font-weight: 800;
        margin-bottom: 15px;
        color: var(--light-color);
    }

    .contact-p .contact-hero-subtitle {
        font-size: 1.2rem;
        opacity: 0.9;
        max-width: 700px;
        margin: 0 auto 30px;
        line-height: 1.6;
        color: var(--blue-100);
    }

    /* Laptop Design - Simplified */
    .contact-p .laptop-screen {
        max-width: 800px;
        margin: 30px auto 0;
        padding: 30px;
        background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
        border-radius: 15px 15px 5px 5px;
        border: 6px solid var(--gray-800);
    }

    .contact-p .laptop-base {
        width: 850px;
        height: 25px;
        background: var(--gray-700);
        margin: 0 auto;
        border-radius: 0 0 8px 8px;
    }

    .contact-p .laptop-stand {
        width: 70px;
        height: 12px;
        background: var(--gray-800);
        margin: 0 auto;
        border-radius: 3px 3px 0 0;
    }

    /* Contact Cards - Simplified */
    .contact-p .contact-info-card {
        background: var(--card-bg);
        border-radius: 15px;
        padding: 25px;
        margin-bottom: 20px;
        height: 100%;
        border: 1px solid var(--border-color);
        box-shadow: 0 5px 15px var(--shadow-color);
        transition: transform 0.3s;
    }

    .contact-p .contact-info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border-color: var(--blue-300);
    }

    .contact-p .contact-icon-wrapper {
        width: 70px;
        height: 70px;
        border-radius: 15px;
        background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        box-shadow: 0 5px 15px rgba(49, 130, 206, 0.2);
    }

    .contact-p .contact-icon-wrapper i {
        font-size: 1.8rem;
        color: white;
    }

    .contact-p .contact-info-card h4 {
        color: var(--blue-800);
        font-weight: 700;
        margin-bottom: 15px;
        font-size: 1.3rem;
    }

    .contact-p .contact-info-card p {
        color: var(--gray-600);
        margin-bottom: 15px;
        line-height: 1.6;
    }

    /* Form Styling - Simplified */
    .contact-p .contact-form-card {
        background: var(--card-bg);
        padding: 30px;
        border-radius: 15px;
        border: 1px solid var(--border-color);
        box-shadow: 0 10px 25px var(--shadow-color);
    }

    .contact-p .contact-form-card h3 {
        color: var(--blue-800);
        font-weight: 700;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid var(--blue-200);
    }

    .contact-p .form-label {
        color: var(--blue-700);
        font-weight: 600;
        margin-bottom: 8px;
        display: block;
    }

    .contact-p .form-control, 
    .contact-p .form-select {
        border: 2px solid var(--gray-300);
        border-radius: 10px;
        padding: 12px 15px;
        background-color: white;
        color: var(--text-color);
        transition: all 0.3s;
    }

    .contact-p .form-control:focus, 
    .contact-p .form-select:focus {
        border-color: var(--blue-500);
        box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
    }

    /* Buttons - Using your colors */
    .contact-p .btn-tech {
        background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
        border: none;
        border-radius: 10px;
        padding: 12px 30px;
        font-weight: 600;
        color: white;
        transition: all 0.3s;
    }

    .contact-p .btn-tech:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 15px rgba(49, 130, 206, 0.2);
    }

    .contact-p .btn-outline-tech {
        border: 2px solid var(--blue-600);
        background: transparent;
        color: var(--blue-600);
        border-radius: 10px;
        padding: 10px 25px;
        font-weight: 600;
        transition: all 0.3s;
    }

    .contact-p .btn-outline-tech:hover {
        background: var(--blue-600);
        color: white;
    }

    /* Quick Contact */
    .contact-p .quick-contact-section {
        background: var(--gray-50);
        padding: 25px;
        border-radius: 15px;
        border: 1px solid var(--border-color);
        margin-bottom: 20px;
    }

    .contact-p .quick-contact-section h4 {
        color: var(--blue-800);
        font-weight: 700;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 2px solid var(--blue-200);
    }

    /* Social Media - Simplified */
    .contact-p .social-tech {
        display: flex;
        gap: 12px;
        margin-top: 20px;
    }

    .contact-p .social-tech a {
        width: 45px;
        height: 45px;
        border-radius: 12px;
        background: var(--gray-100);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--blue-700);
        text-decoration: none;
        transition: all 0.3s;
    }

    .contact-p .social-tech a:hover {
        transform: translateY(-3px);
    }

    .contact-p .social-tech a[title="Facebook"]:hover {
        background: var(--facebook-color);
        color: white;
    }

    .contact-p .social-tech a[title="Instagram"]:hover {
        background: var(--instagram-color);
        color: white;
    }

    .contact-p .social-tech a[title="Twitter"]:hover {
        background: var(--twitter-color);
        color: white;
    }

    .contact-p .social-tech a[title="LinkedIn"]:hover {
        background: var(--linkedin-color);
        color: white;
    }

    /* WhatsApp Button */
    .contact-p .btn-whatsapp-tech {
        background: var(--whatsapp-color);
        border: none;
        border-radius: 10px;
        padding: 12px 25px;
        font-weight: 600;
        color: white;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.3s;
    }

    .contact-p .btn-whatsapp-tech:hover {
        background: var(--whatsapp-hover);
        transform: translateY(-2px);
        box-shadow: 0 8px 15px rgba(37, 211, 102, 0.2);
    }

    /* Loading Animation */
    .contact-p .ajax-loading-tech {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(26, 54, 93, 0.9);
        z-index: 9999;
        display: none;
        justify-content: center;
        align-items: center;
    }

    .contact-p .ajax-loading-tech.active {
        display: flex;
    }

    .contact-p .loader-tech {
        width: 60px;
        height: 60px;
        border: 5px solid rgba(255,255,255,0.2);
        border-top-color: var(--accent-color);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

   

    @keyframes slideInRight {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    @keyframes shake {
        0%, 100% { transform: translateX(0); }
        10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
        20%, 40%, 60%, 80% { transform: translateX(5px); }
    }

    .contact-p .animate-card {
        opacity: 0;
        animation: fadeInUp 0.5s ease forwards;
    }

    .contact-p .contact-info-card:nth-child(1) { animation-delay: 0.1s; }
    .contact-p .contact-info-card:nth-child(2) { animation-delay: 0.2s; }
    .contact-p .contact-info-card:nth-child(3) { animation-delay: 0.3s; }
    .contact-p .contact-form-card { animation-delay: 0.4s; }
    .contact-p .quick-contact-section { animation-delay: 0.5s; }

    /* Validation */
    .contact-p .is-invalid {
        border-color: var(--danger-color) !important;
    }

    .contact-p .invalid-feedback {
        color: var(--danger-color);
        font-size: 0.875rem;
        margin-top: 5px;
    }

    /* Alert Messages - Keeping structure */
    .contact-p .form-alert-tech {
        position: fixed;
        top: 100px;
        right: 20px;
        min-width: 350px;
        background: var(--card-bg);
        border-radius: 10px;
        padding: 15px 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border-left: 4px solid;
        z-index: 9999;
        animation: slideInRight 0.3s ease forwards;
    }

    .contact-p .alert-tech-success { border-left-color: var(--success-color); }
    .contact-p .alert-tech-danger { border-left-color: var(--danger-color); }

    .contact-p .alert-content {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .contact-p .alert-icon {
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .contact-p .alert-tech-success .alert-icon { color: var(--success-color); }
    .contact-p .alert-tech-danger .alert-icon { color: var(--danger-color); }

    .contact-p .alert-text {
        flex: 1;
    }

    .contact-p .alert-text strong {
        display: block;
        margin-bottom: 5px;
        font-size: 1rem;
    }

    /* Real-time validation */
    /* .contact-p .is-valid {
        border-color: var(--success-color) !important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2338a169' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right calc(0.375em + 0.1875rem) center;
        background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    } */

    /* Inquiry tracker - Simplified */
    .contact-p .inquiry-tracker-tech {
        background: var(--gray-50);
        border: 2px dashed var(--blue-300);
        border-radius: 15px;
        padding: 20px;
        margin-top: 25px;
        animation: fadeInUp 0.5s ease forwards;
    }

    /* Contact Method Cards */
    .contact-p .contact-method {
        background: var(--gray-50);
        padding: 12px;
        border-radius: 10px;
        border: 1px solid var(--border-color);
        transition: all 0.3s;
    }

    .contact-p .contact-method:hover {
        background: var(--blue-50);
        border-color: var(--blue-300);
    }

    /* Map */
    .contact-p .map-container-modern {
        border-radius: 15px;
        overflow: hidden;
        margin-top: 40px;
        border: 1px solid var(--border-color);
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }

    /* Badges */
    .contact-p .badge {
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 0.875rem;
    }
  .toast-message {
        position: fixed;
        top: 100px;
        right: 20px;
        background: var(--card-bg);
        border-radius: 8px;
        padding: 15px 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        border-right: 4px solid var(--success-color);
        z-index: 9999;
        animation: slideInRight 0.3s ease forwards;
        max-width: 400px;
    }
    
    .toast-message.error {
        border-right-color: var(--danger-color);
    }
    
    .toast-content {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .toast-icon {
        font-size: 1.2rem;
        color: var(--success-color);
    }
    
    .toast-message.error .toast-icon {
        color: var(--danger-color);
    }
    
    .toast-text {
        flex: 1;
    }
    
    .toast-close {
        background: none;
        border: none;
        color: var(--gray-400);
        cursor: pointer;
        padding: 0;
        font-size: 1rem;
    }
    
    @keyframes slideInRight {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    @keyframes slideOut {
        from {
            transform: translateX(0);
            opacity: 1;
        }
        to {
            transform: translateX(100%);
            opacity: 0;
        }
    }
    
    @keyframes shake {
        0%, 100% { transform: translateX(0); }
        10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
        20%, 40%, 60%, 80% { transform: translateX(5px); }
    }

    /* end */

    /* portflio page */

        .portfolio-page-hero {
            background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
            color: white;
            padding: 120px 0 80px;
            text-align: center;
            position: relative;
            overflow: hidden;
            margin-bottom: 40px;
        }
        
        .portfolio-page-title {
            font-size: 3.5rem;
            font-weight: 900;
            margin-bottom: 20px;
            position: relative;
            z-index: 2;
        }
        
        .portfolio-page-subtitle {
            font-size: 1.4rem;
            opacity: 0.95;
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
            line-height: 1.6;
        }
        
        /* قسم الفلاتر - تصميم جديد */
        .portfolio-filters-section {
            padding: 4px 0;
            background: white;
            position: sticky;
            top: 70px;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .portfolio-filters-container {
            position: relative;
            overflow: hidden;
        }
        
        .portfolio-filters-row {
            display: flex;
            flex-wrap: nowrap;
            gap: 10px;
            padding: 10px 0;
            overflow-x: auto;
            overflow-y: hidden;
            scrollbar-width: thin;
            scrollbar-color: var(--blue-300) var(--gray-100);
            scroll-behavior: smooth;
            padding-bottom: 15px;
        }
        
        .portfolio-filters-row::-webkit-scrollbar {
            height: 6px;
        }
        
        .portfolio-filters-row::-webkit-scrollbar-track {
            background: var(--gray-100);
            border-radius: 3px;
        }
        
        .portfolio-filters-row::-webkit-scrollbar-thumb {
            background: var(--blue-300);
            border-radius: 3px;
        }
        
        .portfolio-filter-scroll-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 101;
            transition: all 0.3s ease;
        }
        
        .portfolio-filter-scroll-btn:hover {
            background: var(--blue-50);
            transform: translateY(-50%) scale(1.1);
        }
        
        .portfolio-filter-scroll-btn-left {
            left: 10px;
        }
        
        .portfolio-filter-scroll-btn-right {
            right: 10px;
        }
        
        .portfolio-filter-scroll-btn i {
            color: var(--blue-600);
            font-size: 1.2rem;
        }
        
        .portfolio-filter-btn {
            margin: 0 5px 5px 0;
            border-radius: 25px;
            padding: 10px 25px;
            transition: all 0.3s ease;
            border: 2px solid var(--gray-300);
            color: var(--gray-700);
            background-color: white;
            white-space: nowrap;
            flex-shrink: 0;
        }
        
        .portfolio-filter-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(49, 130, 206, 0.1);
            border-color: var(--blue-300);
            color: var(--primary-color);
        }
        
        .portfolio-filter-btn-active {
            background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
            color: white;
            border-color: transparent;
            box-shadow: 0 5px 15px rgba(49, 130, 206, 0.2);
        }
        
        .portfolio-filter-btn i {
            margin-left: 8px;
        }
        
        /* تصميم معرض الأعمال - سطرين مع تمرير أفقي */
        .portfolio-gallery-section {
            padding: 40px 0;
        }
        
        .portfolio-gallery-container {
            position: relative;
        }
        
        .portfolio-rows-wrapper {
            display: flex;
            flex-direction: column;
            gap: 40px;
        }
        
        .portfolio-row-container {
            position: relative;
        }
        
        .portfolio-row {
            display: flex;
            gap: 30px;
            overflow-x: auto;
            overflow-y: hidden;
            padding: 20px 45px;
            scrollbar-width: thin;
            scrollbar-color: var(--blue-300) transparent;
            scroll-behavior: smooth;
            min-height: 320px;
            scroll-snap-type: x mandatory;
        }
        
        .portfolio-row::-webkit-scrollbar {
            height: 8px;
        }
        
        .portfolio-row::-webkit-scrollbar-track {
            background: var(--gray-100);
            border-radius: 4px;
            margin: 0 10px;
        }
        
        .portfolio-row::-webkit-scrollbar-thumb {
            background: var(--blue-400);
            border-radius: 4px;
        }
        
        .portfolio-row::-webkit-scrollbar-thumb:hover {
            background: var(--blue-500);
        }
        
        .portfolio-row-scroll-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 102;
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
        }
        
        .portfolio-row-scroll-btn-show {
            opacity: 1;
            visibility: visible;
        }
        
        .portfolio-row-scroll-btn:hover {
            background: var(--blue-50);
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 6px 20px rgba(49, 130, 206, 0.3);
        }
        
        .portfolio-row-scroll-btn-left {
            left: 0;
        }
        
        .portfolio-row-scroll-btn-right {
            right: 0;
        }
        
        .portfolio-row-scroll-btn i {
            color: var(--blue-600);
            font-size: 1.4rem;
        }
        
        /* إخفاء الصف إذا كان فارغاً */
        .portfolio-row-container:has(.portfolio-row:empty) {
            display: none !important;
        }
        
        /* تصميم البطاقات */
        .portfolio-item {
            opacity: 1;
            transition: all 0.3s ease;
            flex: 0 0 auto;
            width: 350px; /* عرض ثابت للبطاقات */
            scroll-snap-align: start;
        }
        
        .portfolio-item-hidden {
            display: none !important;
        }
        
        .portfolio-card {
            border: 1px solid var(--gray-200);
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            height: 100%;
            border-radius: 15px;
            overflow: hidden;
            background-color: white;
            width: 100%;
        }
        
        .portfolio-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
            border-color: var(--blue-200);
        }
        
        .portfolio-card img {
            height: 220px;
            width: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .portfolio-card:hover img {
            transform: scale(1.05);
        }
        
        .portfolio-badges {
            position: absolute;
            top: 15px;
            left: 15px;
            display: flex;
            gap: 5px;
            flex-wrap: wrap;
        }
        
        .portfolio-badge {
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            color: white;
        }
        
        .portfolio-badge-purple { background-color: var(--purple) !important; }
        .portfolio-badge-orange { background-color: var(--orange) !important; }
        .portfolio-badge-teal { background-color: var(--teal) !important; }
        

        .portfolio-why-choose-us {
            padding: 80px 0;
            background: linear-gradient(to bottom, var(--gray-50), white);
        }
        
        .portfolio-why-choose-us .portfolio-section-title {
            position: relative;
            margin-bottom: 50px;
            font-weight: 700;
            color: var(--gray-800);
        }
        
        .portfolio-why-choose-us .portfolio-section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            right: 0;
            width: 100px;
            height: 4px;
            background: linear-gradient(to right, var(--blue-600), var(--blue-400));
            border-radius: 2px;
        }
        
        .portfolio-why-choose-us .portfolio-section-title-center::after {
            right: 50%;
            transform: translateX(50%);
        }
        
        .portfolio-feature-card {
            height: 100%;
            padding: 30px;
            border-radius: 15px;
            transition: all 0.3s ease;
            border: 1px solid var(--gray-200);
            background-color: white;
            text-align: center;
        }
        
        .portfolio-feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            border-color: var(--blue-200);
        }
        
        .portfolio-feature-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--blue-500), var(--blue-300));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: white;
            font-size: 1.8rem;
        }
        
        /* قسم الـ CTA */
        .portfolio-cta-section {
            padding: 100px 0;
            background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
            color: white;
            text-align: center;
            margin: 40px 0;
            position: relative;
            overflow: hidden;
        }
        
        .portfolio-cta-section h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        
        .portfolio-cta-section p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            opacity: 0.9;
        }
        
        .portfolio .btn-primary {
         background-color: var(--blue-600);
            border-color: var(--blue-600);
        }
        
        .portfolio .btn-primary:hover {
            background-color: var(--blue-700);
            border-color: var(--blue-700);
            transform: translateY(-2px);
        }
        
        .portfolio-btn-outline-light {
            border-color: white;
            color: white;
        }
        
        .portfolio-btn-outline-light:hover {
            background-color: white;
            color: var(--blue-800);
        }
        
        /* Animations */
        .portfolio-fade-in-up {
            animation: portfolioFadeInUp 0.6s ease forwards;
        }
        
        @keyframes portfolioFadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Modal Fixes */
        .portfolio-modal-backdrop {
            z-index: 1040;
        }
        
        .portfolio-modal {
            z-index: 1050;
        }
        
        /* Fix for multiple backdrops */
        .portfolio-modal-backdrop ~ .portfolio-modal-backdrop {
            display: none !important;
        }
        
        .portfolio-modal-container {
            position: fixed;
            z-index: 1060;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }
        
        .portfolio-modal-container .portfolio-modal {
            pointer-events: all;
        }
        
        /* Ensure modal backdrop removal */
        body.portfolio-modal-open {
            overflow: hidden;
            padding-right: 0 !important;
        }


/* end */
/* التذييل */
.footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-brand h4 {
    color: white;
    margin: 15px 0;
    font-weight: 600;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer .conact-with-us h5 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    font-size: .7rem;
}
.footer  .our-services-hder  h5 {
    color:white;
    margin-bottom: 20px;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
   
    font-size: 1rem;
           
}
.footer .our-services{
    font-size: 1rem;
          

       
}



footer .row div:nth-child(2) h5:first-child::after{
    content: '';
    position: absolute;
    bottom: -8px;
    /* right: 0%; */
    width: 30px;
    height: 3px;
    right: calc(50% - 30px / 2);
     
   
    background-color: var(--accent-color);
}
footer .row div:nth-child(3) h5:first-child::after{
    content: '';
    position: absolute;
    bottom: -8px;
    /* right: 0%; */
    width: 50px;
    height: 3px;
    left: 0;
     
   
    background-color: var(--accent-color);
}
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

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

footer .contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
footer .footer-brand>:nth-child(2){
 white-space: nowrap;
 font-size: 1.5rem;
}
.footer .footer-brand{
   padding-bottom: 20px;
}
/* .contact-info i {
    margin-left: 10px;
    color: var(--secondary-color);
} */

.social-icons {
    margin: 10px;
     
}

.social-icons a {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 0px;
    margin-left: 10px;
    color: white;
    transition: all 0.3s ease;
}

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

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-menu {
    text-align: left;
}

.footer-menu a {
    color: var(--light-color);
    opacity: 0.7;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-menu a:hover {
    opacity: 1;
}

/* زر العودة للأعلى */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;

    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}
@media  (max-width:992px) {

/* here is tap bar and Navbar */
  .top-bar {
            font-size: 0.8rem;
                padding: 5px 0;
                display: none;
                
            }
            
            .top-bar .contact-info {
                gap: 10px;
            }
            
            .top-bar .social-icons {
                gap: 10px;
            }
            
            .contact-float {
                left: 10px;
                gap: 5px;
            }
            
         
            .contact-button {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            
            .contact-button::after {
                font-size: 0.7rem;
                padding: 5px 10px;
            }
                .top-bar .d-none.d-md-flex {
                display: none !important;
            }
            
            .top-bar .contact-info {
                justify-content: center;
                width: 100%;
            }
  .toggler-menu-btn{
    position: absolute;
    top: 15px;
    left: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
     margin-block: 2px;
  
    flex-direction: column;
    /* justify-content: space-between; */
   
}
 .toggler-menu-btn span{
    display: block;
    height: 4px;
    width: 100%;
   margin-block: 2px;
    background-color:var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.toggler-menu-btn.active span:nth-child(1) {
    transform: rotate(49deg) translate(1px, 5px);
}
.toggler-menu-btn.active span:nth-child(2) {
    display: none;
}
.toggler-menu-btn.active span:nth-child(3) {
    transform: rotate(-49deg) translate(1px, -5px);
}

    .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    
}
.navbar {
    background-color: #f8f9fb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
    position: absolute;
    z-index: 444;
    right: 0;
    left: 0;
    top: 0;
}


/* main  start*/

 .main-p .main-p-hero-title-innovative {
                font-size: 2.5rem;
            }
            
            .main-p .main-p-hero-subtitle-innovative {
                font-size: 1.1rem;
                padding: 0 15px;
            }
            
            .main-p .main-p-hero-buttons-innovative {
                flex-direction: column;
                align-items: center;
            }
            
            .main-p .main-p-btn-cyber {
                width: 100%;
                max-width: 300px;
            }
            
            .main-p .main-p-portfolio-grid-immersive {
                grid-template-columns: 1fr;
            }
            
            .main-p .main-p-cta-title-futuristic {
                font-size: 2.2rem;
            }
            
            .main-p .main-p-section-title {
                font-size: 2rem;
            }
            
            .main-p .main-p-testimonial-card {
                padding: 30px 20px;
            }
            /* end */
/* service page */

   .service-p .services-hero .hero-title {
                font-size: 2.5rem;
            }
            
            .service-p .services-hero .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .service-p .section-title {
                font-size: 2rem;
            }
            
            .service-p .service-card {
                margin-bottom: 30px;
            }
            
            .service-p .cta-button {
                display: block;
                margin: 15px auto;
                max-width: 300px;
            }
            /* end */

            /* contact page */

              .toast-message {
            right: 10px;
            left: 10px;
            max-width: none;
        }
        .contact-p .contact-hero-title {
            font-size: 2rem;
        }
        
        .contact-p .contact-hero-subtitle {
            font-size: 1rem;
            padding: 0 15px;
        }
      
        .contact-p .laptop-screen {
            padding: 20px;
            margin: 20px 15px 0;
        }
        
        .contact-p .contact-form-card {
            padding: 20px;
        }
        
        .contact-p .contact-info-card {
            padding: 20px;
        }
        
        .contact-p .laptop-base {
            width: 100%;
        }
        
        .contact-p .social-tech {
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .contact-p .form-alert-tech {
            right: 10px;
            left: 10px;
            min-width: auto;
            max-width: none;
        }

        /* end */

        /* portflio page */
          .portfolio-item {
                width: 280px;
            }
            
            .portfolio-filter-btn {
                padding: 8px 20px;
                font-size: 0.9rem;
            }
            
            .portfolio-filter-scroll-btn,
            .portfolio-row-scroll-btn {
                width: 38px;
                height: 38px;
            }
            
            .portfolio-row-scroll-btn i {
                font-size: 1.2rem;
            }
        
            .portfolio-page-title {
                font-size: 2.5rem;
            }
            
            .portfolio-page-subtitle {
                font-size: 1.1rem;
            }
            
            .portfolio-filters-section {
                padding: 20px 0;
                top: 1px;
            }
            
            .portfolio-row {
                gap: 20px;
                padding: 15px 35px;
            }
            
            .portfolio-card img {
                height: 180px;
            }
            
            .portfolio-filter-btn i {
                margin-left: 5px;
                font-size: 0.9rem;
            }
            
            .portfolio-badges {
                top: 10px;
                left: 10px;
            }
            
            .portfolio-badge {
                padding: 4px 10px;
                font-size: 0.8rem;
            }
            
            .portfolio-filter-scroll-btn-right {
                right: 4px;
            }
/* end */


/* footer */

footer .row div:nth-child(2) h5:first-child::after{
    content: '';
    position: absolute;
    bottom: -8px;
    /* right: 0%; */
    width: 30px;
    height: 3px;
    right: 0;
     
   
    background-color: var(--accent-color);
}

footer .row div:nth-child(3) h5:first-child::after{
    content: '';
    position: absolute;
    bottom: -8px;
    /* right: 0%; */
    width: 30px;
    height: 3px;

        left: 0;
     
   
    background-color: var(--accent-color);
}
.footer-brand h4 {
    color: white;
    margin: 15px 0;
    font-weight: 600;
    font-size: 1rem !important;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
    direction: initial;
}

.footer .conact-with-us h5 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    font-size: .7rem;
}
.footer  .our-services-hder  h5 {
    color:white;
    margin-bottom: 20px;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
   
    font-size: .7rem;
      
}
.footer .our-services{
    font-size: .7rem;
        

       
}
.footer .conact-with-us{
 font-size: .7rem;
}
.social-icons {
    margin: 10px;
      display: grid;
    grid-template-columns:min-content 1fr ;
    gap: 20px;
}

.copyright {
      opacity: 0.7;
    font-size: 0.5rem;
    display: inline-flex;
}
.footer-menu a {
    color: var(--light-color);
    opacity: 0.7;
    text-decoration: none;
    margin-left: 2px;
    font-size: 0.5rem;
    transition: opacity 0.3s ease;
}
}