/* ============================================
   وطن ستوديو - pages.css
   تنسيقات خاصة بالصفحات
   ============================================ */

/* ============ الصفحة الرئيسية ============ */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.3);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* ============ قسم من نحن ============ */
.about-preview-content,
.about-story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-highlights {
    display: flex;
    gap: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.about-highlight h3 {
    font-size: 2rem;
    color: var(--primary);
    margin: 0;
}

.about-highlight span {
    color: var(--gray);
    font-size: 0.85rem;
}

.about-story-image {
    position: relative;
}

.about-image-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius);
    font-weight: 900;
    box-shadow: var(--shadow-primary);
}

/* ============ قسم الرؤية والرسالة ============ */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vision-card,
.mission-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.vm-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.vision-card h3,
.mission-card h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.vision-card p,
.mission-card p {
    color: var(--gray);
    margin: 0;
}

/* ============ قسم المؤسس ============ */
.founder-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}

.founder-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    box-shadow: var(--shadow-primary);
}

.founder-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.founder-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.founder-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0f0fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition);
}

.founder-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============ قسم الإنجازات ============ */
.achievements {
    background: var(--gradient-primary);
    padding: 60px 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.achievement-item h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin: 0;
}

.achievement-item span {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

/* ============ صفحة التواصل ============ */
.contact-info-side,
.contact-form-side {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.contact-social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.contact-social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0f0fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition);
}

.contact-social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 30px 0;
}

/* ============ صفحة الأسئلة ============ */
.faq-quick-list {
    margin-top: 20px;
}

.faq-quick-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.faq-quick-item h4 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 5px;
}

