@charset "UTF-8";:root{--primary:#1363C6;--secondary:#15ACE1;--light:#F4F7FE;--dark:#14183E}.text-primary-custom{color:#1153a2}#spinner{opacity:0;visibility:hidden;transition:opacity .5s ease-out,visibility linear .5s;z-index:99999}#spinner.show{transition:opacity .5s ease-out,visibility linear;visibility:visible;opacity:1}.back-to-top{position:fixed;display:none;right:45px;bottom:45px;z-index:99}.fw-bold,h1,h2,h3{font-weight:700!important}.fw-medium,h4,h5,h6{font-weight:500!important}.btn{font-weight:500;transition:.5s}.btn-square{width:38px;height:38px}.btn-lg-square{width:48px;height:48px}.btn-lg-square,.btn-sm-square,.btn-square{padding:0;display:flex;align-items:center;justify-content:center;font-weight:400;border-radius:50px}.sticky-top{top:-150px;transition:.5s}.navbar{padding:11px 0!important;height:75px}.navbar .navbar-nav .nav-link{margin-right:35px;padding:0;color:#fff;outline:0}.navbar .navbar-nav .nav-link.active,.navbar .navbar-nav .nav-link:hover{color:rgba(255,255,255,1);font-weight:700}.navbar .dropdown-toggle::after{border:none;content:"\f107";font-family:"Font Awesome 5 Free";font-weight:900;vertical-align:middle;margin-left:8px}@media (max-width:991.98px){.navbar .navbar-nav{padding:0 15px;background:var(--dark)}.navbar .navbar-nav .nav-link{margin-right:0;padding:10px 0}}@media (max-width:410px) and (min-width:300px){#aboutButton{padding:6px 12px;font-size:13px}}#aboutButton{font-size:clamp(12px,2vw,16px);padding:clamp(4px,1.5vw,10px) clamp(10px,4vw,20px)}.hero-header{margin-top:-75px;background:url(/assets/images/bg-hero.png) center center/cover no-repeat}.hero-header .breadcrumb-item+.breadcrumb-item::before{color:var(--light)}.hero-fullscreen{min-height:100vh;display:flex;align-items:center}.section-title::before{position:absolute;content:"";width:45px;height:4px;bottom:0;left:0;background:var(--dark)}.section-title::after{position:absolute;content:"";width:4px;height:4px;bottom:0;left:50px;background:var(--dark)}.section-title.text-center::before{left:50%;margin-left:-25px}.section-title.text-center::after{left:50%;margin-left:25px}.section-title h6::after,.section-title h6::before{position:absolute;content:"";width:10px;height:10px;top:2px;left:0;background:rgba(33,66,177,.5)}.section-title h6::after{top:5px;left:3px}.about-img{position:relative;overflow:hidden}.about-img::after{position:absolute;content:"";width:100%;height:100%;top:0;left:0;background:url(/assets/images/bg-about-img.png) top left/contain no-repeat}.service-item{position:relative;padding:45px 30px;background:#fff;transition:.5s}.service-item:hover{background:var(--primary)}.service-item .service-icon{margin:0 auto 20px;width:90px;height:90px;color:var(--primary);background:var(--light);transition:.5s}.service-item:hover .service-icon{background:#fff}.service-item h1,.service-item p{transition:.5s}.service-item:hover h1,.service-item:hover p{color:#fff}.service-item h5,.service-item p{transition:.5s}.service-item:hover h5,.service-item:hover p{color:#fff}.service-item a.btn{position:relative;display:flex;color:var(--primary);transition:.5s;z-index:1}.service-item:hover a.btn{color:var(--primary)}.service-item a.btn::before{position:absolute;content:"";width:35px;height:35px;top:0;left:0;border-radius:35px;background:var(--light);transition:.5s;z-index:-1}.service-item:hover a.btn::before{width:100%;background:var(--light)}.form-floating>label{right:.75rem;left:auto;text-align:right}.feature{background:url(/assets/images/bg-hero.png) center center/cover no-repeat}.font-6{font-size:16px}.font-5{font-size:20px}.newsletter{background:url(/assets/images/bg-hero.png) center center/cover no-repeat}@media (min-width:992px){.newsletter .container{max-width:100%!important}.newsletter .newsletter-text{padding-right:calc(((100% - 960px)/ 2) + .75rem)}}@media (min-width:1200px){.newsletter .newsletter-text{padding-right:calc(((100% - 1140px)/ 2) + .75rem)}}@media (min-width:1400px){.newsletter .newsletter-text{padding-right:calc(((100% - 1320px)/ 2) + .75rem)}}.case-item img{transition:.5s}.case-item:hover img{transform:scale(1.2)}.case-overlay{position:absolute;padding:30px;width:100%;height:100%;top:0;left:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;background:linear-gradient(rgba(20,24,62,0),var(--dark));z-index:1}.case-overlay small{display:inline-block;padding:3px 15px;color:#fff;background:rgba(20,24,62,.7);border-radius:25px;margin-bottom:15px}.case-overlay span.btn:hover{color:var(--primary);background:#fff;border-color:#fff}.accordion .accordion-item{border:none;margin-bottom:15px;direction:rtl}.accordion .accordion-button{background:var(--light);border-radius:2px}.accordion .accordion-button:not(.collapsed){color:#fff;background:var(--primary);box-shadow:none}.accordion .accordion-button:not(.collapsed)::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.accordion .accordion-body{padding:15px 0 0;direction:rtl}.testimonial-carousel{position:relative}.testimonial-carousel .owl-nav{position:absolute;width:40px;height:100%;top:calc(50% - 50px);left:-21px;display:flex;flex-direction:column;align-items:center}.testimonial-carousel .owl-nav .owl-next,.testimonial-carousel .owl-nav .owl-prev{margin:5px 0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:var(--primary);background:#fff;border:1px solid var(--primary);border-radius:40px;font-size:18px;transition:.5s}.testimonial-carousel .owl-nav .owl-next:hover,.testimonial-carousel .owl-nav .owl-prev:hover{background:var(--primary);color:#fff}.testimonial-carousel .owl-dots{margin-top:35px;margin-left:3rem}.testimonial-carousel .owl-dot{position:relative;display:inline-block;margin-right:10px;width:15px;height:15px;background:#fff;border:1px solid var(--primary);border-radius:15px;transition:.5s}.testimonial-carousel .owl-dot.active{width:30px;background:var(--primary)}.team-item{transition:.5s;border:1px solid transparent}.team-item:hover{border-color:var(--primary)}.footer{background:url(/assets/images/footer.png) center center/contain no-repeat}.footer .btn.btn-social{margin-right:5px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.5);border:1px solid rgba(256,256,256,.1);border-radius:40px;transition:.3s}.footer .btn.btn-social:hover{color:var(--primary)}.footer .btn.btn-link{display:block;margin-bottom:10px;padding:0;text-align:left;color:rgba(255,255,255,.5);font-weight:400;transition:.3s}.footer .btn.btn-link:hover{color:#fff;letter-spacing:1px;box-shadow:none}.footer .btn.btn-link::before{position:relative;content:"\f104";font-family:"Font Awesome 5 Free";font-weight:900;margin-left:10px}.footer .copyright{padding:25px 0;font-size:14px;border-top:1px solid rgba(256,256,256,.1)}.footer .copyright a{color:rgba(255,255,255,.5)}.footer .copyright a:hover{color:#fff}.footer .footer-menu a{margin-left:15px;padding-left:15px;border-left:1px solid rgba(255,255,255,.1)}.footer .footer-menu a:last-child{margin-left:0;padding-left:0;border-left:none}@media (min-width:300px) and (max-width:767px){.footer .footer-menu{padding-bottom:10px}}.sub-title{font-size:clamp(15px,2.5vw,28px)}.btn-sm-square{width:32px;height:32px;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%!important;flex-shrink:0}.card-title{font-weight:700;color:#0d6efd}.card-text{direction:rtl;text-align:right}.card img{object-fit:cover;height:180px} .floating-demo-btn { position: fixed; bottom: 45px; left: 45px; background-color: #007bff; color: white; padding: 12px 18px; border-radius: 50px; font-size: 14px; font-weight: bold; text-decoration: none; z-index: 9999; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: background-color 0.3s ease, opacity 0.4s ease; opacity: 0; pointer-events: none; } .floating-demo-btn.show { opacity: 1; pointer-events: auto; } @media (max-width: 768px) {.floating-demo-btn { padding: 10px 16px; font-size: 12px; bottom: 45px; left: 45px;}}

/* زر الدردشة العائم */
.chat-btn {
    position: fixed;
    bottom: 50px;
    right: 45px;
    background: linear-gradient(135deg, #3498db, #1a5276);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.chat-btn:hover {
    background: linear-gradient(135deg, #2980b9, #154360);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.chat-btn .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(52, 152, 219, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); }
}

/* واجهة الدردشة */
.chat-container {
    position: fixed;
    bottom: 60px;
    right: 100px;
    width: 350px;
    height: 400px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e0e0e0;
}

.chat-container.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: linear-gradient(to right, #2c3e50, #4a6491);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chat-header h3 {
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.close-chat {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-chat:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f5f7fa;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-image: linear-gradient(rgba(245, 247, 250, 0.95), rgba(245, 247, 250, 0.95)), 
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%23e0e6ef" stroke-width="0.5"/></svg>');
    background-size: 20px 20px;
}

.message {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 12px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-message {
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    margin-left: auto;
    border-radius: 12px 5px 12px 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.admin-message {
    background: white;
    border: 1px solid #e0e0e0;
    margin-right: auto;
    border-radius: 5px 12px 12px 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.message-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

.message-info {
    font-size: 0.75rem;
    color: #777;
    margin-top: 5px;
    display: flex;
    justify-content: flex-end;
}

.user-message .message-info {
    color: rgba(255,255,255,0.8);
}

.suggested-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    max-height: 120px;
    overflow-y: auto;
}

.suggested-questions button {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #1976d2;
    font-weight: 500;
}

.suggested-questions button:hover {
    background: #bbdefb;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.chat-input {
    display: flex;
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.chat-input input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.chat-input button {
    background: linear-gradient(to right, #2c3e50, #4a6491);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    margin-left: 10px;
    transition: all 0.3s;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.chat-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}

/* النقاط للإشارة إلى الحالة */
.online-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #27ae60;
    margin-left: 5px;
    box-shadow: 0 0 5px #27ae60;
}

.offline-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e74c3c;
    margin-left: 5px;
    box-shadow: 0 0 5px #e74c3c;
}

/* مؤشر الكتابة */
.typing-indicator {
    display: none;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 8px 15px;
    margin-right: auto;
    font-size: 0.9rem;
    color: #666;
}

.typing-indicator.active {
    display: block;
}

.typing-dots {
    display: inline-block;
    margin-left: 5px;
}

.typing-dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3498db;
    margin: 0 2px;
    opacity: 0.6;
    animation: typing 1.5s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-3px); opacity: 1; }
}

/* التكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .chat-btn {
         bottom: 50px;
        right: 45px;
        width: 48px;
    height: 48px;
        font-size: 18px;
    }
    
    .chat-container {
        width: 350px;
        right: 100px;
        height: 400px;
       bottom: 60px;
    }
    
    .chat-header h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 460px) {
    
    .chat-container {
        width: 300px;
        right: 100px;
        height: 400px;
       bottom: 60px;
    }
    

}

@media (max-width: 400px) {
    
    .chat-container {
        width: 250px;
        right: 100px;
        height: 400px;
       bottom: 60px;
    }
    
    .chat-header h3 {
    font-size: 0.7rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.chat-input input {
    flex: 1;
    padding: 12px 15px;
    font-size: 0.7rem;
}

.chat-input button {
    padding: 0 20px;
    font-size: 1rem;
    margin-left: 5px;
}

}

@media (max-width: 350px) {
.chat-btn {
    bottom: 50px;
    right: 25px;
    width: 48px;
    height: 48px;
    font-size: 24px;

}


.chat-container {
    bottom: 60px;
    right: 80px;
    width: 250px;
    height: 400px;
}
.back-to-top{
    right: 25px;
    bottom: 25px;
}
.floating-demo-btn {
    bottom: 25px;
    left: 25px;}
}