:root {
    --g-blue: #4285F4; --g-red: #EA4335; --g-yellow: #FBBC05; --g-green: #34A853;
}

body { margin: 0; padding: 0; background: #000; color: #fff; overflow-x: hidden; font-family: 'Cairo', sans-serif; }

/* Parallax Background */
.bg-fixed {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url('images/main-bg.png') center/cover;
    filter: brightness(0.4); z-index: -1;
}

.navbar {
    position: fixed; 
    top: 0; 
    left: 0;
    width: 90%; 
    background: rgba(17, 17, 17, 0.95); 
    backdrop-filter: blur(10px); 
    border-bottom: 2px solid #FBBC05; 
    padding: 15px 5%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
/* --- كود فرد السلايدر لشركة الرائد --- */
.main-slider {
    /* 1. بنزود الطول الكلي للسلايدر عشان يتفرد (خليه 90% من طول الشاشة) */
    height: 70vh !important; 
    
    /* 2. بنزود مساحة "الفرد" من فوق وتحت جوه الصور نفسها */
    padding: 100px 0; 
    
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center; /* يسنتر المحتوى في النص بالظبط */
}

/* 3. نأكد إن الصورة مالية المساحة الجديدة ومنورة */
.swiper-slide {
    background-size: cover !important;
    background-position: center center !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 4. زقة زيادة للمحتوى اللي جوه عشان ما يلزقش في المنيو */
.slide-content {
    padding: 60px 20px; /* بيفرد الكلام من فوق ومن تحت */
    max-width: 800px;
    margin: 0 auto;
}

/* اللوجو */
.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #FBBC05;
    text-shadow: 0 0 10px rgba(251, 188, 5, 0.3);
}

/* أزرار المنيو */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
    transition: 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0; /* الخط يبدأ من الصفر */
    height: 3px;
    background: #FBBC05; /* اللون الذهبي */
    border-radius: 5px;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* حركة مطاطية فخمة */
}

/* تأثير الـ Hover */
.nav-links a:hover {
    color: #FBBC05;
    transform: translateY(-2px); /* الزرار يترفع سنة لفوق */
}

.nav-links a:hover::after {
    width: 100%; /* الخط يتفرد بالكامل تحت الكلمة */
}

/* Hero */
.hero { height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero h1 { font-size: 4rem; color: var(--g-yellow); text-shadow: 0 0 20px rgba(251, 188, 5, 0.4); }
.hero p { font-size: 1.5rem; color: #ddd; margin-bottom: 30px; }
.btn-main { background: var(--g-blue); color: #fff; padding: 15px 30px; text-decoration: none; border-radius: 50px; font-weight: 900; margin: 10px; display: inline-block; }
.btn-alt { border: 2px solid #fff; color: #fff; padding: 13px 30px; text-decoration: none; border-radius: 50px; font-weight: 900; margin: 10px; display: inline-block; }

/* Stats Counter */
.stats { display: flex; justify-content: space-around; padding: 60px 10%; background: rgba(66, 133, 244, 0.1); backdrop-filter: blur(5px); }
.stat-item i { font-size: 3rem; color: var(--g-green); }
.stat-item h2 { font-size: 3rem; margin: 10px 0; }

/* Cards Styling */
.section-title { text-align: center; font-size: 2.5rem; margin: 50px 0; color: var(--g-red); }
.services-grid, .reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; padding: 0 10%; }
.service-card, .review-card { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 20px; border: 1px solid #333; text-align: center; transition: 0.4s; }
.service-card:hover { transform: translateY(-10px); border-color: var(--g-blue); }
.review-card { border-right: 5px solid var(--g-yellow); }

/* Floating Elements */
.floating-social { position: fixed; left: 20px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 1000; }
.f-social { width: 45px; height: 45px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 1.2rem; transition: 0.3s; animation: float 3s ease-in-out infinite; }
.fb { background: #1877F2; } .ig { background: #E4405F; } .tw { background: #000; } .tk { background: #000; border: 1px solid #fff; }

.floating-contact { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 15px; z-index: 1000; }
.f-call { background: var(--g-blue); width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; color: #fff; animation: pulse 2s infinite; }
.f-wa { background: var(--g-green); width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; color: #fff; }

/* Footer */
.main-footer { background: #0a0a0a; padding: 60px 10% 20px; border-top: 2px solid var(--g-red); margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #222; color: #555; }

/* Animations */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(66, 133, 244, 0); } 100% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0); } }

@media (max-width: 768px) { .stats { flex-direction: column; gap: 30px; } .hero h1 { font-size: 2.5rem; } }
.main-slider {
    width: 100%;
    height: 75vh; /* السلايدر واخد 75% من طول الشاشة */
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.slide-content h2 {
    font-size: 3.5rem;
    color: var(--g-yellow);
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.slide-content p {
    font-size: 1.6rem;
    max-width: 700px;
    margin: 0 auto 30px;
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 10px;
}

/* تلوين نقط السلايدر بألوان براند الشعاع */
.swiper-pagination-bullet-active { background: var(--g-blue) !important; }
.swiper-button-next, .swiper-button-prev { color: var(--g-yellow) !important; }
.swiper-slide {
    height: 75vh !important; /* تأكد إن السلايدر له طول واضح */
    background-size: cover !important; /* عشان الصورة تملأ المكان */
    background-position: center !important; /* عشان الصورة تتوسط */
    background-repeat: no-repeat !important;
}
/* --- كود فواصل الأقسام المحددة --- */
section {
    /* 1. إضافة خط سفلي واضح بلون براند الشركة */
    border-bottom: 3px solid rgba(251, 188, 5, 0.4); 
    
    /* 2. مسافة داخلية عشان الكلام ما يلزقش في الخط */
    padding-bottom: 60px; 
    
    /* 3. مسافة خارجية عشان الأقسام تبعد عن بعضها */
    margin-bottom: 40px; 
    
    position: relative;
}

/* حركة لمستوى تصميم أعلى: وضع أيقونة في نص الخط الفاصل */
section::after {
    content: "❄️"; /* أيقونة ثلج تعبر عن التكييف */
    position: absolute;
    bottom: -18px; /* سنتر الأيقونة فوق الخط بالظبط */
    left: 50%;
    transform: translateX(-50%);
    background: #111; /* نفس لون خلفية الموقع عشان تخفي الخط وراها */
    padding: 0 15px;
    font-size: 1.5rem;
    z-index: 10;
}
/* --- كود تأثير الماوس على كروت الخدمات --- */
.service-card {
    transition: all 0.4s ease; /* سرعة ونعومة الحركة */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(251, 188, 5, 0.1); /* إطار خفيف جداً */
}

/* التعديل اللي بيحصل لما "تحط" الماوس على الكارت */
.service-card:hover {
    transform: translateY(-15px); /* يرفع الكارت لفوق 15 بكسل */
    background: rgba(251, 188, 5, 0.05); /* يدي خلفية صفراء خفيفة جداً */
    border-color: #FBBC05; /* يخلي الإطار لونه أصفر صريح */
    
    /* يضيف ظل (Glow) أصفر منور تحت الكارت */
    box-shadow: 0 20px 40px rgba(251, 188, 5, 0.2); 
}

/* حركة للأيقونة جوه الكارت لما الماوس يلمسها */
.service-card:hover i {
    transform: scale(1.2) rotate(10deg); /* تكبر شوية وتلف سنة */
    color: #fff; /* يخلي لون الأيقونة أبيض منور */
    transition: 0.3s;
}

/* حركة للعنوان جوه الكارت */
.service-card:hover h3 {
    color: #FBBC05;
    transition: 0.3s;
}
/* --- كود تأثير الماوس (Hover) الفاخر لكروت شركة الرائد --- */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* حركة ناعمة جداً ومحترفة */
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px); /* تأثير الزجاج الضبابي */
    position: relative;
    z-index: 1;
}

/* التعديل اللي هيحصل لما "تحط" الماوس على الكارت */
.service-card:hover {
    transform: translateY(-20px) scale(1.02); /* يرفع الكارت لفوق ويكبره سنة بسيطة */
    background: rgba(251, 188, 5, 0.08); /* يغير الخلفية للون ذهبي خفيف جداً */
    border-color: #FBBC05; /* يخلي الإطار لونه أصفر ذهبي صريح */
    
    /* ظل منور (Glow) بلون البراند يخلي الكارت كأنه طاير */
    box-shadow: 0 30px 60px rgba(251, 188, 5, 0.25); 
}

/* حركة للأيقونة (الثلج أو التكييف) لما تلمسها */
.service-card:hover i {
    transform: rotateY(180deg) scale(1.3); /* تلف حول نفسها وتكبر */
    color: #fff;
    text-shadow: 0 0 15px #FBBC05; /* يخلي الأيقونة تنور أصفر */
    transition: 0.6s;
}

/* حركة للعنوان جوه الكارت */
.service-card:hover h3 {
    letter-spacing: 1px; /* يخلي الحروف تبعد عن بعضها سنة فخامة */
    color: #FBBC05;
    transition: 0.4s;
}
/* --- تنسيق أيقونات العملاء في الآراء --- */
.user-icon {
    width: 60px;
    height: 60px;
    background: rgba(251, 188, 5, 0.1); /* لون أصفر خفيف */
    border: 2px solid #FBBC05; /* إطار أصفر */
    border-radius: 50%; /* يخليها دايرة */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px; /* يوسطها فوق الاسم */
    font-size: 1.8rem;
    color: #fff;
    transition: 0.3s;
}

/* حركة لما الماوس ييجي على كارت الرأي */
.review-card:hover .user-icon {
    background: #FBBC05; /* الدايرة تلون أصفر بالكامل */
    color: #111; /* الأيقونة تسود عشان تبان */
    transform: scale(1.1);
}

/* --- تنسيق أيقونات السوشيال ميديا في الفوتر --- */
.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center; /* يوسطهم في الفوتر */
    margin-top: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%; /* يخليها دائرية */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1); /* خلفية شفافة في الأول */
    border: 1px solid rgba(251, 188, 5, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* حركة مطاطية */
}

/* تأثير الأنيميشن لما تحط الماوس (Hover) */
.social-icon:hover {
    transform: translateY(-8px) scale(1.2); /* تترفع لفوق وتكبر */
    box-shadow: 0 10px 20px rgba(251, 188, 5, 0.3);
    color: #111; /* يخلي الأيقونة سودة عشان تبان فوق اللون */
}

/* تلوين كل أيقونة بلونها الرسمي عند اللمس */
.social-icon.fb:hover { background: #1877F2; border-color: #1877F2; }
.social-icon.tw:hover { background: #1DA1F2; border-color: #1DA1F2; }
.social-icon.ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border-color: transparent; }
.social-icon.tk:hover { background: #000; border-color: #000; color: #fff; }
.social-icon.wa:hover { background: #25D366; border-color: #25D366; }
/* --- كود وضع السلايدر داخل إطار لشركة الرائد --- */
.main-slider {
    width: 92%; /* بنصغر العرض شوية عشان الإطار يبان من الجوانب */
    max-width: 1400px; /* أقصى عرض عشان ما يفرشش زيادة في الشاشات الكبيرة */
    margin: 40px auto !important; /* بنوسطه وبنديله مسافة من فوق وتحت */
    
    /* الإطار المنور */
    border: 8px solid rgba(255, 255, 255, 0.05); /* إطار داخلي شفاف */
    outline: 2px solid #FBBC05; /* خط خارجي ذهبي رفيع ومحدد */
    
    border-radius: 30px; /* زوايا دائرية فخمة جداً */
    overflow: hidden; /* عشان الصور ما تطلعش بره الزوايا الدائرية */
    
    /* ظل خلف الإطار يخليه "بارز" عن الصفحة */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 
                0 0 20px rgba(251, 188, 5, 0.2); 
    
    position: relative;
    z-index: 5;
}

/* نأكد إن الصور جوه الإطار واخدة شكل البرواز */
.swiper-slide {
    border-radius: 20px; /* دائرية خفيفة للصور جوه الإطار */
}
@keyframes borderGlow {
    0% { border-color: rgba(251, 188, 5, 0.3); }
    50% { border-color: rgba(251, 188, 5, 0.8); }
    100% { border-color: rgba(251, 188, 5, 0.3); }
}

.main-slider {
    animation: borderGlow 3s infinite; /* الإطار ينبض بالنور */
}
/* --- تنسيق لوجو شركة الرائد الجديد --- */
.logo-img {
    height: 50px; /* ده الطول المناسب للمنيو الثابتة */
    width: auto;  /* عشان يحافظ على أبعاد اللوجو ما يتمطش */
    display: block;
    transition: transform 0.3s ease; /* أنيميشن بسيط */
    filter: drop-shadow(0 0 5px rgba(251, 188, 5, 0.3)); /* ظل خفيف بلون البراند */
}

/* حركة لما الماوس ييجي على اللوجو */
.logo-img:hover {
    transform: scale(1.05); /* اللوجو يكبر سنة بسيطة */
}

/* تعديل للموبايل عشان اللوجو ما يزحمش الشاشة */
@media (max-width: 768px) {
    .logo-img {
        height: 40px; 
    }
}
/* --- تنسيق المنيو واللوجو لشركة الرائد --- */
.navbar {
    /* خلفية بيضاء صريحة عشان تظهر ألوان اللوجو الكحلي والبرتقالي 👇 */
    background: #ffffff !important; 
    
    /* خط سفلي بلون اللوجو البرتقالي */
    border-bottom: 3px solid #f16522; 
    
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    padding: 5px 5%; /* تقليل المسافة الرأسية عشان اللوجو يتوسط */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* تعديل مقاس اللوجو وتنسيقه */
.logo-img {
    /* المقاس المثالي للوجو بتاعك عشان تفاصيله واضحة 👇 */
    height: 85px !important; 
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* تعديل لون أزرار المنيو عشان تبان فوق الخلفية البيضاء */
.nav-links a {
    color: #002d4b !important; /* اللون الكحلي اللي في اللوجو بتاعك */
    font-weight: 800;
}

.nav-links a:hover {
    color: #f16522 !important; /* اللون البرتقالي اللي في اللوجو */
}