.news-date span {
    background: none !important;
    color: var(--text-muted) !important;
    padding: 0 !important;
    margin: 0 0.25rem;
    font-weight: normal;
}

.side-news .news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.side-featured {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
}

.side-news {
    height: 100%;
}

.side-news .news-image {
    width: 140px;
    height: 100%;
}

.side-news .news-image img {
    object-fit: cover;
}

/*========================= MAIN CONTENT =========================*/
.main-content {
    min-height: 60vh;
}

/*========================= HERO SECTION =========================*/
.hero-section {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(45, 55, 72, 0.9) 100%),
        url('/assets/images/pg1.jpg') center/cover;
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M1200 120L0 16.48 0 0 1200 0 1200 120z" fill="%23ffffff" fill-opacity="0.05"/></svg>');
    background-size: cover;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-title .highlight {
    color: #fbbf24;
}

.hero-description {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/*========================= SECTIONS =========================*/
section {
    padding: var(--section-padding);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    gap: 0.75rem;
    color: var(--secondary-dark);
}

/*========================= أخبار الجمعية =========================*/
.association-news {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.main-featured {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-featured:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.main-featured .news-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.main-featured .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-featured:hover .news-image img {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.main-featured .news-content {
    padding: 2rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--text-dark);

}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 0.75rem;
    color: var(--secondary-dark);
}

/*========================= Side Featured =========================*/
.side-featured {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-news {
    display: flex;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.side-news:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.side-news .news-image {
    width: 120px;
    flex-shrink: 0;
}

.side-news .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-news .news-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.side-news .news-title {
    font-size: var(--font-size-base);
    margin-bottom: 0.5rem;
}

/*========================= الجهات الخدمية =========================*/
.services-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--secondary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
}

.service-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.service-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--secondary-dark);
}

/*========================= شركاء النجاح =========================*/
.partners-section {
    padding: var(--section-padding);
    background: var(--bg-light);
    overflow: hidden;
    position: relative;
}

.partners-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

/* الحاوية الرئيسية للحركة */
.partners-scroll {
    display: flex;
    width: max-content;
    animation: continuousScroll 40s linear infinite;
}

.partners-scroll:hover {
    animation-play-state: paused;
}

.partner-group {
    display: flex;
    gap: 3rem;
    padding: 0 2rem;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    min-width: 200px;
    opacity: 0.7;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.9);
    position: relative;
    flex-shrink: 0;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.2);
    z-index: 10;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    object-fit: contain;
}

.partner-logo:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* تأثير الظل عند التكبير */
.partner-logo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 10px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-logo:hover::after {
    opacity: 1;
}

/* حركة التمرير المستمرة من اليمين إلى الشمال */
@keyframes continuousScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(180px * 6 + 3rem * 6));
    }
}

/* تدرج للتلاشي على الجانبين */
.partners-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.partners-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/*========================= RESPONSIVE DESIGN =========================*/
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .side-news {
        flex-direction: row;
    }

    .side-news .news-image {
        width: 150px;
    }

    .partner-group {
        gap: 2rem;
    }

    .partner-logo {
        height: 200px;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-section {
        padding: 6rem 0 4rem;
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .hero-description {
        font-size: var(--font-size-base);
    }

    .partner-group {
        gap: 1.5rem;
    }

    .partner-logo {
        height: 200px;
        min-width: 200px;
    }

    .partners-wrapper::before,
    .partners-wrapper::after {
        width: 100px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: var(--font-size-xl);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .side-news {
        flex-direction: column;
    }

    .side-news .news-image {
        width: 100%;
        height: 150px;
    }

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

    .partner-group {
        gap: 1rem;
    }

    .partner-logo {
        height: 200px;
        min-width: 200px;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .partners-wrapper::before,
    .partners-wrapper::after {
        width: 80px;
    }
}

/*========================= ANIMATIONS =========================*/
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -10px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}