/* الإعدادات العامة */
* {* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif; /* قمت بتغييرها هنا */
}

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

/* قسم الهيرو */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin: 20px 0;
}

.hero-btns {
    margin-top: 30px;
}

.btn-primary, .btn-secondary, .btn-preview {
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary { background: #f59e0b; color: white; border: none; }
.btn-primary:hover { background: #d97706; }

.btn-secondary { border: 2px solid white; color: white; margin-right: 10px; }
.btn-secondary:hover { background: white; color: #1e3a8a; }

/* متجر القوالب */
.templates-store { padding: 80px 20px; background: #f8fafc; text-align: center; }
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 40px auto;
}

.template-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.template-card:hover { transform: translateY(-10px); }
.template-icon { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.restaurant-bg { background: #e63946; color: white; }
.service-bg { background: #f59e0b; color: white; }

.template-info { padding: 20px; text-align: center; }
.template-price { font-weight: bold; color: #10b981; font-size: 1.2rem; margin: 15px 0; }
.btn-preview { background: #1e3a8a; color: white; width: 100%; }

/* سلايدر الآراء */
.testimonials-section { padding: 60px 20px; background: #1e3a8a; color: white; text-align: center; }
.testimonial-slider { position: relative; max-width: 600px; margin: 0 auto; min-height: 180px; }
.testimonial-card { display: none; padding: 20px; animation: fade 0.8s; }
.testimonial-card.active { display: block; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.slider-dots { margin-top: 15px; }
.dot { height: 10px; width: 10px; margin: 0 5px; background: rgba(255,255,255,0.3); border-radius: 50%; display: inline-block; cursor: pointer; }
.dot.active { background: white; width: 25px; border-radius: 10px; }

/* قسم الأسعار */
.pricing-section { padding: 80px 20px; text-align: center; }
.pricing-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 40px; }
.price-card { padding: 40px; border: 1px solid #ddd; border-radius: 20px; width: 280px; }
.price-card.featured { border: 2px solid #1e3a8a; position: relative; background: #f0f7ff; }
.btn-price { display: block; margin-top: 20px; padding: 10px; background: #1e3a8a; color: white; border-radius: 8px; text-decoration: none; }

/* التذييل */
footer { padding: 40px; text-align: center; background: #111; color: white; }
.social-icon { color: white; font-size: 1.5rem; margin: 0 10px; }

/* استجابة الموبايل */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    .btn-secondary { margin-top: 10px; margin-right: 0; }
}
/* تنسيقات عامة للقسم */
.portfolio-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
    direction: rtl; /* للغة العربية */
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #777;
    margin-bottom: 40px;
}

/* شبكة المشاريع */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* بطاقة المشروع */
.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.placeholder-bg {
    width: 100%;
    height: 200px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: bold;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-top: 0;
    color: #2c3e50;
}

.project-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.btn-view {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-view:hover {
    background-color: #2980b9;
}

.status-badge {
    font-size: 0.8rem;
    background: #e74c3c;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
}
.tech-article {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    direction: rtl; /* للتنسيق العربي */
    line-height: 1.8;
}

.article-header h1 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 10px;
}

.category-tag {
    background: #007bff;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.article-image img {
    width: 100%;
    border-radius: 15px;
    margin: 20px 0;
}

.article-content h3 {
    color: #007bff;
    margin-top: 25px;
}

.ad-placeholder {
    background: #f9f9f9;
    border: 2px dashed #ddd;
    text-align: center;
    padding: 20px;
    margin: 20px 0;
}

.btn-contact {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.epic-article {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    font-family: 'Cairo', sans-serif;
    color: #333;
    line-height: 1.9;
    background: #fdfdfd;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.trending-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.epic-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.drop-cap {
    font-size: 1.2rem;
    font-weight: bold;
    color: #007bff;
}

.highlight-box {
    background: #e7f3ff;
    border-right: 5px solid #007bff;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.ad-spot-premium {
    height: 150px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #bbb;
    margin: 30px 0;
    color: #888;
}

.call-to-action-premium {
    background: #1a1a1a;
    color: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 20px;
    margin-top: 50px;
}

.btn-main {
    background: #007bff;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    margin: 10px;
    display: inline-block;
}

.btn-sub {
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    margin: 10px;
    display: inline-block;


