:root {
    --primary: #fbc02d; 
    --dark: #0a0a0a;
    --secondary: #1a1a1a;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Cairo', sans-serif; }
html, body { overflow-x: hidden; scroll-behavior: smooth; background: #fff; }
body { line-height: 1.6; color: #333; }
a { text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.white-text { color: white; }

/* --- 2.  (Header ) --- */
header {
    position: fixed; width: 100%; top: 0; z-index: 5000;
    padding: 20px 0; transition: var(--transition); background: transparent;
}
header.header-scrolled {
    background: rgba(0, 0, 0, 0.95); padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

header .container.nav-wrap { display: flex; justify-content: space-between; align-items: center; }

.brand { display: flex; align-items: center; gap: 15px; cursor: pointer; }
.logo-wrapper {
    background: var(--primary); width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px; font-size: 1.8rem; color: var(--dark);
}
.brand-text h1 { color: #fff; font-size: 1.4rem; font-weight: 900; line-height: 1; }
.brand-text span { color: var(--primary); font-size: 0.8rem; font-weight: bold; }

.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a { color: #fff; font-weight: 700; font-size: 1rem; }
.nav-links a:hover { color: var(--primary); }

.btn-cta-nav {
    background: var(--primary); color: var(--dark) !important;
    padding: 8px 22px; border-radius: 5px; font-weight: 900;
}

.menu-btn { display: none; color: #fff; font-size: 1.8rem; cursor: pointer; }

.hero {
    height: 100vh; position: relative;
    background: url('imgs/img5.jpeg') no-repeat center center/cover;
    display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.4));
}
.hero-content { position: relative; z-index: 10; max-width: 900px; padding: 0 20px; }
.top-tag {
    background: rgba(251, 192, 45, 0.15); border: 1px solid var(--primary);
    color: var(--primary); padding: 5px 20px; border-radius: 50px;
    display: inline-block; margin-bottom: 25px; font-weight: bold;
}
.hero h2 { font-size: clamp(2rem, 6vw, 4rem); font-weight: 900; margin-bottom: 20px; line-height: 1.2; }
.text-yellow { color: var(--primary); }
.hero p { font-size: 1.3rem; margin-bottom: 40px; opacity: 0.9; }

.hero-btns { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.btn-primary { background: var(--primary); color: var(--dark); padding: 15px 40px; border-radius: 5px; font-weight: 900; }
.btn-secondary { border: 2px solid #fff; color: #fff; padding: 13px 40px; border-radius: 5px; font-weight: 900; }
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(251, 192, 45, 0.3); }

.masonry-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 250px;
    gap: 15px;
    margin-top: 50px;
}
.m-item { border-radius: 15px; overflow: hidden; position: relative; border: 2px solid transparent; transition: 0.4s; }
.m-item.tall { grid-row: span 2; } 
.m-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; cursor: pointer; }
.m-item:hover img { transform: scale(1.1); }
.m-item:hover { border-color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.quick-stats { background: var(--secondary); padding: 60px 0; border-bottom: 4px solid var(--primary); }
.stats-grid { display: flex; justify-content: space-around; text-align: center; flex-wrap: wrap; gap: 40px; }
.stat-item i { font-size: 3rem; color: var(--primary); margin-bottom: 15px; display: block; }
.stat-item h3 { font-size: 2.5rem; font-weight: 900; color: #fff; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 50px; }
.s-card { background: #fff; padding: 50px 30px; border-radius: 20px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.05); transition: 0.4s; border-bottom: 5px solid transparent; }
.s-card:hover { transform: translateY(-15px); border-bottom-color: var(--primary); }
.s-card i { font-size: 3.5rem; color: var(--primary); margin-bottom: 25px; }

.bg-dark { background: var(--dark); }
.process-flex { display: flex; justify-content: space-between; gap: 40px; margin-top: 60px; flex-wrap: wrap; }
.p-step { flex: 1; min-width: 280px; text-align: center; position: relative; }
.p-num { font-size: 4rem; font-weight: 900; color: rgba(251, 192, 45, 0.1); position: absolute; top: -20px; left: 50%; transform: translateX(-50%); }
.p-step h4 { color: var(--primary); font-size: 1.5rem; margin-bottom: 15px; position: relative; }

.footer { background: var(--dark); color: #fff; padding: 80px 0 0; border-top: 5px solid var(--primary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; padding-bottom: 60px; }
.footer-about p { color: #aaa; margin-top: 20px; max-width: 400px; }
.footer-links h4, .footer-contact h4 { margin-bottom: 25px; color: var(--primary); }
.footer-contact p { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; color: #aaa; }
.footer-contact i { color: var(--primary); }
.footer-bottom { background: #000; padding: 25px 0; text-align: center; color: #666; font-size: 0.9rem; }

.fixed-contact { position: fixed; bottom: 30px; left: 30px; z-index: 7000; display: flex; flex-direction: column; gap: 15px; }
.btn-wa { width: 60px; height: 60px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3); }
.btn-call { width: 60px; height: 60px; background: var(--primary); color: var(--dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 5px 20px rgba(251, 192, 45, 0.3); }

.pulse-wa { animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: #fff; flex-direction: column; padding: 80px 40px;
        z-index: 6000; box-shadow: -10px 0 30px rgba(0,0,0,0.2); transition: 0.4s;
    }
    .nav-links.active { right: 0; }
    .nav-links a { color: var(--dark); font-size: 1.2rem; }
    .close-menu { display: block; position: absolute; top: 25px; left: 25px; font-size: 1.5rem; color: var(--dark); }
    .menu-btn { display: block; }
    .hero h2 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-contact p { justify-content: center; }
    .masonry-wrapper { grid-auto-rows: 200px; }
    .m-item.tall { grid-row: span 1; } 
}

.logo-wrapper {
    background: var(--primary); width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; font-size: 1.8rem; color: var(--dark);
    animation: logo-float 3s infinite ease-in-out;
}
@keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.close-menu { display: none; }
.menu-btn { display: none; color: #fff; font-size: 1.8rem; cursor: pointer; }
* أنيميشن النبض المستمر للجملة */
.top-tag {
    background: rgba(251, 192, 45, 0.15); border: 2px solid var(--primary);
    color: var(--primary); padding: 8px 25px; border-radius: 50px;
    display: inline-block; margin-bottom: 25px; font-weight: 900;
    animation: pulse-animation 2s infinite;
}
@keyframes pulse-animation {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(251, 192, 45, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(251, 192, 45, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(251, 192, 45, 0); }
}
.bg-dark { background: #0a0a0a; color: white; }

.process-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.process-card {
    background: #151515;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 1px solid #222;
    transition: all 0.4s ease;
}

.p-icon-wrap {
    width: 90px;
    height: 90px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    transition: 0.4s;
    border: 2px solid transparent;
}

.p-icon-wrap i {
    font-size: 2.2rem;
    color: var(--primary);
}

.p-number {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.process-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 800;
}

.process-card p {
    color: #bbb;
    font-size: 1rem;
    line-height: 1.7;
}

.process-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    background: #1a1a1a;
    box-shadow: 0 20px 40px rgba(251, 192, 45, 0.1);
}

.process-card:hover .p-icon-wrap {
    background: var(--primary);
}

.process-card:hover .p-icon-wrap i {
    color: var(--dark);
}

.process-card:hover .p-number {
    background: #fff;
}

.process-card.active {
    border-color: rgba(251, 192, 45, 0.3);
}

.line-center {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto;
    border-radius: 50px;
}

.badge {
    background: rgba(251, 192, 45, 0.1);
    color: var(--primary);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .process-card {
        padding: 40px 20px;
    }
}
.section-header.text-center {
    text-align: center;
    width: 100%;
    margin-bottom: 50px;
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center; 
}

.badge {
    background: rgba(251, 192, 45, 0.1);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin: 0 auto 15px; 
    width: fit-content;
}

.section-header h2 {
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.line-center {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0; 
    border-radius: 50px;
}

.about-section {
    background: #fff;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
    z-index: 1;
}

.about-img-wrap img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--primary); 
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary);
    color: var(--primary);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-bottom: 4px solid var(--primary);
}

.experience-badge .num {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.experience-badge .txt {
    font-size: 0.8rem;
    font-weight: 700;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content p {
    color: #666;
    margin-bottom: 30px;
}

.about-list {
    list-style: none;
    margin-bottom: 35px;
}

.about-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.about-list li i {
    width: 50px;
    height: 50px;
    background: rgba(251, 192, 45, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-list li h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.about-list li p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-img-wrap {
        order: 2;
        padding-right: 20px;
    }
    
    .about-content {
        order: 1;
        text-align: center;
    }
    
    .about-list li {
        text-align: right;
    }

    .about-img-wrap img {
        box-shadow: 10px 10px 0 var(--primary);
    }
}
.about-btns {
    margin-top: 35px;
    text-align: right; 
}

.about-btns .btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 12px; 
    padding: 15px 35px;
    font-size: 1.1rem;
    background: var(--primary);
    color: var(--dark) !important;
    border-radius: 50px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(251, 192, 45, 0.2);
    transition: 0.3s ease;
}

.about-btns .btn-primary-glow i {
    font-size: 1.4rem; 
}

.about-btns .btn-primary-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(251, 192, 45, 0.4);
    background: #ffd54f; 
}

@media (max-width: 992px) {
    .about-btns {
        text-align: center; 
        margin-top: 25px;
    }
    
    .about-btns .btn-primary-glow {
        width: 100%;
        justify-content: center;
    }
}

.main-footer {
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 80px 0 0;
    border-top: 4px solid var(--primary);
    direction: rtl; 
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; 
    gap: 50px;
    padding-bottom: 50px;
}

.footer-col h3 { font-size: 1.8rem; margin-bottom: 20px; }
.footer-col p { color: #aaa; line-height: 1.8; font-size: 0.95rem; }

.social-links { display: flex; gap: 15px; margin-top: 25px; }
.social-links a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--primary);
    text-decoration: none; transition: 0.3s;
    border: 1px solid rgba(251, 192, 45, 0.2);
}
.social-links a:hover {
    background: var(--primary); color: #000;
    transform: translateY(-5px);
}

.footer-col h4 {
    font-size: 1.3rem; margin-bottom: 30px;
    position: relative; padding-bottom: 10px;
}
.footer-col h4::after {
    content: ''; position: absolute; bottom: 0; right: 0;
    width: 40px; height: 2px; background: var(--primary);
}

.footer-col ul { list-style: none; padding: 0; } 
.footer-col ul li { margin-bottom: 15px; }

.footer-col ul li a {
    color: #ccc !important;
    text-decoration: none; transition: 0.3s;
    font-weight: 600;
}
.footer-col ul li a:hover {
    color: var(--primary) !important; 
    padding-right: 10px;
}

.contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.contact-item i { color: var(--primary); font-size: 1.1rem; }
.contact-item p { margin: 0; color: #ccc; }

.footer-bottom {
    background: #000; padding: 25px 0;
    border-top: 1px solid #222;
}
.flex-bottom {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 15px;
}
.footer-bottom p { color: #666; font-size: 0.9rem; margin: 0; }

.designer-credit { font-weight: bold; }
.gmt-text { color: var(--primary); letter-spacing: 1px; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-col h4::after { right: 50%; transform: translateX(50%); }
    .social-links, .contact-item { justify-content: center; }
    .flex-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block !important;
        font-size: 1.8rem;
        color: #fff;
        cursor: pointer;
        z-index: 2001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 280px;
        height: 100vh;
        background: #111; 
        display: flex !important;
        flex-direction: column;
        padding: 80px 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 5000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }

    .nav-links li a {
        font-size: 1.2rem;
        display: block;
        text-align: right;
        border-bottom: 1px solid #222;
        padding-bottom: 10px;
    }

    .close-menu {
        display: block !important;
        position: absolute;
        top: 25px;
        left: 25px;
        font-size: 1.8rem;
        color: var(--primary);
        cursor: pointer;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        z-index: 4500;
        display: none;
        backdrop-filter: blur(4px);
    }

    .menu-overlay.active {
        display: block;
    }

    .hero h2 { font-size: 2.2rem !important; }
    .hero p { font-size: 1rem !important; }
}

@media (max-width: 768px) {
    .nav-links li a {
        color: #ffffff !important;
        font-size: 1.2rem;
        display: block;
        text-align: right;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-weight: 700;
        transition: 0.3s;
    }

    .nav-links li a:hover {
        color: var(--primary) !important; 
        padding-right: 10px; 
    }

    .nav-links .btn-cta-nav {
        background: var(--primary) !important;
        color: var(--dark) !important; 
        text-align: center;
        border-radius: 8px;
        padding: 12px !important;
        margin-top: 15px;
        border-bottom: none;
    }

    .close-menu {
        color: var(--primary) !important;
        font-size: 2rem !important;
    }
}



.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testi-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-right: 5px solid var(--primary); 
    transition: 0.3s;
}

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

.stars {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testi-card p {
    font-style: italic;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
}

.user-info strong {
    color: var(--dark);
    font-weight: 900;
}

.contact-special {
    background: #fff;
}

.contact-banner-card {
    background: linear-gradient(135deg, var(--primary) 0%, #ffca28 100%);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(251, 192, 45, 0.3);
}

.contact-banner-card::before {
    content: '\f13e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -50px;
    left: -50px;
    font-size: 20rem;
    color: rgba(0,0,0,0.05);
    z-index: 0;
}

.contact-text { position: relative; z-index: 1; }

.contact-text h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
}

.highlight-dark {
    background: var(--dark);
    color: var(--primary);
    padding: 0 15px;
    border-radius: 10px;
}

.contact-text p {
    font-size: 1.3rem;
    color: var(--dark);
    font-weight: 600;
    max-width: 700px;
    margin: 0 auto 40px;
}

.contact-btns-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-main-dark {
    background: var(--dark);
    color: var(--primary);
    padding: 20px 45px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.2rem;
    transition: 0.3s;
}

.btn-wa-dark {
    background: #25d366;
    color: #fff;
    padding: 20px 45px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.2rem;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-main-dark:hover, .btn-wa-dark:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.emergency-badge {
    display: inline-block;
    margin-top: 40px;
    background: rgba(0,0,0,0.1);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 900;
    color: var(--dark);
    border: 1px dashed var(--dark);
}

@media (max-width: 768px) {
    .contact-banner-card { padding: 60px 20px; border-radius: 25px; }
    .contact-text h2 { font-size: 1.8rem; }
    .contact-text p { font-size: 1rem; }
    .btn-main-dark, .btn-wa-dark { width: 100%; font-size: 1.1rem; padding: 15px; }
}