body{
margin:0;
font-family:Arial,sans-serif;
background:#111;
color:white;
text-align:center;
}
header{
    background:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url("images/hero.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    min-height:100vh;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:140px 20px 80px;

    text-align:center;
    color:#fff;

    position:relative;
    overflow:hidden;
}



header h1{
font-size: 60px;
margin-bottom: 20px;
color: #d4af37;
}

header p{
    color:#f5f5f5;
    font-size:22px;
    line-height:1.9;
    max-width:850px;
    margin:12px auto;
    text-shadow:2px 2px 10px rgba(0,0,0,.55);
    font-weight:400;
}

.content{
padding:50px 20px;
}
.btn{
display: inline-block;
margin-top: 20px;
padding: 15px 30px;
background: #d4af37;
color: black;
text-decoration: none;
border-radius: 8px;
font-weight: bold;
transition: 0.3s;
}

.btn:hover{
background: white;
color: #d4af37;
}

footer{
background: #222;
color: white;
text-align: center;
padding: 20px;
width: 100%;
}


nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 40px;
    background:#000;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    box-sizing:border-box;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
    text-decoration:none;
}

.logo h2{
    margin:0;
    color:#d4af37;
    font-size:24px;
    font-weight:700;
    line-height:1.2;
}

.logo p{
    margin:3px 0 0;
    color:#ffffff;
    font-size:13px;
    letter-spacing:.5px;
    opacity:.85;
}

nav ul{
    list-style:none;
    display:flex;
    align-items:center;
    gap:28px;
    margin:0;
    padding:0;
}
nav ul li a{
    color:#ffffff;
    text-decoration:none;
    font-size:18px;
    font-weight:600;
    padding:10px 16px;
    border-radius:8px;
    transition:all .3s ease;
}
nav ul li a:hover{
    color:#d4af37;
    background:rgba(212,175,55,.12);
}

nav ul li a.active{
    color:#d4af37;
}

nav ul li a:hover{
color:#d4af37;
}
.services{
padding: 80px 10%;
background: #1a1a1a;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    max-width:1200px;
    margin:50px auto 0;
    justify-items:center;
    align-items:stretch;
    padding:0 20px;
}


.services h2{
color: #d4af37;
font-size: 40px;
margin-bottom: 40px;
}
.service-box{
    width:100%;
    max-width:320px;
    background:#222;
    padding:35px 25px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    transition:all .35s ease;
    border:1px solid rgba(212,175,55,.12);
}

.service-box:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 40px rgba(0,0,0,.35);
    border-color:#d4af37;
}

.service-box h3{
    color:#d4af37;
    margin-bottom:15px;
    font-size:24px;
}

.service-box p{
    color:#ddd;
    line-height:1.8;
    font-size:17px;
}

.service-box:hover{
transform: translateY(-10px);
}


.service-box:hover{
transform: translateY(-10px);

}

.service-box h3{
color: #d4af37;
margin-bottom: 10px;
}

.service-box p{
color: #ddd;
}
.projects{
padding: 80px 20px;
background: #111;
text-align: center;
}

.projects h2{
color: #d4af37;
font-size: 40px;
margin-bottom: 40px;
}

.project-box{
    width:100%;
    background:#222;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    transition:all .35s ease;
    border:1px solid rgba(212,175,55,.10);
}

.project-box:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.35);
    border-color:#d4af37;
}

.project-box h3{
    color:#d4af37;
    font-size:22px;
    margin:18px 20px 10px;
}

.project-box p{
    color:#ddd;
    margin:0 20px 20px;
    line-height:1.8;
}

.project-box:hover{
transform: scale(1.02);
background: #333;
}

.project-box h3{
color: #d4af37;
margin-bottom: 10px;
}

.project-box p{
color: #ddd;
}
.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
    max-width:1300px;
    margin:50px auto 0;
    padding:0 20px;
    align-items:stretch;
}

.project-box{
background:#2a2a2a;
border-radius:10px;
overflow:hidden;
transition:.3s;
}

.project-box:hover{
transform:translateY(-8px);
}

.project-box img{
width:100%;
height:250px;
object-fit:cover;
}

.project-box h3{
color:#d4af37;
margin:20px 0 10px;
}

