/* أنماط زر الواتساب العائم */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 70px;
    height: 70px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(18, 140, 126, 0.7);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* إشعار المساعدة */
.help-notification {
    position: fixed;
    bottom: 100px;
    left: 20px;
    width: 350px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 999;
    padding: 25px;
    display: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
    text-align: right;
    direction: rtl;
}

.help-notification.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.notification-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.notification-header i {
    font-size: 28px;
    color: #25d366;
    margin-right: 10px;
}

.notification-header h3 {
    color: #128C7E;
    font-size: 1.4rem;
}

.notification-body {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.notification-buttons {
    display: flex;
    justify-content: space-between;
}

.btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-yes {
    background: linear-gradient(to left, #25d366, #128C7E);
    color: white;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-yes:hover {
    background: linear-gradient(to left, #128C7E, #25d366);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.btn-no {
    background: #f5f5f5;
    color: #777;
}

.btn-no:hover {
    background: #e0e0e0;
    transform: translateY(-3px);
}

.close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    color: #000000;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #ff4757;
}

/* للهواتف */
@media (max-width: 768px) {
    .floating-whatsapp {
        width: 60px;
        height: 60px;
        font-size: 32px;
        bottom: 15px;
        left: 15px;
    }

    .help-notification {
        width: calc(100% - 40px);
        left: 10px;
        bottom: 90px;
    }
}
a{color: #0d4e65;}
:root {
    --primary-color: hsl(195.73deg 100% 20.2%);
    --primary-light: hsl(195.73deg 100% 30%);
    --secondary-color: hsl(38.3deg 100% 50%);
    --secondary-light: hsl(38.3deg 100% 65%);
    --accent-color: hsl(152.1deg 100% 35%);
    --light-color: hsl(0deg 0% 98%);
    --dark-color: hsl(0deg 0% 15%);
    --gray-color: hsl(0deg 0% 85%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden;
}

/* التصميم العام */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: var(--primary-color);
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    padding-bottom: 15px;
    position: relative;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: width 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    background-color: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
}

.text-center {
    text-align: center;
}

/* شريط التنقل */
.navbar {
    
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 0 20px;
    background-color:#fff;
}

.navbar.scrolled {
    padding: 5px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

.logo img {
    height: 92px;
    margin-left: 15px;
    transition: transform 0.5s ease;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    list-style: none;
    transition: all 0.4s ease;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 0;
    display: block;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(https://plus.unsplash.com/premium_photo-1661344317095-aef15629a336?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex
;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: 80px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.6) 0%, rgba(0, 102, 102, 0.4) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* نبذة عن الاتحاد */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(5deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* البرامج التدريبية */
.programs {
    background-color: #f8f9fa;
    position: relative;
}

.programs::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    z-index: 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.program-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.program-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.program-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.program-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.program-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
}

.program-body {
    padding: 25px;
}

.program-body ul {
    list-style: none;
    margin-bottom: 20px;
}

.program-body ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-color);
    position: relative;
    padding-right: 25px;
}

.program-body ul li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-weight: bold;
}

.program-body ul li:last-child {
    border-bottom: none;
}

/* إعلانات الدورات */
.courses-ads {
    background-color: #f8f9fa;
    position: relative;
}

.courses-ads::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    z-index: 0;
}

.course-ad {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 400px;
}

.course-ad:hover {
    transform: translateY(-10px);
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.course-ad:hover .course-img {
    transform: scale(1.1);
}

.course-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    z-index: 10;
}

.course-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.course-info .btn {
    margin-top: 15px;
}

/* تخصيص Swiper */
.swiper {
    width: 100%;
    height: 450px;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.swiper-slide {
    padding: 10px;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: white;
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    background: var(--gray-color);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0.1)}
    to {transform: scale(1)}
}

.close-btn {
    position: absolute;
    top: 15px;
   left: 35px;
    color: #000000;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: 1.2rem;
}

/* تصميم متجاوب للـ Lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
    }

    .caption {
        width: 95%;
        font-size: 1rem;
    }

    .swiper {
        height: 400px;
    }

    .course-ad {
        height: 350px;
    }
}

/* مزايا العضوية */
.benefits {
    background-color: white;
    position: relative;
}

.benefits::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    z-index: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    color: white;
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* آراء العملاء */
.testimonials {
    background: linear-gradient(to right, var(--primary-light), var(--primary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1568992687947-868a62a9f521?ixlib=rb-4.0.3&auto=format&fit=crop&w=1480&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin-left: 20px;
}

.client-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.client-info span {
    color: var(--secondary-light);
    font-weight: 500;
}

.testimonial-body {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    padding-right: 30px;
}

a {
    text-decoration: blink;
}

.video-container {
    position: relative;
    aspect-ratio: 16/9; /* الحفاظ على نسبة الفيديو */
}

.video-poster {
    position: relative;
    cursor: pointer;
    height: 100%;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 50px;
    transition: transform 0.3s;
}

.play-button svg {
    width: 100%;
    height: 100%;
}

.video-poster:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.testimonial-body::before {
    content: "";
    font-size: 5rem;
    position: absolute;
    top: -30px;
    right: 0;
    color: rgba(255, 255, 255, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.rating {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 15px;
}

.testimonialsSwiper {
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

.testimonialsSwiper .swiper-pagination {
    bottom: 10px;
}

.testimonialsSwiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
}

.testimonialsSwiper .swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

.testimonialsSwiper .swiper-button-next,
.testimonialsSwiper .swiper-button-prev {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.testimonialsSwiper .swiper-button-next:hover,
.testimonialsSwiper .swiper-button-prev:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.testimonialsSwiper .swiper-button-next::after,
.testimonialsSwiper .swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-img {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .testimonial-body {
        padding-right: 15px;
    }

    .testimonial-body::before {
        font-size: 4rem;
        top: -20px;
    }
}

/* كيفية الانضمام */
.join {
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    color: white;
    position: relative;
    overflow: hidden;
}

.join::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.join-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.step-card {
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.step-card:hover {
    background-color: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
    background-color: var(--accent-color);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* شركاؤنا */
.partners {
    background-color: #f8f9fa;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    transition: transform 0.3s ease;
}

.partner-logo:hover img {
    transform: scale(1.1);
}

/* المدونة */
.blog {
    background-color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-content .category {
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-content h3 {
    color: var(--primary-color);
}

.blog-content p {
    margin-bottom: 20px;
}

/* الفوتر */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 0;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-right: 5px;
}

.footer-col .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-col .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.footer-col .social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* تصميم متجاوب */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* فيديو تعريفي */
.video-section {
    background-color: #f0f7ff;
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    z-index: 0;
}

.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.video-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.video-iframe {
    width: 100%;
    height: 315px;
    border: 0;
    display: block;
}

.video-text {
    padding: 20px;
}

.video-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.video-text p {
    margin-bottom: 25px;
}

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

    .video-container {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .video-iframe {
        height: 250px;
    }

    .video-text h3 {
        font-size: 1.5rem;
    }
}
/* ——— عام ——— */
.single-post-section {
  background-color: var(--section-bg);
  padding: 60px 0;
}

.single-post-content {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* ——— العنوان والميتا ——— */
.post-title {
  color: var(--primary);
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.post-meta {
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.post-meta .meta-item {
  display: inline-block;
  margin: 0 0.5rem;
}

.post-meta .meta-divider {
  color: var(--gray);
}

/* ——— الصورة الرئيسية ——— */
.post-thumbnail {
  text-align: center;
  margin-bottom: 30px;
}

.post-thumbnail img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ——— محتوى المقال ——— */
.post-body {
  color: var(--text-color);
  line-height: 1.8;
  font-size: 1.05rem;
}

.post-body h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  border-left: 4px solid var(--primary);
  padding-left: 0.75rem;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body ul,
.post-body ol {
  margin: 1rem 0 1rem 1.5rem;
}

.post-body li {
  margin-bottom: 0.5rem;
}

/* ——— الوسوم ——— */
.post-tags {
  margin-top: 40px;
}

.tags-title {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.tags-list a {
  display: inline-block;
  margin: 0 0.3rem 0.3rem 0;
  padding: 0.3rem 0.6rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
}

/* ——— أزرار المشاركة ——— */
.social-share {
  margin-top: 50px;
  text-align: center;
}

.share-title {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.share-buttons {
  display: inline-flex;
  gap: 15px;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform .2s, opacity .2s;
}

.social-button:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.social-button.facebook { background: #3b5998; }
.social-button.twitter  { background: #1da1f2; }
.social-button.whatsapp { background: #25d366; }

