/* تنسيقات الصفحة الرئيسية */

/* قسم الهيرو مع خلفية صورة */


/* تحسين قسم آخر النقاشات في المجتمع */
.community-preview-section {
    background-color: #f9f9f9;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.community-preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%23060033' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.8;
}

/* تحسين بطاقة النقاشات */
.discussions-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    border: none;
}

.discussions-card .card-body {
    padding: 0;
}

/* تحسين عناصر النقاشات */
.community-post {
    padding: 20px;
    border-right: 4px solid transparent;
    border-left: none !important;
    border-bottom: 1px solid #f0f2f5;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.community-post:last-child {
    border-bottom: none;
}

.community-post:hover {
    background-color: var(--secondary-color);
    border-right-color: var(--primary-color);
    transform: translateX(-5px);
    color: #00d0ff!important;
}

.community-post:hover h5.mb-1,
.community-post:hover p.mb-1,
.community-post:hover small {
    color: #00d0ff !important;
}

.community-post:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
    pointer-events: none;
}

.community-post .d-flex {
    position: relative;
    z-index: 2;
}

/* تحسين زر زيارة المجتمع */
.view-all-btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 30px;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(3, 167, 211, 0.3);
}

/* تحسين عنوان النقاش */
.community-post h5.mb-1 {
    font-weight: 600;
    transition: all 0.3s ease;
}

/* تحسين وقت النشر */
.community-post small {
    background-color: rgba(3, 167, 211, 0.1);
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.community-post:hover small {
    background-color: rgba(255, 255, 255, 0.2);
}

/* تحسين معلومات الكاتب والمشاهدات */
.post-meta {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.post-meta i {
    margin-left: 5px;
    margin-right: 2px;
    font-size: 0.8rem;
}

.post-meta span {
    margin-left: 10px;
    font-size: 0.8rem;
}

.hero-section {
    background-image: linear-gradient(135deg, rgba(6, 0, 51, 0.9) 0%, rgba(6, 0, 51, 0.75) 100%), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 150px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 5px solid rgba(255, 255, 255, 0.1);
}

/* تأثيرات حركية للنص في قسم الهيرو */
.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    /* background: rgba(255, 255, 255, 0.888); */
    backdrop-filter: blur(2px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* background: linear-gradient(to right, #ffffff, #e0e0e0); */
    -webkit-background-clip: text;
    background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    display: inline-block;
    color: #fff;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* أزرار الهيرو مع تأثيرات */
.hero-section .btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-section .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(3, 167, 211, 0.2);
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.hero-section .btn:hover:before {
    width: 100%;
}

.hero-section .btn-light {
    background: #ffffff;
    color: #060033;
}

.hero-section .btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(3, 167, 211, 0.3);
    color: #03a7d3;
}

.hero-section .btn-outline-light {
    border: 2px solid #ffffff;
}

.hero-section .btn-outline-light:hover {
    background-color: rgba(3, 167, 211, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(3, 167, 211, 0.3);
    border-color: #03a7d3;
}

/* تأثيرات الخلفية المتحركة */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

/* شكل زخرفي لقسم الهيرو */
.hero-section {
    position: relative;
}

.hero-section .shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-section .shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    transform: rotateY(180deg);
}

.hero-section .shape-divider .shape-fill {
    fill: #FFFFFF;
}

/* إضافة تأثير التحرك للشكل */
.hero-section .shape-divider svg path {
    animation: wave 15s linear infinite;
    transform-origin: center bottom;
}

@keyframes wave {
    0% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-25px) translateY(5px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

/* تنسيقات قسم من نحن */
.about-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
}

.about-bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23060033' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.8;
}

.section-subtitle-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    position: relative;
    display: inline-block;
    max-width: 600px;
}

.section-subtitle:before,
.section-subtitle:after {
    content: '';
    position: absolute;
    height: 2px;
    background-color: #03a7d3;
    top: 50%;
    width: 30px;
}

.section-subtitle:before {
    right: -40px;
}

.section-subtitle:after {
    left: -40px;
}

.about-main-row {
    position: relative;
    z-index: 2;
}

/* تنسيقات الصورة */
.about-image-wrapper {
    position: relative;
    padding: 20px;
    margin-bottom: 30px;
}

.about-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image {
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
    transform: scale(1.01);
    border-radius: 10px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 0, 51, 0.3) 0%, rgba(3, 167, 211, 0.3) 100%);
    opacity: 0.6;
    transition: all 0.5s ease;
}