.project-box p{
padding:0 20px 20px;
color:#ddd;
}
.about-section{
padding:60px 20px;
text-align:center;
}

.about-section h2{
color:#d4af37;
margin-bottom:20px;
}

.about-section img{
width:90%;
max-width:1100px;
border-radius:10px;
display:block;
margin:auto;
}
.logo{
display: flex;
align-items: center;
gap: 12px;
}

.logo img{
    width:65px;
    height:65px;
    object-fit:contain;
    display:block;
    transition:transform .35s ease;
}

.logo:hover img{
    transform:rotate(8deg) scale(1.05);
}

.logo h2{
margin: 0;
color: #d4af37;
font-size: 24px;
}

.logo p{
    margin:3px 0 0;
    color:#ffffff;
    font-size:13px;
    font-weight:500;
}
header h1{
color: #ffffff;
font-size: 65px;
text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
}

header h2{
color: #d4af37;
font-size: 38px;
margin-top: 10px;
text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

header p{
color: #ffffff;
font-size: 22px;
max-width: 800px;
line-height: 1.8;
text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.about-section{
text-align: center;
padding: 70px 10%;
}

.about-section h2{
color: #d4af37;
font-size: 36px;
margin-bottom: 25px;
}

.about-section img{
width: 800px;
max-width: 100%;
border-radius: 15px;
display: block;
margin: 20px auto;
}

.about-section p{
color: #ddd;
font-size: 20px;
line-height: 1.8;
max-width: 800px;
margin: 20px auto;
}
.contact{
text-align: center;
padding: 80px 10%;
background: #1a1a1a;
}

.contact h2{
color: #d4af37;
font-size: 36px;
margin-bottom: 20px;
}

.contact p{
color: #ddd;
font-size: 20px;
margin: 15px 0;
}

.contact .btn{
display: inline-block;
margin-top: 25px;
padding: 12px 30px;
background: #d4af37;
color: #111;
text-decoration: none;
border-radius: 8px;
font-weight: bold;
transition: 0.3s;
}

.contact .btn:hover{
background: #fff;
}
.contact-section{
text-align: center;
width: 100%;
margin: 0 auto;
}

.contact-section p{
text-align: center;
}

.contact-section .btn{
display: inline-block;
margin-top: 20px;
}

.contact {
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 80px 20px;
}

.contact p {
margin: 10px 0;
}

.contact .btn {
margin-top: 20px;
}
.about-section img,
.project-box img {
transition: 0.4s;
cursor: pointer;
}

.about-section img:hover,
.project-box img:hover {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* زر العودة للأعلى */
#topBtn{
display:none;
position:fixed;
bottom:20px;
left:20px;
width:50px;
height:50px;
border:none;
border-radius:50%;
background:#d4af37;
color:#fff;
font-size:22px;
cursor:pointer;
box-shadow:0 4px 10px rgba(0,0,0,.3);
transition:.3s;
z-index:999;
}

#topBtn:hover{
background:#b89224;
transform:scale(1.1);
}

/* تأثير على صور المشاريع */
.project img{
width:100%;
transition:0.4s;
border-radius:10px;
}

.project img:hover{
transform:scale(1.08);
box-shadow:0 10px 20px rgba(0,0,0,.4);
}

/* توافق مع الجوال */
@media (max-width:768px){

nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(15,15,15,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 5px 20px rgba(0,0,0,.15);
    z-index: 9999;
    transition: .35s ease;
    box-sizing: border-box;
}
nav ul{
flex-direction:column;
gap:15px;
margin-top:15px;
}

header h1{
font-size:35px;
}

header p{
font-size:18px;
}

.services-grid,
.projects-grid{
grid-template-columns:1fr;
}

.contact{
padding:40px 20px;
}
}
.contact-form{
max-width:600px;
margin:30px auto;
display:flex;
flex-direction:column;
gap:15px;
}

.contact-form input,
.contact-form textarea{
width:100%;
padding:15px;
border:none;
border-radius:8px;
font-size:16px;
}

.counter-section{
    padding:70px 20px;
    background:#1a1a1a;
}

.counter-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.counter-box{
    background:#222;
    padding:30px 20px;
    border-radius:15px;
    text-align:center;
    transition:.3s;
}

.counter-box:hover{
    transform:translateY(-6px);
}

.counter{
    font-size:50px;
    color:#d4af37;
    font-weight:bold;
}

.counter-box p{
    color:#fff;
    margin-top:12px;
    line-height:1.7;
    font-size:18px;
}

@media(max-width:992px){

    .counter-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .counter-grid{
        grid-template-columns:1fr;
    }

}
/* ===== نبذة عنا ===== */

.about-section{
    max-width:1000px;
    margin:40px auto;
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    text-align:center;
}

.about-section img{
    width:100%;
    max-width:700px;
    border-radius:12px;
    margin:20px 0;
    transition:.4s;
}

.about-section img:hover{
    transform:scale(1.03);
}

.about-section h2{
    color:#d4af37;
    margin-bottom:15px;
}

.about-section p{
    font-size:18px;
    line-height:1.8;
    color:#555;
}
html{
    scroll-behavior: smooth;
}
/* رسالة نجاح إرسال النموذج */

.success-message{
    display:none;
    margin-top:20px;
    padding:15px;
    background:#28a745;
    color:#fff;
    border-radius:10px;
    text-align:center;
    font-size:18px;
    font-weight:bold;
}
/* معرض المشاريع */
.project-box img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:12px;
    cursor:pointer;
    transition:0.4s;
}