.faq-quick-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* ============ الصفحات القانونية ============ */
.legal-content {
    padding: 60px 0;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.legal-date {
    color: var(--gray-light);
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.legal-text h2 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.legal-text ul {
    list-style: disc;
    padding-right: 25px;
    margin-bottom: 15px;
}

.legal-text ul li {
    margin-bottom: 8px;
    color: var(--gray);
}

/* ============ صفحة SEO ============ */
.why-seo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-seo-item {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.why-seo-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.why-seo-item h3 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 10px;
}

.why-seo-item p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* ============ خطوات العمل ============ */
.steps-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.step-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    max-width: 200px;
    flex: 1;
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    margin: 0 auto 15px;
    box-shadow: var(--shadow-primary);
}

.step-card h3 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* ============ التجاوب ============ */
@media (max-width: 992px) {
    .about-preview-content,
    .about-story-content {
        grid-template-columns: 1fr;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .founder-avatar {
        margin: 0 auto;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-seo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .achievements-grid,
    .why-seo-grid {
        grid-template-columns: 1fr;
    }
    
    .about-highlights {
        justify-content: center;
    }
}

/* ============ صفحة مجتبى حسين ============ */
.profile-content {
    max-width: 900px;
    margin: 0 auto;
}

.profile-main-card {
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(7,8,69,0.1);
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #005489, #001C70);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0,84,137,0.3);
}

.profile-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.profile-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.profile-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.profile-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e0f0fa;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.profile-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.profile-info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(7,8,69,0.06);
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.profile-info-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

.profile-info-card h3 i {
    color: var(--primary);
    margin-left: 8px;
}

.profile-skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.profile-skill {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.profile-skill:hover {
    background: #e0f0fa;
    transform: translateY(-3px);
}

.profile-skill i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.profile-skill h4 {
    color: var(--dark);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.profile-skill p {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
}

.profile-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.profile-value {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
}

.profile-value i {
    color: var(--success);
}

.profile-value span {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.9rem;
}

.profile-work-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.work-step {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.step-num {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin: 0 auto 10px;
}

.work-step h4 {
    color: var(--dark);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.work-step p {
    font-size: 0.75rem;
    color: var(--gray);
    margin: 0;
}

.profile-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .profile-skills-grid,
    .profile-values-grid,
    .profile-work-steps {
        grid-template-columns: 1fr;
    }
    
    .profile-avatar {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
}

/* ============ قسم الخريطة ============ */
.map-section {
    padding: 40px 0;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(7,8,69,0.12);
    border: 2px solid #e2e8f0;
    max-width: 100%;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .map-container iframe {
        height: 280px;
    }
}

/* ============================================
   وطن ستوديو - about.html تنسيقات خاصة
   ============================================ */

/* ============ الأقسام المعلوماتية ============ */
.info-section {
    padding: 60px 0;
}

.info-section.section-light {
    background: var(--lighter);
}

.info-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(7,8,69,0.06);
    border: 1px solid #e2e8f0;
}

.info-card .section-title {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.info-card p {
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 15px;
}

.info-card ul {
    list-style: disc;
    padding-right: 25px;
    margin-bottom: 15px;
}

.info-card ul li {
    color: var(--gray);
    margin-bottom: 8px;
    line-height: 1.8;
}

/* ============ المقدمة الرئيسية ============ */
.about-preview {
    padding: 70px 0;
}

.about-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-preview-text .section-title {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.about-preview-text p {
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 12px;
}

.about-preview-image img {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(7,8,69,0.15);
}

/* ============ قسم المؤسس ============ */
.founder-section {
    padding: 70px 0;
    background: var(--lighter);
}

.founder-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.founder-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #005489, #001C70);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(0,84,137,0.3);
}

.founder-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.founder-text .section-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.founder-text p {
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 12px;
}

.founder-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.founder-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0f0fa;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.founder-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============ جدول المعلومات ============ */
.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.comparison-table td:first-child {
    width: 200px;
    font-weight: 700;
    color: var(--dark);
    background: var(--lighter);
}

.comparison-table td:last-child {
    color: var(--gray);
}

/* ============ التجاوب ============ */
@media (max-width: 992px) {
    .about-preview-content,
    .founder-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .founder-avatar {
        margin: 0 auto;
    }
    
    .founder-social {
        justify-content: center;
    }
    
    .info-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .info-section,
    .about-preview,
    .founder-section {
        padding: 45px 0;
    }
    
    .info-card {
        padding: 25px;
        border-radius: 15px;
    }
    
    .about-preview-text .section-title,
    .founder-text .section-title {
        font-size: 1.5rem;
    }
    
    .founder-avatar {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    
    .comparison-table td {
        padding: 12px;
        font-size: 0.85rem;
    }
    
    .comparison-table td:first-child {
        width: 130px;
    }
}

@media (max-width: 480px) {
    .info-card {
        padding: 20px;
    }
    
    .founder-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}

/* ============ صفحة الأخبار ============ */
.news-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 50px;
    background: var(--white);
    border: 2px solid #e2e8f0;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.news-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.news-article-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(7,8,69,0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.news-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(7,8,69,0.12);
}

.news-article-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    min-width: 60px;
    padding: 10px;
    background: #e0f0fa;
    border-radius: 12px;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.date-month {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dark);
}

.date-year {
    font-size: 0.7rem;
    color: var(--gray-light);
}

.news-category {
    display: inline-block;
    background: #e0f0fa;
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-article-content h3 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.news-article-content p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.read-more {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.no-news {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    padding: 40px;
}

/* ============ صفحة تفاصيل الخبر ============ */
.news-detail-section {
    padding: 60px 0;
}

.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(7,8,69,0.06);
    border: 1px solid #e2e8f0;
}

.news-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.news-detail-header h1 {
    color: var(--dark);
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.news-detail-meta {
    display: flex;
    gap: 15px;
    color: var(--gray-light);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.news-detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.news-detail-content p {
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 15px;
}

.news-detail-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.news-not-found {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(7,8,69,0.06);
}

.news-not-found h2 {
    color: var(--dark);
    margin-bottom: 10px;
}

.news-not-found p {
    color: var(--gray);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .news-grid-full {
        grid-template-columns: 1fr;
    }
    
    .news-article-card {
        flex-direction: column;
    }
    
    .news-article-date {
        flex-direction: row;
        gap: 8px;
        min-width: auto;
    }
    
    .news-detail-card {
        padding: 25px;
    }
}
/* ============ تفاصيل الخبر — روابط وصور ============ */
.news-detail-image {
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(7,8,69,0.1);
}

.news-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.news-detail-links {
    margin: 25px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.news-detail-links h3 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 15px;
}

.news-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-link-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.news-link-item:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.news-detail-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .news-detail-links {
        padding: 15px;
    }
    
    .news-link-item {
        width: 100%;
        justify-content: center;
    }
}

/* ============ بطاقات الأعمال ============ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(7,8,69,0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(7,8,69,0.12);
}

.portfolio-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.05);
}

.portfolio-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.portfolio-card-content {
    padding: 20px;
}

.portfolio-card-content h3 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.portfolio-card-content p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.portfolio-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-date {
    font-size: 0.75rem;
    color: var(--gray-light);
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ شبكة الأعمال ============ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(7,8,69,0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(7,8,69,0.12);
}

.portfolio-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.portfolio-card-content {
    padding: 20px;
}

.portfolio-card-content h3 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.portfolio-card-content p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.portfolio-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-date {
    font-size: 0.75rem;
    color: var(--gray-light);
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ صفحة طلب خدمة ============ */
.order-section {
    padding: 60px 0;
}

.order-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.order-form {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(7,8,69,0.06);
    border: 1px solid #e2e8f0;
}

/* أقسام النموذج */
.form-section {
    padding: 25px 0;
    border-bottom: 1px solid #f1f5f9;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.form-section-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,84,137,0.3);
}

.form-section-header h3 {
    color: var(--dark);
    font-size: 1.15rem;
    margin: 0;
}

.form-section-header p {
    color: var(--gray);
    font-size: 0.85rem;
    margin: 3px 0 0;
}

/* حقول الراديو */
.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.radio-option {
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: var(--primary);
    background: #e0f0fa;
}

.radio-option input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: var(--primary);
}

.radio-option input[type="radio"]:checked ~ span {
    color: var(--primary);
    font-weight: 700;
}

/* حقول الاختيار المتعدد */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-option:hover {
    border-color: var(--primary);
    background: #e0f0fa;
}

.checkbox-option input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--primary);
}

.checkbox-option input[type="checkbox"]:checked ~ span {
    color: var(--primary);
    font-weight: 700;
}

.checkbox-option i {
    color: var(--primary);
    margin-left: 5px;
}

/* أزرار النموذج */
.form-actions {
    margin-top: 30px;
    text-align: center;
}

.form-note {
    color: var(--gray-light);
    font-size: 0.85rem;
    margin-top: 15px;
}

.form-note i {
    color: var(--primary);
    margin-left: 5px;
}

/* التجاوب */
@media (max-width: 768px) {
    .order-form {
        padding: 25px 20px;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
    }

    .form-section-header {
        gap: 12px;
    }

    .form-section-number {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

/* ============ نهاية pages.css ============ */