.about-image-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #03a7d3;
    border-radius: 10px;
    transform: translate(15px, 15px);
    z-index: -1;
    transition: all 0.5s ease;
}

.about-image-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(#060033 2px, transparent 2px);
    background-size: 15px 15px;
    bottom: -20px;
    right: -20px;
    z-index: -1;
    opacity: 0.2;
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.about-image-badge {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: #03a7d3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -20px;
    right: -20px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(3, 167, 211, 0.3);
    animation: pulse 3s infinite;
}

.badge-inner {
    text-align: center;
}

.badge-year {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* تأثيرات التحويم */
.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.about-image-wrapper:hover .image-overlay {
    opacity: 0.4;
}

.about-image-wrapper:hover .about-image-frame {
    transform: translate(10px, 10px);
}

/* تنسيقات المحتوى */
.about-content {
    padding: 20px;
}

.about-features {
    margin-bottom: 40px;
}

.about-feature-item {
    display: flex;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-right: 3px solid #03a7d3;
}

.about-feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, #060033 0%, #03a7d3 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(3, 167, 211, 0.2);
}

.about-feature-item:hover .about-feature-icon {
    transform: rotateY(180deg);
}

.about-feature-text h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #060033;
    font-weight: 700;
}

.about-feature-text p {
    margin-bottom: 0;
    color: #666;
    line-height: 1.6;
}

/* تنسيقات الإحصائيات */
.about-stats {
    margin: 40px 0;
    background: linear-gradient(135deg, #060033 0%, #03a7d3 100%);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(3, 167, 211, 0.2);
}

/* تنسيقات الأزرار */
.view-all-btn {
    border: 2px solid #060033;
    color: #060033;
    border-radius: 30px;
    padding: 8px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 20px;
}

.view-all-btn:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, #060033 0%, #03a7d3 100%);
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.view-all-btn:hover {
    color: #ffffff;
    border-color: #03a7d3;
    box-shadow: 0 5px 15px rgba(3, 167, 211, 0.3);
}

.view-all-btn:hover:before {
    width: 100%;
}

.view-all-btn i {
    transition: all 0.3s ease;
    margin-right: 5px;
}

.view-all-btn:hover i {
    transform: translateX(-5px);
}

[dir="rtl"] .view-all-btn i {
    margin-right: 0;
    margin-left: 5px;
}

[dir="rtl"] .view-all-btn:hover i {
    transform: translateX(5px);
}

.about-stat-item {
    text-align: center;
    color: white;
    padding: 15px 5px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(to right, #ffffff, #03a7d3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.about-feature-item {
    display: flex;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 10px;
}

.about-feature-item:hover {
    background-color: rgba(3, 167, 211, 0.05);
    transform: translateX(-10px);
    border-right: 3px solid #03a7d3;
}

[dir="rtl"] .about-feature-item:hover {
    transform: translateX(10px);
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

[dir="rtl"] .about-feature-icon {
    margin-left: 0;
    margin-right: 15px;
}

.about-feature-item:hover .about-feature-icon {
    transform: rotateY(180deg);
    background-color: #03a7d3;
}

.about-feature-text h5 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.about-feature-text p {
    margin-bottom: 0;
    color: #666;
}

/* تنسيقات قسم المميزات */
.features-section {
    padding: 80px 0;
}

.feature-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    background-color: #fff; /* إضافة لون خلفية أبيض افتراضي */
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--secondary-color); /* تغيير لون الخلفية إلى اللون الثانوي عند التحويم */
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(6, 0, 51, 0.1);
    color: #060033;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: #fff; /* تغيير خلفية الأيقونة إلى أبيض */
    color: var(--secondary-color); /* تغيير لون الأيقونة إلى اللون الثانوي */
    transform: rotateY(180deg);
}

.feature-card:hover .card-title,
.feature-card:hover .card-text {
    color: #fff; /* تغيير لون النص إلى أبيض عند التحويم */
}

/* تنسيقات أقسام المحتوى */
.section-title {
    position: relative;
    margin-bottom: 50px;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: #060033;
}

[dir="rtl"] .section-title:after {
    left: auto;
    right: 0;
}

/* بطاقات الدورات */
.course-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(3, 167, 211, 0.2);
    border-top: 3px solid #03a7d3;
}

