:root {
    --primary-color: #1a3a6c;
    --secondary-color: #e63946;
    --accent-color: #f4a261;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --bg-color: #fff;
    --header-bg: rgba(255, 255, 255, 0.98);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius: 12px;
}

[data-theme="dark"] {
    --primary-color: #2a4a7c;
    --secondary-color: #ff4757;
    --accent-color: #ff9f43;
    --light-color: #2d3748;
    --dark-color: #f8f9fa;
    --text-color: #f8f9fa;
    --bg-color: #1a202c;
    --header-bg: rgba(26, 32, 44, 0.98);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
    overflow-x: hidden;
}

/* شريط التحكم العلوي */
.top-controls {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), #2a4a8c);
    color: white;
    padding: 10px 0;
    z-index: 1100;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.top-controls .control-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 30px;
}

.top-controls .control-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
    cursor: pointer;
    font-size: 16px;
}

.top-controls .control-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* تحديث تنسيقات الهيدر العلوي */
.header-area {
    margin-top: 60px;
}

.header-top {
    background: linear-gradient(135deg, var(--primary-color), #2a4a8c);
    color: white;
    padding: 8px 0;
    font-size: 14px;
    transition: var(--transition);
    min-height: 50px;
    display: flex;
    align-items: center;
}

.header-top .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 40px;
}

/* تنسيقات الأيقونات الاجتماعية في الهيدر */
.header-right-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
}

