/* ===== SIMPLE AND CLEAN STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --text-dark: #374151;
    --text-light: #6b7280;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
    padding: 0.5rem 0;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary {
    background: #fcd33d;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(118, 75, 162, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-top: 2rem;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===== SECTIONS ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    padding: 5rem 0;
    background: white;
}

.portfolio-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 300px;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.portfolio-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(118, 75, 162, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.portfolio-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.portfolio-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}
/* =============== Sales Strategy Section Styles =============== */
.sales-strategy-section {
    padding: 80px 0;
    background-color: #f8f9fa; 
}

.sales-accordion .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 12px !important;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sales-accordion .accordion-header .accordion-button {
    background-color: #fff;
    color: #343a40;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 20px 25px;
    text-align: right;
    direction: rtl;
}

.sales-accordion .accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #007bff; 
    box-shadow: none;
}

.sales-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* تغيير شكل سهم الأكورديون */
.sales-accordion .accordion-button::after {
    margin-left: 0;
    margin-right: auto; 
    
}

.sales-accordion .accordion-body {
    padding: 20px 30px;
    background-color: #fff;
}

.strategy-list {
    list-style: none;
    padding-right: 0; 
    direction: rtl;
}

.strategy-list li {
    font-size: 1rem;
    color: #555;
    padding-right: 25px; 
    position: relative;
    margin-bottom: 12px;
    line-height: 1.7;
}

/* إضافة أيقونة صح بجانب كل نقطة */
.strategy-list li::before {
        content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #28a745;
    position: absolute;
    right: 0;
    top: 55%;
    transform: translateY(-50%);
}

.accordion-button i {
    color: #007bff;
    margin-inline-end:10px;
}


/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    position: relative;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: right;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-right: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(118, 75, 162, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    margin-top: 2rem;
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-left: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}
/* =============== Achievements Section Styles =============== */
.achievements-section {
    padding: 80px 0;
    background-color: #f8f9fa; 
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
}

.achievement-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    min-height:530px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08 );
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.achievement-image img {
       width: 100%;
    height: 300px;
    object-fit: fill;
}
.owl-carousel .owl-item{
	padding:10px;
}

.achievement-content {
    padding: 25px;
}

.achievement-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.achievement-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.achievement-tag {
    display: inline-block;
    background-color: #eef2f5;
    color: #5d7e9a;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* Owl Carousel Navigation Styles */
.achievements-carousel .owl-nav {
    position: absolute;
    top: 40%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; 
}

.achievements-carousel .owl-nav button.owl-prev,
.achievements-carousel .owl-nav button.owl-next {
    pointer-events: all; 
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #333 !important;
    font-size: 24px !important;
    transition: all 0.3s ease;
}

.achievements-carousel .owl-nav button.owl-prev {
    margin-left: -25px;
}
.achievements-carousel .owl-nav button.owl-next {
    margin-right: -25px;
}

.achievements-carousel .owl-nav button:hover {
    background-color: #fff !important;
    color: #007bff !important;
}

.achievements-carousel .owl-dots {
    margin-top: 30px !important;
}

.achievements-carousel .owl-dots .owl-dot span {
    width: 12px !important;
    height: 12px !important;
    background-color: #ccc !important;
    transition: all 0.3s ease;
}

.achievements-carousel .owl-dots .owl-dot.active span {
    background-color: #007bff !important;
    width: 25px !important;
}
/*=========== clients =============*/
.clients {
      background-color: #f8f9fa;
    padding: 50px 0;
    position: relative;
    
}
.clients .sec-head{
        margin-bottom: 50px;
}
.client-item {
      margin-bottom: 30px;
    padding: 20px;
    background: #FFF;
    border-radius: 30px;
}


.client-item img {
    max-height: 500px;
}
.clients .owl-dots{
        display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
}
.clients .owl-dots .owl-dot{
       height: 4px;
    background-color: #f49333;
    width: 20px;
    transition:all .3s ease-in-out;
}
.clients .owl-dots .owl-dot.active{
    width: 40px;
}
/* =============== Video Testimonials Section Styles =============== */
.video-testimonials-section {
    padding: 80px 0;
    background-color: #fff; 
}

.video-testimonials-section .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.video-testimonials-section .section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px; 
}

