:root {
    --primary-color: #0d2e4e;
    --secondary-color: #6610f2;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --glass: rgba(255, 255, 255, 0.9);
}
html {
    overflow-x: hidden;
}

body {
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
    background-color: #fff;
    color: var(--dark-color);
}
.rwddx-floating-contact {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 99999;
}

.rwddx-link {
    text-decoration: none;
}

.rwddx-icon {
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 35px;
    box-shadow: 3px 2px 10px rgba(0, 0, 0, 0.22);
    margin-top: 5px;
    border: 3px solid #0ebc0e;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0ebc0e;
    transition: 0.3s;
}

.rwddx-icon:hover {
    transform: scale(1.1);
}

.rwddx-whatsapp {
    font-size: 38px;
}
/* Navbar Customization */
.navbar {
    background: var(--glass);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    padding: 15px 0;
}
.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.navbar-brand {
    font-weight: 900;
    font-size: 1.5rem;

    color: var(--primary-color) !important;
   
}
.navbar-brand {
    font-weight: 900;
    line-height: 1.4;
    background: linear-gradient(to left, #0d6efd, #6610f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(102, 16, 242, 0.05) 100%), 
                url('https://www.transparenttextures.com/patterns/cubes.png');
    padding: 180px 0 100px;
    position: relative;
}
.hero-title {
    font-weight: 900;
    line-height: 1.4;
    font-size: 3.5rem;
    background: linear-gradient(to left, #0d6efd, #6610f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: 0.3s;
}
.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 16, 242, 0.3);
    color: white;
}

/* Section Styling */
section { padding: 80px 0; }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.section-title h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    border-radius: 2px;
}

/* Cards Styling */
.service-card {
    border: none;
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s;
    height: 100%;
    text-align: center;
}
.service-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #ffffff 0%, #f1f4ff 100%);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Why Us Section */
.why-us-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.why-us-icon {
    min-width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-left: 20px;
}

