body{
    margin:0;
    padding:0;
    background:#f4f5f8;
    font-family:Tahoma,sans-serif;
}

.header{
    background:#1f2437;
    color:#fff;
    text-align:center;
    padding:40px 20px;
}

.header h1{
    margin:0;
    font-size:42px;
}

.header p{
    opacity:.8;
    margin-top:10px;
}

.products{
    max-width:1400px;
    margin:auto;
    padding:40px 20px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
    display:flex;
    flex-direction:column;
}

.card:hover{
    transform:translateY(-6px);
}

.product-img{
    width:100%;
    height:190px;
    object-fit:cover;
}

.card h2{
    margin:18px 15px 10px;
    font-size:24px;
    color:#222;
}

.card p{
    margin:0 15px 15px;
    color:#666;
    line-height:1.7;
    flex:1;
}

.price{
    margin:0 15px 15px;
    color:#111;
    font-size:22px;
    font-weight:bold;
}

.card button{
    width:calc(100% - 30px);
    margin:0 15px 20px;
    border:none;
    background:#1f2437;
    color:#fff;
    padding:14px;
    border-radius:12px;
    font-size:17px;
    cursor:pointer;
    transition:.3s;
}

.card button:hover{
    background:#2d3550;
}

a{
    text-decoration:none;
}

/* زر التليجرام */
.telegram-btn{
    display:inline-block;
    background:#229ED9;
    color:#fff;
    padding:14px 24px;
    border-radius:12px;
    text-decoration:none;
    font-size:16px;
    margin-top:20px;
    transition:.3s;
}

.telegram-btn:hover{
    background:#1788be;
}

.telegram-note{
    margin-top:25px;
    margin-bottom:18px;
    color:#333;
    font-size:22px;
    font-weight:bold;
    text-align:center;
}

/* البحث */
.search-box{
    display:flex;
    gap:10px;
    margin-bottom:20px;
}

.search-box input{
    flex:1;
    padding:14px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:15px;
}

.search-box button{
    padding:14px 24px;
    border:0;
    background:#1f2437;
    color:#fff;
    border-radius:12px;
    cursor:pointer;
}

/* جدول الطلبات */
.table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.table th{
    background:#1f2437;
    color:#fff;
    padding:15px;
    font-size:15px;
}

.table td{
    padding:14px;
    border-bottom:1px solid #eee;
    text-align:center;
    font-size:14px;
}

.paid{
    color:green;
    font-weight:bold;
}

@media(max-width:768px){
    .header h1{
        font-size:30px;
    }

    .products{
        grid-template-columns:1fr;
    }

    .search-box{
        flex-direction:column;
    }

   .table{
    width:100%;
    min-width:1100px;
    table-layout:auto;
    border-collapse:collapse;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}
}
.table-wrap{
    max-width:1200px;
    margin:25px auto;
    overflow-x:auto;
}

