/* متغيرات الألوان */
:root {
    --primary: #0a3d62;
    --primary-dark: #06273d;
    --secondary: #1e3799;
    --success: #4cd137;
    --warning: #e1b12c;
    --danger: #e84118;
    --light: #f5f6fa;
    --dark: #2f3640;
    --gray: #dcdde1;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--primary);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1, .logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-buttons {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    display: block;
}

.stat-label {
    margin-top: 10px;
    color: var(--dark);
}

/* Projects Grid */
.latest-projects, .services-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    padding: 15px 15px 0;
    font-size: 1.2rem;
}

.project-progress {
    padding: 15px;
}

.progress-bar {
    background: var(--gray);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    background: var(--success);
    height: 100%;
    transition: width 0.3s;
}

.progress-text {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
}

.read-more {
    display: inline-block;
    margin: 0 15px 15px;
    color: var(--primary);
    text-decoration: none;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 30px;
    background: var(--light);
    border-radius: 12px;
    transition: all 0.3s;
}

.service-card:hover {
    background: var(--primary);
    color: white;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    text-decoration: none;
}

/* Tracking Section */
.tracking-section {
    background: var(--primary);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.tracking-box {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.tracking-box input {
    padding: 12px 20px;
    width: 300px;
    border: none;
    border-radius: 5px;
}

.tracking-box button {
    padding: 12px 30px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Complaint Form */
.complaint-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: var(--light);
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    font-family: inherit;
}

/* Project Single */
.project-single {
    padding: 40px 0;
}

.project-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.project-info {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
}

.info-item {
    margin-bottom: 15px;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget h4 {
    margin-bottom: 15px;
}

.footer-links, .contact-info {
    list-style: none;
}

.footer-links a, .contact-info li {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .project-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .tracking-box {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        margin: 10px;
    }
}/* شريط الأخبار المتحرك */
.news-ticker {
    background: var(--primary-dark);
    color: white;
    padding: 10px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.ticker-label {
    background: var(--danger);
    padding: 5px 15px;
    font-weight: bold;
    z-index: 2;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-items {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    margin: 0 20px;
}

.ticker-item a {
    color: white;
    text-decoration: none;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ticker-items:hover {
    animation-play-state: paused;
}

/* تحسينات إضافية للـ Sidebar */
.main-sidebar {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    border-right: 4px solid var(--primary);
    padding-right: 10px;
    margin-bottom: 15px;
}

.recent-list li,
.news-list li {
    list-style: none;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray);
}

.recent-list li img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    margin-left: 10px;
    vertical-align: middle;
}

.recent-title {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 65px);
}

.stats-mini {
    display: flex;
    gap: 15px;
    text-align: center;
}

.stat-mini-item {
    flex: 1;
    background: white;
    padding: 15px;
    border-radius: 8px;
}

.stat-mini-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    display: block;
}

.social-links a {
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
}

/* تحسينات الـ 404 */
.error-404 {
    text-align: center;
    padding: 80px 0;
}

.error-code {
    font-size: 120px;
    font-weight: bold;
    color: var(--primary);
    line-height: 1;
}

.sections-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.section-link {
    padding: 12px 25px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

/* تحسينات نموذج الاتصال */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-card {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.info-icon {
    font-size: 2.5rem;
}

.contact-form-wrapper {
    background: var(--light);
    padding: 30px;
    border-radius: 12px;
}

.form-row.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* تحسينات الخدمات */
.single-service .service-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.service-requirements ul,
.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.service-requirements li,
.sidebar-widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray);
}

.request-form {
    margin-top: 20px;
}

.submit-btn {
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
}

/* تحسينات البحث */
.search-filters {
    margin: 20px 0;
}

.search-result-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--gray);
}