.video-testimonial-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; 
}

.video-testimonial-card:hover {
    transform: translateY(-8px );
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.video-wrapper {  
	position: relative;
    height: 350px;
    overflow: hidden;
    padding: 15px;
}

.video-wrapper video{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.testimonial-info {
    padding: 25px 30px;
    text-align: center;
}

.testimonial-quote {
    font-size: 1.05rem;
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    padding: 0 15px;
}

.testimonial-quote::before {
    content: '“';
    font-family: 'Georgia', serif;
    font-size: 3rem;
    color: #007bff;
    opacity: 0.2;
    position: absolute;
    top: -10px;
    right: 0;
}

.testimonial-quote::after {
    content: '”';
    font-family: 'Georgia', serif;
    font-size: 3rem;
    color: #007bff;
    opacity: 0.2;
    position: absolute;
    bottom: -30px;
    left: 0;
}

.client-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.client-company {
    font-size: 0.9rem;
    font-weight: 500;
    color: #007bff;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: white;
}

/* =============== Floating WhatsApp Button Styles =============== */
.floating-whatsapp-btn {
    position: fixed; /* يجعله ثابتاً على الشاشة */
    bottom: 30px; /* المسافة من الأسفل */
    left: 50%; /* يبدأ من منتصف الشاشة */
    transform: translateX(-50% ); /* يضبط موضعه ليكون في المنتصف تماماً */
    min-width:280px;
    background-color: #25D366; /* لون الواتساب الأخضر */
    color: #fff; /* لون النص والأيقونة */
    padding: 12px 24px;
    border-radius: 50px; /* حواف دائرية */
    
    display: flex; /* لتوسيط المحتوى الداخلي */
    align-items: center;
    justify-content: center;
    
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none; /* إزالة الخط تحت الرابط */
    
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* ظل لتمييز الزر */
    
    z-index: 1000; /* لضمان ظهوره فوق كل العناصر الأخرى */
    
    opacity: 0; /* يبدأ مخفياً */
    visibility: hidden; /* إخفاء كامل لعدم التفاعل معه وهو مخفي */
    transform: translate(-50%, 100px); /* يبدأ من الأسفل قليلاً لتأثير الصعود */
    transition: all linear .3s; /* حركة ناعمة للظهور والاختفاء */
}

/* حالة الظهور */
.floating-whatsapp-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%); /* يعود لمكانه الأصلي في المنتصف */
}

.floating-whatsapp-btn:hover {
    background-color: #128C7E; /* لون أغمق عند مرور الماوس */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateX(-50%) translateY(-5px); /* حركة بسيطة للأعلى عند المرور */
}

/* أيقونة الواتساب */
.floating-whatsapp-btn i {
    font-size: 1.5rem; /* حجم الأيقونة */
    margin-left: 10px; /* مسافة بين الأيقونة والنص (استخدمنا margin-left لأننا في واجهة عربية) */
}

/* تنسيق للشاشات الصغيرة (اختياري) */
 .whatsapp-btn {
    
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366; /* استخدمت background-color بدل background */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

/* إضافة تأثير عند مرور الماوس لتحسين تجربة المستخدم */
.whatsapp-btn:hover {
    transform: scale(1.1); /* تكبير بسيط للزر */
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6); /* ظل أوضح */
}

.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    /* تم تغيير bottom إلى top لظهور التلميح فوق الزر */
    top: -45px; 
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8); /* استخدمت background-color */
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    
    /* يبدأ مخفياً */
    opacity: 0;
    visibility: hidden; /* إخفاء كامل لمنع التفاعل معه */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}


@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-cta .btn,
    .cta-buttons .btn {
        display: block;
        margin: 0 0 10px!important;
        width: 100%;
    }
    .navbar-toggler-icon{
		filter: brightness(0) saturate(100%)
	}
    .service-card {
        margin-bottom: 2rem;
    }
    
    .portfolio-item {
        height: 250px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .achievement-image img{
        height:250px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .portfolio-item {
        height: 200px;
    }
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* ===== LOADING ANIMATION ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ===== ACCESSIBILITY ===== */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .whatsapp-float,
    .scroll-progress {
        display: none !important;
    }
    
    .hero-section,
    .cta-section {
        background: white !important;
        color: black !important;
    }
}