.course-card img {
    height: 200px;
    object-fit: cover;
}

/* قسم خريطة الطريق */
.roadmap-step {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

[dir="rtl"] .roadmap-step {
    padding-left: 0;
    padding-right: 50px;
}


.step-icon {
    width: 40px;
    height: 40px;
    background-color: #03a7d3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
}

[dir="rtl"] .step-icon {
    left: auto;
    right: 0;
}

/* قسم المجتمع */
.community-post {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.community-post:hover {
    border-left-color: #03a7d3;
    background-color: rgba(3, 167, 211, 0.05);
}

[dir="rtl"] .community-post {
    border-left: none;
    border-right: 3px solid transparent;
}

[dir="rtl"] .community-post:hover {
    border-left-color: transparent;
    border-right-color: #1a73e8;
}

/* قسم الدعوة للعمل */
.cta-section {
    background: linear-gradient(135deg, #1a73e8 0%, #03a7d3 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.1;
}

/* تأثيرات حركية */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.fade-in-right {
    animation: fadeInRight 1s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 1s ease-out;
}

.float {
    animation: float 4s ease-in-out infinite;
}

.pulse {
    animation: pulse 3s ease-in-out infinite;
}

.rotate {
    animation: rotate 10s linear infinite;
}

.shimmer {
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

/* تنسيقات للعناصر المتحركة عند التمرير */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.animate-on-scroll.from-bottom {
    transform: translateY(50px);
}

.animate-on-scroll.from-bottom.animated {
    transform: translateY(0);
}

.animate-on-scroll.from-right {
    transform: translateX(50px);
}

.animate-on-scroll.from-right.animated {
    transform: translateX(0);
}

.animate-on-scroll.from-left {
    transform: translateX(-50px);
}

.animate-on-scroll.from-left.animated {
    transform: translateX(0);
}

.animate-on-scroll.zoom-in {
    transform: scale(0.8);
}

.animate-on-scroll.zoom-in.animated {
    transform: scale(1);
}

/* تنسيقات للميزات في قسم الهيرو */
.hero-features {
    margin-bottom: 30px;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-feature-item:hover {
    background-color: rgba(3, 167, 211, 0.2);
    transform: translateY(-5px);
}

.hero-feature-item i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #03a7d3;
}

.hero-feature-item span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* تنسيقات لتأثير الكتابة المتحركة */
.typing-effect {
    display: inline-block;
    position: relative;
    color: #03a7d3;
    font-weight: 700;
}

.typing-effect::after {
    content: '|';
    position: absolute;
    right: -5px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* تنسيقات للعدادات */
.counter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #060033 0%, #03a7d3 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.1;
}

.counter-box {
    padding: 30px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.counter-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #03a7d3;
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ffffff, #03a7d3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-title {
    font-size: 1.2rem;
    font-weight: 600;
}

/* تنسيقات للصور المتحركة */
.parallax-image {
    transition: transform 0.3s ease-out;
    overflow: hidden;
}

.hero-image {
    transition: transform 0.2s ease-out;
}

/* تأخير التأثيرات */
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* تنسيقات استجابية */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
}

/* قسم فريق العمل */
.team-section {
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('../images/dots-bg.png');
    opacity: 0.05;
    z-index: 0;
}

.team-container {
    position: relative;
    z-index: 1;
}

.team-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    background-color: #fff;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.team-img-container {
    position: relative;
    overflow: hidden;
}

.team-img {
    transition: transform 0.8s ease;
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(3, 167, 211, 0.85) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    background: #fff;
    color: #03a7d3;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: #03a7d3;
    color: #fff;
    transform: translateY(-3px);
}

.team-content {
    padding: 25px;
    text-align: center;
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.team-position {
    color: #03a7d3;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.team-info {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.team-shape {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(3, 167, 211, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.team-shape-2 {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background-color: rgba(3, 167, 211, 0.1);
    border-radius: 50%;
    z-index: -1;
}