.title,
.search-box{
    max-width:1200px;
    margin-left:auto;
    margin-right:auto;
}
.stats{
    max-width:1200px;
    margin:20px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.stat-box{
    background:#fff;
    border-radius:18px;
    padding:25px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.stat-number{
    font-size:34px;
    font-weight:bold;
    color:#1f2437;
    margin-bottom:10px;
}

.stat-label{
    color:#666;
    font-size:16px;
}

/* ==================================
   تطوير الصفحة الرئيسية
================================== */

html{
    scroll-behavior:smooth;
}

body.menu-open{
    overflow:hidden;
}

.header{
    position:relative;
    min-height:220px;
    box-sizing:border-box;
}

.header-action{
    display:inline-block;
    margin-top:18px;
    padding:12px 25px;
    border-radius:12px;
    background:#fff;
    color:#1f2437;
    font-weight:bold;
    transition:.3s;
}

.header-action:hover{
    transform:translateY(-2px);
    background:#f1f3f8;
}

/* زر القائمة */

.menu-button{
    position:absolute;
    top:25px;
    left:30px;
    width:48px;
    height:48px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:13px;
    background:rgba(255,255,255,.1);
    color:#fff;
    font-size:25px;
    cursor:pointer;
    transition:.3s;
}

.menu-button:hover{
    background:rgba(255,255,255,.2);
}

/* القائمة الجانبية */

.side-menu{
    position:fixed;
    top:0;
    left:-340px;
    z-index:1001;
    width:310px;
    max-width:85%;
    height:100vh;
    padding:20px;
    box-sizing:border-box;
    background:#fff;
    box-shadow:8px 0 30px rgba(0,0,0,.18);
    transition:left .35s ease;
    text-align:right;
}

.side-menu.active{
    left:0;
}

.menu-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-bottom:18px;
    margin-bottom:12px;
    border-bottom:1px solid #eee;
    color:#1f2437;
    font-size:21px;
}

.menu-head button{
    width:40px;
    height:40px;
    border:0;
    border-radius:10px;
    background:#f1f2f6;
    color:#1f2437;
    font-size:29px;
    line-height:1;
    cursor:pointer;
}

.side-menu a{
    display:block;
    padding:15px;
    margin-bottom:7px;
    border-radius:11px;
    color:#242a3d;
    font-size:16px;
    transition:.25s;
}

.side-menu a:hover{
    background:#f0f2f8;
    padding-right:21px;
}

.menu-overlay{
    position:fixed;
    inset:0;
    z-index:1000;
    visibility:hidden;
    opacity:0;
    background:rgba(12,17,31,.55);
    transition:.3s;
}

.menu-overlay.active{
    visibility:visible;
    opacity:1;
}

/* عناوين الأقسام */

.services-section{
    padding-top:5px;
}

.section-heading{
    max-width:800px;
    margin:35px auto 0;
    padding:0 20px;
    text-align:center;
}

.section-heading span,
.section-label{
    display:inline-block;
    margin-bottom:9px;
    color:#4b5b91;
    font-size:15px;
    font-weight:bold;
}

.section-heading h2,
.info-box h2,
.contact-box h2{
    margin:0 0 12px;
    color:#1f2437;
    font-size:31px;
}

.section-heading p,
.info-box p,
.contact-box p{
    color:#666;
    line-height:1.9;
}

/* بطاقات الخدمات الجديدة */

.service-icon{
    display:flex;
    justify-content:center;
    align-items:center;
    height:190px;
    background:linear-gradient(135deg,#e9ecf7,#f7f8fc);
    font-size:75px;
}

/* من نحن */

.about-section{
    padding:40px 20px 70px;
}

.info-box{
    max-width:1100px;
    margin:auto;
    padding:45px;
    box-sizing:border-box;
    border-radius:22px;
    background:#fff;
    box-shadow:0 8px 30px rgba(0,0,0,.07);
}

.features-list{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
    margin-top:25px;
}

.features-list div{
    padding:15px;
    border-radius:12px;
    background:#f3f4f8;
    color:#333;
    font-weight:bold;
}

/* تواصل معنا */

.contact-section{
    padding:0 20px 70px;
}

.contact-box{
    max-width:1100px;
    margin:auto;
    padding:45px 25px;
    box-sizing:border-box;
    border-radius:22px;
    background:#1f2437;
    color:#fff;
    text-align:center;
}

.contact-box h2,
.contact-box p{
    color:#fff;
}

.contact-box p{
    opacity:.8;
}

.contact-box .section-label{
    color:#cbd2ea;
}

.contact-button{
    display:inline-block;
    margin-top:15px;
    padding:14px 28px;
    border-radius:12px;
    background:#fff;
    color:#1f2437;
    font-weight:bold;
    transition:.3s;
}

.contact-button:hover{
    transform:translateY(-3px);
}

/* الفوتر */

.footer{
    background:#171c2d;
    color:#fff;
}

.footer-content{
    max-width:1200px;
    margin:auto;
    padding:45px 20px 30px;
    display:flex;
    justify-content:space-between;
    gap:30px;
}

.footer-brand h3{
    margin:0 0 10px;
}

.footer-brand p{
    margin:0;
    color:#b9bfd0;
}

.footer-links{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:18px;
}

.footer-links a{
    color:#d8dbea;
    transition:.25s;
}

.footer-links a:hover{
    color:#fff;
}

.footer-bottom{
    padding:18px 20px;
    border-top:1px solid rgba(255,255,255,.1);
    color:#b9bfd0;
    text-align:center;
    font-size:14px;
}

/* الجوال */

@media(max-width:768px){

    .header{
        padding:80px 20px 45px;
    }

    .header h1{
        font-size:29px;
        line-height:1.5;
    }

    .menu-button{
        top:18px;
        left:18px;
    }

    .products{
        padding-top:25px;
    }

    .section-heading h2,
    .info-box h2,
    .contact-box h2{
        font-size:25px;
    }

    .info-box{
        padding:30px 20px;
    }

    .features-list{
        grid-template-columns:1fr;
    }

    .footer-content{
        flex-direction:column;
        text-align:center;
    }

    .footer-links{
        justify-content:center;
    }
}