.result-thumb img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.result-type {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

/* تحسينات الأرشفة */
.archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.news-archive-filter {
    background: var(--light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.news-archive-filter ul {
    display: inline-block;
    list-style: none;
}

.news-archive-filter li {
    display: inline-block;
    margin: 0 10px;
}

/* تحسينات الـ Responsive */
@media (max-width: 992px) {
    .contact-grid,
    .single-service .service-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .search-result-item {
        flex-direction: column;
    }
    
    .result-thumb img {
        width: 100%;
        height: auto;
    }
    
    .form-row.two-columns {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}
/* ==============================================
   أنماط loop.php
   ============================================== */

.loop-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray);
}

.loop-thumbnail {
    flex-shrink: 0;
    width: 250px;
}

.loop-thumbnail img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}

.loop-content {
    flex: 1;
}

.loop-title {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.loop-title a {
    text-decoration: none;
    color: var(--dark);
}

.loop-title a:hover {
    color: var(--primary);
}

.loop-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
}

.loop-meta i {
    margin-left: 5px;
}

.loop-excerpt {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

/* ==============================================
   أنماط project-card.php
   ============================================== */

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-thumb {
    position: relative;
    overflow: hidden;
}

.project-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover .project-thumb img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
}

.project-badge.completed {
    background: #4cd137;
}

.project-badge.progress {
    background: #e1b12c;
}

.project-badge.planned {
    background: #487eb0;
}

.project-details {
    padding: 20px;
}

.project-title {
    margin: 0 0 15px;
    font-size: 1.2rem;
}

.project-title a {
    text-decoration: none;
    color: var(--dark);
}

.project-title a:hover {
    color: var(--primary);
}

.project-progress {
    margin-bottom: 15px;
}

.progress-bar {
    background: #e0e0e0;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    background: var(--primary);
    height: 100%;
    border-radius: 10px;
    position: relative;
    transition: width 0.5s ease;
}

.progress-percent {
    position: absolute;
    right: 10px;
    top: -20px;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--primary);
}

.project-budget,
.project-contractor {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #666;
}

.project-budget i,
.project-contractor i {
    margin-left: 8px;
    color: var(--primary);
}