.project-box img:hover{
    transform:scale(1.05);
    box-shadow:0 15px 35px rgba(0,0,0,.3);
}
.whatsapp-float{
    position: fixed;
    left: 25px;     /* نفس جهة زر الرجوع للأعلى */
    bottom: 90px;    /* فوق زر الرجوع */
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,.3);
    z-index: 9999;
    transition: .3s;
}

.whatsapp-float:hover{
    transform: scale(1.1);
    background: #1ebe5d;
}
/* شاشة التحميل */

#loader{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#ffffff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:99999;
}
#loader img{
    width:220px;
    margin-bottom:25px;
    animation: spin 2.5s linear 1 forwards;
}

#loader h2{
    color:#0b6b3a;
    font-size:28px;
}

@keyframes spin{
    from{
        transform:rotate(0deg);
    }
    to{
        transform:rotate(360deg);
    }
}
.company-profile{
    text-align:center;
    padding:70px 20px;
    background:#f8f8f8;
}

.company-profile h2{
    font-size:36px;
    margin-bottom:20px;
    color:#0d6b3c;
}

.company-profile p{
    font-size:18px;
    margin-bottom:30px;
    color:#555;
}

.btn-pdf{
    background:#d32f2f;
    color:#fff;
}

.btn-pdf:hover{
    background:#b71c1c;
}
.contact-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}
/* ==========================
   تحسينات الجوال
========================== */

@media (max-width:768px){

    header{
        padding:120px 20px 60px;
        min-height:auto;
    }

    header h1{
        font-size:38px;
        line-height:1.3;
    }

    header p{
        font-size:18px;
        line-height:1.8;
    }

    .about-section{
        padding:50px 20px;
    }

    .about-section h2{
        font-size:28px;
    }

    .about-section p{
        font-size:17px;
    }

    .projects-grid,
    .services-grid{
        grid-template-columns:1fr;
        gap:25px;
    }

    .counter-section{
        grid-template-columns:1fr;
        gap:20px;
    }

    .counter-box{
        padding:20px;
    }

    .company-profile{
        padding:50px 20px;
    }

}
.contact-image img{
    width:100%;
    border-radius:15px;
    display:block;
}

@media (max-width:768px){

    .contact-container{
        grid-template-columns:1fr;
    }

}
/* ==========================
   قائمة الجوال
========================== */

.menu-toggle{
    display:none;
    font-size:32px;
    color:#fff;
    cursor:pointer;
}

@media (max-width:768px){

    .menu-toggle{
        display:block;
    }

    nav{
        padding:15px 20px;
    }

    nav ul{
        display:none;
        position:absolute;
        top:100%;
        right:0;
        width:100%;
        background:#111;
        flex-direction:column;
        padding:20px 0;
        gap:0;
    }

    nav ul.active{
        display:flex;
    }

    nav ul li{
        width:100%;
        text-align:center;
    }

    nav ul li a{
        display:block;
        padding:18px;
    }

}