.header-right-social .list-inline {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.header-right-social .list-inline-item {
    margin: 0;
    padding: 0;
}

.header-right-social .list-inline-item:last-child {
    margin-left: 0;
}

.header-right-social a {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 6px;
    transition: var(--transition);
    text-decoration: none;
    font-size: 18px;
    position: relative;
    overflow: hidden;
    color: white;
    flex-shrink: 0;
}

/* ألوان الأيقونات حسب التطبيقات */
.header-right-social .facebook {
    background: linear-gradient(135deg, #1877f2, #0d66d0);
    border: 2px solid #1877f2;
}

.header-right-social .whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: 2px solid #25d366;
}

.header-right-social .email {
    background: linear-gradient(135deg, #ea4335, #d14836);
    border: 2px solid #ea4335;
}

.header-right-social .location {
    background: linear-gradient(135deg, #4285f4, #3367d6);
    border: 2px solid #4285f4;
}

.header-right-social .phone {
    background: linear-gradient(135deg, #34a853, #2e8b47);
    border: 2px solid #34a853;
}

/* تأثيرات hover للأيقونات */
.header-right-social a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.header-right-social .facebook:hover {
    background: linear-gradient(135deg, #0d66d0, #1877f2);
    box-shadow: 0 6px 15px rgba(24, 119, 242, 0.4);
}

.header-right-social .whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.header-right-social .email:hover {
    background: linear-gradient(135deg, #d14836, #ea4335);
    box-shadow: 0 6px 15px rgba(234, 67, 53, 0.4);
}

.header-right-social .location:hover {
    background: linear-gradient(135deg, #3367d6, #4285f4);
    box-shadow: 0 6px 15px rgba(66, 133, 244, 0.4);
}

.header-right-social .phone:hover {
    background: linear-gradient(135deg, #2e8b47, #34a853);
    box-shadow: 0 6px 15px rgba(52, 168, 83, 0.4);
}

/* تسميات الأيقونات (للوصول) */
.icon-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.header-right-social a:hover .icon-label {
    opacity: 1;
    top: -35px;
}

/* تأثير النبض للأيقونات */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.header-right-social a:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: inherit;
    animation: pulse 2s infinite;
    z-index: -1;
}

.header-nav {
    position: sticky;
    top: 60px;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 12px 0;
    box-shadow: var(--shadow);
    background-color: var(--header-bg);
    backdrop-filter: blur(15px);
    transition: var(--transition);
}

.navbar-brand img {
    height: 55px;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    margin: 0 8px;
    position: relative;
    transition: var(--transition);
    padding: 8px 16px !important;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(26, 58, 108, 0.05);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background: rgba(26, 58, 108, 0.1);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 16px;
    width: 0;
    height: 2px;
    background: linear-gradient(to left, var(--secondary-color), var(--accent-color));
    transition: width 0.4s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 32px);
}

.main-btn {
    background: linear-gradient(135deg, var(--primary-color), #2a4a8c);
    color: white;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    box-shadow: 0 6px 20px rgba(26, 58, 108, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.main-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), #ff6b81);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.35);
}

/* البانر الرئيسي */
.hero-section {
    background: linear-gradient(135deg, rgba(26, 58, 108, 0.9), rgba(244, 162, 97, 0.8)), url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 180px 0 100px;
    color: white;
    text-align: center;
    margin-top: -60px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-feature i {
    font-size: 2rem;
    color: var(--accent-color);
}

/* البانر الداخلي */
.inner-banner {
    background: linear-gradient(135deg, rgba(26, 58, 108, 0.9), rgba(244, 162, 97, 0.8)), url('img/p12.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    margin-top: -60px;
}

.inner-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.inner-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* الأقسام العامة */
.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    font-size: 2.5rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(to left, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
}

/* قسم المنتجات الرئيسية */
.featured-products {
    background-color: var(--light-color);
    transition: var(--transition);
}

/* قسم المنتجات */
.products-category {
    margin-bottom: 80px;
}

.category-title {
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
}

.product-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-content {
    padding: 25px;
}

.product-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.product-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.product-spec {
    text-align: center;
}

.product-spec-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.product-spec-label {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
}

.product-description {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 15px;
    text-align: justify;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.product-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.product-features li i {
    color: var(--secondary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    flex: 1;
    text-align: center;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* قسم الإحصائيات */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), #2a4a8c);
    color: white;
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
}

/* قسم الخدمات */
.services-section {
    background-color: var(--bg-color);
    transition: var(--transition);
}

.service-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
    text-align: center;
    padding: 40px 25px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #2a4a8c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary-color), #ff6b81);
}

.service-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-description {
    color: var(--text-color);
    opacity: 0.8;
}

/* قسم العملاء */
.clients-section {
    background-color: var(--light-color);
    transition: var(--transition);
    padding: 80px 0;
}

.client-logo {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 70px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* قسم قائمة العملاء */
.clients-list-section {
    background-color: var(--bg-color);
    transition: var(--transition);
    padding: 80px 0;
}

.client-category {
    margin-bottom: 50px;
}

.client-category h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    font-weight: 700;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.client-item {
    background-color: var(--light-color);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
    color: white;
}

/* قسم الاتصال */
.cta-section {
    background: linear-gradient(135deg, rgba(26, 58, 108, 0.9), rgba(230, 57, 70, 0.8)), url('img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* معرض الصور المكبرة */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
}

.close-modal:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.modal-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 24px;
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* التذييل */
.footer-area {
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.footer-overlay {
    background: linear-gradient(135deg, rgba(26, 58, 108, 0.97), rgba(42, 74, 140, 0.95));
    padding: 100px 0 40px;
}

.widget-item-1 img {
    height: 60px;
    margin-bottom: 25px;
}

.footer-list ul {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-list a:hover {
    color: white;
    padding-right: 8px;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 25px;
    margin-top: 60px;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* تحديث تنسيقات الفوتر */
.social-icons-footer {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icons-footer a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
    font-size: 18px;
    position: relative;
    overflow: hidden;
    color: white;
    flex-shrink: 0;
}

/* ألوان الأيقونات في الفوتر */
.social-icons-footer .facebook {
    background: linear-gradient(135deg, #1877f2, #0d66d0);
    border: 2px solid #1877f2;
}

.social-icons-footer .whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: 2px solid #25d366;
}

.social-icons-footer .email {
    background: linear-gradient(135deg, #ea4335, #d14836);
    border: 2px solid #ea4335;
}

.social-icons-footer .location {
    background: linear-gradient(135deg, #4285f4, #3367d6);
    border: 2px solid #4285f4;
}

.social-icons-footer .phone {
    background: linear-gradient(135deg, #34a853, #2e8b47);
    border: 2px solid #34a853;
}

/* تأثيرات hover للايقونات في الفوتر */
.social-icons-footer a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-icons-footer .facebook:hover {
    background: linear-gradient(135deg, #0d66d0, #1877f2);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.social-icons-footer .whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.social-icons-footer .email:hover {
    background: linear-gradient(135deg, #d14836, #ea4335);
    box-shadow: 0 8px 20px rgba(234, 67, 53, 0.4);
}

.social-icons-footer .location:hover {
    background: linear-gradient(135deg, #3367d6, #4285f4);
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.4);
}

.social-icons-footer .phone:hover {
    background: linear-gradient(135deg, #2e8b47, #34a853);
    box-shadow: 0 8px 20px rgba(52, 168, 83, 0.4);
}

/* تسميات الأيقونات في الفوتر */
.social-icons-footer .icon-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.social-icons-footer a:hover .icon-label {
    opacity: 1;
    top: -35px;
}

/* تنسيقات إضافية للفوتر */
.widget-info h4 a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.5rem;
    font-weight: 700;
}

.widget-info h4 a:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
}

.info-lst {
    margin-top: 15px;
}

.info-lst li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-lst a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-lst a:hover {
    color: white;
    transform: translateX(-5px);
}

.info-lst a i {
    width: 20px;
    text-align: center;
    color: var(--accent-color);
}

/* تحسينات للنموذج في الفوتر */
#newsletter-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: var(--transition);
    border-radius: 8px;
}

#newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(244, 162, 97, 0.25);
    color: white;
}

#newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* تنسيقات إضافية للروابط في الفوتر */
.footer-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
    border-radius: 6px;
    margin-bottom: 5px;
}

.footer-list a:hover {
    color: white;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15));
    padding-right: 20px;
    transform: translateX(-5px);
}

.footer-list a i {
    transition: var(--transition);
    color: var(--accent-color);
}

.footer-list a:hover i {
    transform: translateX(-5px);
    color: white;
}

/* زر العودة للأعلى */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), #2a4a8c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(26, 58, 108, 0.4);
    border: none;
}

.back-to-top.active {
    opacity: 1;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary-color), #ff6b81);
    transform: translateY(-5px);
}

/* تأثيرات التمرير */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* تأثيرات إضافية */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* تخصيص شريط التمرير */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

/* تنسيقات بطاقات معلومات الاتصال */
.contact-info-section {
    padding: 80px 0;
    background: var(--light-color);
}

.contact-info-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon.phone {
    background: linear-gradient(135deg, #34a853, #2e8b47);
}

.contact-icon.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-icon.email {
    background: linear-gradient(135deg, #ea4335, #d14836);
}

.contact-icon.location {
    background: linear-gradient(135deg, #4285f4, #3367d6);
}

.contact-icon.facebook {
    background: linear-gradient(135deg, #1877f2, #0d66d0);
}

.contact-info-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-info-card p {
    color: var(--text-color);
    margin-bottom: 10px;
}

.contact-info-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-card a:hover {
    color: var(--secondary-color);
}

/* تحسينات للاستجابة */
@media (max-width: 1200px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .inner-banner h1 {
        font-size: 2.8rem;
    }
    
    .cta-content h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .inner-banner h1 {
        font-size: 2.4rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .header-top .container {
        justify-content: center;
    }
    
    .header-right-social {
        justify-content: center;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .inner-banner h1 {
        font-size: 2rem;
    }
    
    .inner-banner p {
        font-size: 1rem;
    }
    
    .header-top .header-left-side,
    .header-top .header-right-social {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .top-controls {
        justify-content: center;
    }
    
    .top-controls .control-group {
        margin-right: 0;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-specs {
        flex-wrap: wrap;
    }
    
    .product-spec {
        flex: 0 0 50%;
        margin-bottom: 10px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .header-right-social a {
        width: 38px;
        height: 38px;
        font-size: 16px;
        margin: 0 5px;
    }
    
    .header-right-social .list-inline {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-icons-footer a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .icon-label {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .inner-banner h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .main-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .header-right-social a {
        width: 36px;
        height: 36px;
        font-size: 15px;
        margin: 0 4px;
    }
    
    .social-icons-footer a {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    
    .header-right-social .list-inline-item {
        margin-bottom: 0;
    }
    
    .contact-info-card {
        padding: 30px 20px;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 25px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}
/* قسم عن الشركة */
.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 25px;
    text-align: justify;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-features {
    margin-top: 50px;
}

.feature-box {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #2a4a8c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-box h4 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* قسم الرسالة والرؤية */
.mission-vision {
    background-color: var(--light-color);
    transition: var(--transition);
}

.mission-box, .vision-box {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.mission-box::before, .vision-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

.mission-box h3, .vision-box h3 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* قسم القيم */
.value-card {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.value-card h4 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

/* قسم الإنجازات */
.achievements-section {
    background: linear-gradient(135deg, var(--primary-color), #2a4a8c);
    color: white;
}

.achievements-section .section-title h2,
.achievements-section .section-title p {
    color: white;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.achievement-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.achievement-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.achievement-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* تحسينات للاستجابة */
@media (max-width: 992px) {
    .about-image {
        margin-top: 40px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .mission-box, .vision-box {
        padding: 25px;
    }
    
    .feature-box, .value-card, .achievement-card {
        padding: 20px;
    }
    
    .achievement-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .mission-box, .vision-box {
        padding: 20px;
    }
    
    .feature-icon, .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .achievement-number {
        font-size: 1.8rem;
    }
}

/* بانر صفحة الاتصال */
.contact-banner {
    position: relative;
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top: -60px;
    padding-top: 60px;
}

.contact-banner-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(26, 58, 108, 0.85), rgba(244, 162, 97, 0.75));
}

.contact-banner-content {
    position: relative;
    color: white;
    text-align: center;
    width: 100%;
}

.contact-banner-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.contact-banner-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* قسم معلومات الاتصال */
.contact-info-section {
    padding: 100px 0;
    background-color: var(--light-color);
    transition: var(--transition);
}

.contact-info-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to left, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: -1;
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #2a4a8c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 30px;
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
    background: linear-gradient(135deg, var(--secondary-color), #ff6b81);
    transform: rotateY(180deg);
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-info-card p {
    color: var(--text-color);
    margin-bottom: 10px;
}

.contact-info-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-info-card a:hover {
    color: var(--primary-color);
}

/* قسم نموذج الاتصال */
.contact-form-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    transition: var(--transition);
}

.contact-form-wrapper {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 50px;
    transition: var(--transition);
}

.form-title {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(to left, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.form-control {
    padding: 15px;
    border-radius: var(--border-radius);
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    background-color: var(--bg-color);
    color: var(--text-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(26, 58, 108, 0.25);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* روابط وسائل التواصل الاجتماعي */
.social-links-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #2a4a8c);
    color: white;
    text-align: center;
}

.social-links-title {
    margin-bottom: 40px;
    font-weight: 700;
}

.social-links-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    width: 120px;
}

.social-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 15px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
    transform: translateY(-10px);
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

.facebook .social-icon {
    background: linear-gradient(135deg, #3b5998, #8b9dc3);
}

.whatsapp .social-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.email .social-icon {
    background: linear-gradient(135deg, #D44638, #EA4335);
}

.website .social-icon {
    background: linear-gradient(135deg, var(--accent-color), #e76f51);
}

.social-name {
    font-weight: 600;
    font-size: 0.9rem;
}

/* قسم الخريطة */
.map-section {
    padding: 0 0 100px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 450px;
}

/* تأثير النبض */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

/* زر المخطط */
.main-btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.main-btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* تحسينات للاستجابة */
@media (max-width: 1200px) {
    .contact-banner-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .contact-banner-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-banner {
        height: 350px;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-banner-content h1 {
        font-size: 2.2rem;
    }
    
    .contact-banner-content p {
        font-size: 1rem;
    }
    
    .contact-banner {
        height: 300px;
    }
    
    .contact-info-section,
    .contact-form-section {
        padding: 70px 0;
    }
    
    .social-links-container {
        gap: 15px;
    }
    
    .social-link {
        width: 100px;
    }
}

@media (max-width: 576px) {
    .contact-banner-content h1 {
        font-size: 1.8rem;
    }
    
    .contact-banner-content p {
        font-size: 0.9rem;
    }
    
    .contact-banner {
        height: 250px;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .social-link {
        width: 80px;
    }
    
    .social-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* بانر الصفحة */
.page-hero {
    background: linear-gradient(135deg, rgba(26, 58, 108, 0.9), rgba(244, 162, 97, 0.8)), url('img/news-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 150px 0 80px;
    color: white;
    text-align: center;
    margin-top: -60px;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

/* قسم الأخبار */
.news-section {
    background-color: var(--bg-color);
    transition: var(--transition);
}

.news-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: var(--light-color);
    color: var(--text-color);
    border: none;
    padding: 10px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn.active, .filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), #2a4a8c);
    color: white;
}

.news-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 250px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.news-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.news-meta i {
    color: var(--primary-color);
}

.read-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.6;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.news-tag {
    background: var(--light-color);
    color: var(--text-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.news-tag:hover {
    background: var(--primary-color);
    color: white;
}

.news-actions {
    display: flex;
    gap: 10px;
}

/* قسم النشرة البريدية */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), #2a4a8c);
    color: white;
    padding: 80px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* قسم الأرشيف */
.archive-section {
    background-color: var(--light-color);
    transition: var(--transition);
    padding: 80px 0;
}

.archive-list {
    list-style: none;
    padding: 0;
}

.archive-item {
    background: var(--bg-color);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.archive-item a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.archive-item:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow);
}

.archive-item:hover a {
    color: var(--primary-color);
}

.archive-date {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* الأخبار الشائعة */
.popular-news {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-card-small {
    background: var(--bg-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-card-small h5 {
    margin-bottom: 0;
}

.news-card-small h5 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-card-small:hover h5 a {
    color: var(--secondary-color);
}

/* ترقيم الصفحات */
.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin: 0 3px;
    border-radius: var(--border-radius);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: white;
}

/* تحسينات للاستجابة */
@media (max-width: 1200px) {
    .page-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .news-actions {
        flex-direction: column;
    }
    
    .news-meta {
        flex-wrap: wrap;
    }
    
    .archive-item a {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .news-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
}
/* قسم المشاريع */
.projects-section {
    background-color: var(--bg-color);
    transition: var(--transition);
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: var(--light-color);
    color: var(--text-color);
    border: none;
    padding: 10px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn.active, .filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), #2a4a8c);
    color: white;
}

.project-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 250px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.project-content {
    padding: 25px;
}

.project-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.project-meta-item {
    text-align: center;
}

.project-meta-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.project-meta-label {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
}

.project-description {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 15px;
    text-align: justify;
}

.project-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.project-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.project-features li i {
    color: var(--secondary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.project-actions {
    display: flex;
    gap: 10px;
}

/* تأثيرات خاصة للمشاريع */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(26, 58, 108, 0.1));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
    pointer-events: none;
}

.project-card:hover::before {
    opacity: 1;
}

.project-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-image::after {
    opacity: 1;
}

/* حالة المشروع */
.project-status {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    color: white;
}

.status-completed {
    background: var(--secondary-color);
}

.status-ongoing {
    background: var(--accent-color);
}

.status-upcoming {
    background: #6c757d;
}

/* شبكة المشاريع */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* عرض المشاريع الكبير */
.project-card-large {
    grid-column: span 2;
}

.project-card-large .project-image {
    height: 350px;
}

/* قسم تصنيفات المشاريع */
.project-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.project-category {
    background: var(--light-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.project-category:hover,
.project-category.active {
    background: linear-gradient(135deg, var(--primary-color), #2a4a8c);
    color: white;
}

/* إحصائيات المشروع */
.project-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.project-stat {
    text-align: center;
    padding: 15px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.project-stat:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: white;
}

.project-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.project-stat:hover .project-stat-number {
    color: white;
}

.project-stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* معرض صور المشروع */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* شريط تقدم المشروع */
.project-progress {
    margin: 20px 0;
}

.progress-bar {
    height: 8px;
    background: var(--light-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* أزرار خاصة بالمشاريع */
.btn-project {
    background: linear-gradient(135deg, var(--accent-color), #e76f51);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-project:hover {
    background: linear-gradient(135deg, #e76f51, var(--accent-color));
    color: white;
    transform: translateY(-2px);
}

/* نمط المخطط الزمني للمشاريع */
.project-timeline {
    position: relative;
    margin: 40px 0;
}

.project-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-content {
    background: var(--bg-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -30px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -30px;
}

/* تحسينات للاستجابة */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .project-card-large {
        grid-column: span 1;
    }
}

@media (max-width: 992px) {
    .project-timeline::before {
        right: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 0;
        margin-left: 80px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -50px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .project-meta {
        flex-wrap: wrap;
    }
    
    .project-meta-item {
        flex: 0 0 50%;
        margin-bottom: 10px;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .project-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .project-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .project-categories {
        justify-content: center;
    }
    
    .project-stats {
        grid-template-columns: 1fr;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -40px;
    }
}

/* تأثيرات متقدمة للمشاريع */
.project-card {
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 108, 0.9), rgba(244, 162, 97, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-overlay-content {
    transform: translateY(0);
}

.overlay-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: var(--transition);
    margin: 5px;
}

.overlay-btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* مؤشرات المشاريع */
.project-indicators {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.project-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: var(--transition);
}

.indicator-high {
    background: var(--secondary-color);
}

.indicator-medium {
    background: var(--accent-color);
}

.indicator-low {
    background: #6c757d;
}