:root { --blue: #007bff; --dark: #000c1d; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Cairo', sans-serif; direction: rtl; }

/* Navbar شفاف وأيقونات مربعة */
nav.pure-transparent { background: transparent; padding: 15px 0; position: absolute; width: 100%; z-index: 1000; }
.nav-container { width: 92%; margin: auto; display: flex; justify-content: space-between; align-items: center; }
.nav-menu { display: flex; list-style: none; gap: 10px; }
.nav-square-btn { 
    background: rgba(0, 123, 255, 0.1); 
    color: white; 
    text-decoration: none; 
    padding: 10px 15px; 
    border: 1px solid var(--blue); 
    border-radius: 4px; 
    font-size: 13px; 
}
.nav-square-btn:hover, .nav-square-btn.active { background: var(--blue); box-shadow: 0 0 15px var(--blue); }
.logo img { height: 40px; }

/* Hero */
.hero-main { height: 100vh; background-size: cover; background-position: center; position: relative; }
.brand-side-left { position: absolute; left: 5%; top: 20%; text-align: left; }
.main-title { font-size: 60px; font-weight: 900; color: white; line-height: 1; }
.sub-logo-text { font-size: 50px; color: var(--blue); font-weight: bold; }

/* الجملة السحرية المربعة في النص */
@keyframes squareBouncing { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -15px); } }
.magic-center-container {
position: absolute; left: 50%; bottom: 50px;
    transform: translateX(-50%); z-index: 100;
    animation: squareBouncing 2.5s infinite ease-in-out;
}
.bouncing-square-box {
    background: rgba(255, 255, 255, 0.98); padding: 25px;
    border: 3px solid var(--blue); border-radius: 12px;
    text-align: center; box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
.magic-text { font-size: 19px; color: var(--dark); font-weight: bold; margin-bottom: 12px; }
.cta-with-icon { background: var(--blue); color: white; text-decoration: none; padding: 12px 25px; border-radius: 6px; font-weight: bold; border: 2px solid white; display: inline-block; }

/* الأيقونات الزرقاء بالشرح */
.services-overlap { position: absolute; bottom: -45px; width: 94%; left: 50%; transform: translateX(-50%); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.service-card { 
    background: rgba(0, 15, 35, 0.95); padding: 25px 10px; 
    border-radius: 8px; color: white; text-decoration: none; 
    text-align: center; border: 1px solid var(--blue); transition: 0.3s;
}
.service-card i { font-size: 32px; color: var(--blue); margin-bottom: 10px; display: block; }
.service-card h4 { color: var(--blue); margin-bottom: 5px; font-size: 16px; }
.service-card p { font-size: 11px; opacity: 0.9; color: #ccc; } /* لون الشرح فاتح وشيك */

/* الجاليري (7 صور) */
.work-gallery { padding: 130px 5% 50px; text-align: center; }
.gallery-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.img-box { height: 120px; border-radius: 5px; overflow: hidden; border: 2px solid var(--blue); background: #eee; }
.img-box img { width: 100%; height: 100%; object-fit: cover; }

/* الصفحات الفرعية (الهيرو جواها) */
.hero-sub { height: 100vh; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; background-image: url('hero.jpg'); }
.sub-content-box { background: rgba(0, 12, 29, 0.92); padding: 50px; border-radius: 15px; border: 2px solid var(--blue); color: white; text-align: center; max-width: 800px; }
footer {
    background: #000c1d;
    color: white;
    padding: 50px 10% 20px;
    text-align: center;
}

footer h3 {
    color: #007bff;
    margin-bottom: 30px;
    font-size: 24px;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.contact-item {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.contact-item i {
    font-size: 30px;
    color: #007bff; /* اللون الأزرق بتاعنا */
}

.contact-item span {
    font-size: 14px;
}

.contact-item:hover {
    transform: translateY(-5px);
    color: #007bff;
}

/* أيقونة الواتساب الطائرة (لو مش موجودة) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    z-index: 3000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