/* Portfolio */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
}
.portfolio-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(102, 16, 242, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

/* Testimonials */
.testi-card {
    border: none;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(45deg, #0d6efd, #6610f2);
    color: white;
    border-radius: 30px;
    padding: 60px;
    text-align: center;
}

/* Footer */
footer {
    background: #0a0c10;
    color: #adb5bd;
    padding: 80px 0 30px;
}
footer h5 { color: #fff; margin-bottom: 25px; }
footer a { color: #adb5bd; text-decoration: none; transition: 0.3s; }
footer a:hover { color: var(--primary-color); }
.social-links a {
    display: inline-block;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-left: 10px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero { padding: 120px 0 60px; }
    .cta-section { padding: 30px; border-radius: 0; }
    .navbar-brand {font-size: 1.3rem;  display: flex;
    justify-content: center;
    align-items: center; }
}
/* Container Wrapper */
.contact-main-wrapper {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.1);
    margin: 50px 0;
}

/* Info Side Styling */
.contact-info-side {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    height: 100%;
    padding: 60px;
    color: white;
    position: relative;
    z-index: 1;
}

/* إضافة نقش بسيط في الخلفية لزيادة الفخامة */
.contact-info-side::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
    z-index: -1;
}

.side-title {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 20px;
}

.side-desc {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.icon-box {
    min-width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-left: 20px;
    transition: 0.4s;
}

.info-item:hover .icon-box {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

.text-box span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.text-box p {
    font-weight: 600;
    margin: 0;
    font-size: 1.05rem;
}

/* Social Links In Side */
.social-links-contact {
    margin-top: 50px;
}

.social-links-contact a {
    color: white;
    font-size: 1.2rem;
    margin-left: 20px;
    opacity: 0.7;
    transition: 0.3s;
}

.social-links-contact a:hover {
    opacity: 1;
}

/* Form Side Styling */
.contact-form-side {
    padding: 60px;
    background: #fff;
}

.form-header h2 {
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.form-header p {
    color: #777;
    margin-bottom: 40px;
}

/* Floating Inputs Customization */
.modern-form .form-control {
    border: none;
    border-bottom: 2px solid #eee;
    border-radius: 0;
    padding: 15px 0;
    box-shadow: none;
    transition: 0.3s;
}

.modern-form .form-control:focus {
    border-bottom-color: var(--primary-color);
}

.modern-form .form-floating label {
    right: 0;
    left: auto;
    padding: 15px 0;
}

.modern-form .form-floating>.form-control:focus~label,
.modern-form .form-floating>.form-control:not(:placeholder-shown)~label {
    transform: scale(.85) translateY(-1.2rem) translateX(-0.15rem);
    color: var(--primary-color);
}

/* Premium Button */
.btn-premium-send {
    background: var(--dark-color);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.4s;
    width: 100%;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.btn-premium-send:hover {
    background: var(--primary-color);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.3);
    transform: translateY(-3px);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .contact-info-side, .contact-form-side {
        padding: 40px 30px;
    }
    .contact-main-wrapper {
        margin: 20px 10px;
        border-radius: 20px;
    }
}
.clients-tech-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.tech-label {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 10px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    margin-top: 15px;
    border-radius: 2px;
}

.slick-clients-container {
    margin-top: 50px;
    direction: ltr; /* لضمان عمل السلايدر بشكل صحيح مع Slick */
}

.client-logo-item {
    outline: none;
    padding: 0 40px;
    display: flex !important;
    align-items: center;
    height: 250px;
}

.client-logo-item img {
    max-width: 200px;
    width: 100%;
    display: block;
    height: auto;
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo-item img:hover {
    opacity: 1;
    transform: scale(1.1);
}
.trust-card {
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
}

.trust-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-color: #007bff;
}

.trust-img {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.trust-card:hover .trust-img {
    opacity: 1;
    transform: scale(1.05);
}

/* ألوان لطيفة للـ Badges */
.bg-success-soft { background-color: #e8f5e9; }
.bg-primary-soft { background-color: #e3f2fd; }
.bg-secondary-soft { background-color: #f5f5f5; }

@media (max-width: 768px) {
    .trust-card h5 { font-size: 0.9rem; }
    .trust-card span { font-size: 0.7rem; }
}
/* إخفاء النقاط والأسهم لجعله يبدو كشريط أخبار تقني */
.slick-dots { display: none !important; }
/* تأكد من إضافة هذا التعديل لضمان عدم حدوث مشاكل في المسافات عند السحب */
.slick-clients-container {
    direction: rtl;
    touch-action: pan-y; /* يحسن السحب على الجوال */
}
.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
    border-radius: 20px;
    background: #f8f9fa;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid #eee;
}

.social-card .social-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
    transition: all 0.4s ease;
}

.social-card span {
    font-weight: bold;
    color: #555;
    transition: all 0.4s ease;
}

/* تأثيرات الحوام (Hover Effects) */
.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.social-card:hover span {
    color: #fff;
}

.social-card:hover .social-icon {
    color: #fff;
    transform: scale(1.1);
}

/* ألوان المنصات عند الـ Hover */
.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.facebook:hover {
    background-color: #1877F2;
}

.twitter:hover {
    background-color: #000; /* شعار X الجديد */
}

.tiktok:hover {
    background-color: #000;
    box-shadow: 3px 3px 0 #fe2c55, -3px -3px 0 #25f4ee; /* تأثير التيك توك الشهير */
}

.youtube:hover {
    background-color: #FF0000;
}

.snapchat:hover {
    background-color: #dce652;
}
/* تنسيق أساسي لأيقونات التواصل الاجتماعي */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2c2c2c; /* لون خلفية افتراضي غامق */
    color: #fff !important;
    margin-inline-end: 10px;
    text-decoration: none;
    transition: all 0.3s ease-in-out; /* حركة ناعمة */
    font-size: 18px;
}

/* تأثير التكبير والارتفاع عند التمرير */
.social-links a:hover {
    transform: translateY(-5px); /* يرتفع للأعلى قليلاً */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* تلوين كل أيقونة بلونها الخاص عند التمرير أو بشكل دائم */

/* Instagram */
.social-links a[href*="instagram"] {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* YouTube */
.social-links a[href*="youtube"] {
    background-color: #FF0000;
}

/* TikTok */
.social-links a[href*="tiktok"] {
    background-color: #000000;
    border: 1px solid #fe2c55; /* لمسة تيك توك الشهيرة */
}

/* Snapchat */
.social-links a[href*="snapchat"] {
    background-color: #FFFC00;
    color: #000 !important; /* سناب شات يحتاج أيقونة سوداء للخلفية الصفراء */
}