.project-excerpt {
    margin: 15px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.project-link {
    display: inline-block;
    padding: 8px 0;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.project-link:hover {
    transform: translateX(-5px);
}

/* ==============================================
   استجابة للشاشات الصغيرة
   ============================================== */

@media (max-width: 768px) {
    .loop-item {
        flex-direction: column;
    }
    
    .loop-thumbnail {
        width: 100%;
    }
    
    .loop-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .project-card {
        margin-bottom: 20px;
    }
}
/* ==============================================
   سلايدر مخصص
   ============================================== */

.custom-slider {
    position: relative;
    margin-bottom: 30px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.fade {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.slide-caption {
    position: absolute;
    bottom: 30%;
    left: 10%;
    right: 10%;
    text-align: center;
    color: white;
    z-index: 2;
}

.slide-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-caption p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slide-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.slide-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* أزرار التنقل */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background: var(--primary);
}

/* نقاط التنقل */
.dots-container {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active, .dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .slideshow-container {
        height: 350px;
    }
    
    .slide-caption h2 {
        font-size: 1.3rem;
    }
    
    .slide-caption p {
        font-size: 0.9rem;
    }
    
    .slide-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .prev, .next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}
/* ==============================================
   قسم آخر الأخبار
   ============================================== */

.latest-news {
    padding: 60px 0;
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-thumb {
    height: 200px;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-thumb img {
    transform: scale(1.05);
}

.news-date {
    padding: 15px 20px 5px;
    font-size: 0.85rem;
    color: #888;
}

.news-date i {
    margin-left: 5px;
    color: var(--primary);
}

.news-title {
    padding: 0 20px;
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.news-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.news-title a:hover {
    color: var(--primary);
}

.news-excerpt {
    padding: 0 20px;
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

.news-card .read-more {
    display: inline-block;
    margin: 15px 20px 20px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.no-news {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 12px;
    color: #666;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-thumb {
        height: 180px;
    }
}
/* ==============================================
   الأقسام الإضافية
   ============================================== */

/* شركاء النجاح */
.partners-section {
    padding: 60px 0;
    background: #fff;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.partner-item img {
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* إنجازات */
.achievements-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: bold;
}

/* الأسئلة الشائعة */
.faq-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: #666;
    line-height: 1.6;
}

/* شهادات */
.testimonials-section {
    padding: 60px 0;
    background: #f0f2f5;
}

.testimonial-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

/* روابط سريعة */
.quick-links-section {
    padding: 60px 0;
    background: #fff;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.quick-link {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.quick-link:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: white;
}

.quick-link-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
/* ==============================================
     الأقسام الإضافية
     ============================================== */

/* روابط سريعة */
.quick-links-section {
    padding: 60px 0;
    background: #fff;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.quick-link {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.quick-link:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: white;
}

.quick-link-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.quick-link h3 {
    margin: 10px 0;
    font-size: 1.2rem;
}

.quick-link p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.quick-link:hover,
.quick-link:hover h3,
.quick-link:hover p {
    color: white;
}

/* إنجازات */
.achievements-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: bold;
}

.achievement-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* الأسئلة الشائعة */
.faq-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-icon {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: #666;
    line-height: 1.6;
}

/* شركاء النجاح */
.partners-section {
    padding: 60px 0;
    background: #fff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.partner-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.partner-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.partner-item span {
    display: block;
    font-weight: 500;
    color: var(--dark);
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .quick-links-grid,
    .achievements-grid,
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-question {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .quick-links-grid,
    .achievements-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
}
/* ==============================================
     تصميم حديث وجذاب
     ============================================== */

/* السلايدر المحسن */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.fade {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.slide.fade .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.slide-caption {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
    z-index: 2;
}

.slide-tag {
    display: inline-block;
    background: var(--secondary);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.slide-caption h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-caption h1 .highlight {
    color: var(--secondary);
}

.slide-caption p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slide-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateX(5px);
}

.btn-outline-light {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10;
    text-decoration: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
    background: var(--secondary);
}

/* إحصائيات متحركة */
.stats-grid-modern {
    padding: 80px 0;
    background: #f8f9fa;
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card-modern {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.stat-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

.stat-trend {
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: 10px;
}

/* الميزات التفاعلية */
.features-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: rgba(232,65,24,0.1);
    color: var(--secondary);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header h2 .highlight {
    color: var(--secondary);
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    margin-bottom: 20px;
}

.feature-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.feature-link:hover {
    margin-right: 10px;
}

/* المشاريع المميزة */
.projects-featured {
    padding: 80px 0;
    background: #f8f9fa;
}

.projects-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.project-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card-modern:hover .project-image img {
    transform: scale(1.1);
}

.project-progress-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: bold;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.project-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.project-progress-bar {
    height: 6px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.project-progress-bar .progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 10px;
}

.project-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
}

/* شريط الأخبار المتحرك */
.news-ticker-section {
    background: var(--primary);
    padding: 15px 0;
    color: white;
}

.news-ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ticker-label {
    background: var(--secondary);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
}

.ticker-items {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ticker-item a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
}

/* الأخبار الحديثة */
.latest-news-modern {
    padding: 80px 0;
    background: white;
}

.news-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #eee;
}

.news-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.news-image {
    position: relative;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date-badge {
    position: absolute;
    bottom: -15px;
    left: 20px;
    background: var(--secondary);
    color: white;
    padding: 8px 12px;
    border-radius: 12px;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.news-date-badge .day {
    font-size: 1.2rem;
    font-weight: bold;
    display: block;
}

.news-date-badge .month {
    font-size: 0.7rem;
}

.news-content {
    padding: 25px 20px 20px;
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.read-more-modern {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
}

/* قسم من نحن */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-content h2 .highlight {
    color: var(--secondary);
}

.about-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.about-stat .stat-num {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary);
}

.about-stat .stat-text {
    color: #666;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* نموذج الاتصال السريع */
.quick-contact {
    padding: 80px 0;
    background: var(--primary);
}

.contact-card {
    background: white;
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.contact-info {
    background: linear-gradient(135deg, var(--secondary), #c0392b);
    padding: 50px;
    color: white;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-item {
    margin-bottom: 15px;
    font-size: 1rem;
}

.contact-form-quick {
    padding: 50px;
}

.contact-form-quick input,
.contact-form-quick textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
}

.contact-form-quick button {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 992px) {
    .stats-wrapper,
    .features-grid,
    .projects-slider,
    .news-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
    }
    
    .slide-caption h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-wrapper,
    .features-grid,
    .projects-slider,
    .news-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .slide-caption {
        left: 5%;
        right: 5%;
        text-align: center;
    }
    
    .slide-buttons {
        justify-content: center;
    }
    
    .contact-card {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}