/* الهيدر */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: var(--bg-primary);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.navbar-brand i {
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    position: relative;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
    transform: translateX(50%);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* زر القائمة المتنقلة */
.navbar-toggler {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    position: relative;
    display: none;
}

.navbar-toggler-icon {
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    display: block;
    margin: 6px auto;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    bottom: -6px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* تحسينات التجاوب */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--bg-primary);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: var(--border-radius-lg);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }
    
    .navbar-toggler {
        display: block;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        text-align: center;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-item {
        opacity: 0;
        transform: translateY(-10px);
        animation: fadeInDown 0.3s ease forwards;
    }
    
    .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .nav-item:nth-child(2) { animation-delay: 0.2s; }
    .nav-item:nth-child(3) { animation-delay: 0.3s; }
    .nav-item:nth-child(4) { animation-delay: 0.4s; }
    .nav-item:nth-child(5) { animation-delay: 0.5s; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تحسينات إضافية للشاشات الصغيرة */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand i {
        font-size: 1.75rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
}

/* تنسيقات عامة */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* تنسيقات النصوص */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* تنسيقات الأقسام */
section {
    position: relative;
    padding: var(--spacing-xl) 0;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100%;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* تنسيقات البطاقات */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* تنسيقات الأزرار */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background: var(--gradient-1);
    border: none;
    color: var(--dark-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* تنسيقات الصور */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* تأثيرات حركية */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-in {
    animation: slideIn 0.6s ease forwards;
}

/* تنسيقات التجاوب */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: var(--spacing-lg) 0;
    }
}

/* تنسيقات مخصصة */
.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient {
    background: var(--gradient-1);
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
                var(--gradient-1) border-box;
}

/* تحسينات الوصول */
:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

::selection {
    background: var(--accent-color);
    color: var(--dark-color);
}

/* تنسيقات السكرول */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: var(--border-radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.loader svg {
    width: 50px;
    height: 50px;
    animation: rotate 2s linear infinite;
}

.loader circle {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 4;
    stroke-dasharray: 180;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% { stroke-dashoffset: 180; }
    50% { stroke-dashoffset: 45; }
    100% { stroke-dashoffset: 180; }
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
    height: 100vh;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
}

.hero-content {
    background: rgba(0, 0, 0, 0.75);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: slideInRight 0.8s ease 0.2s both;
}

.hero-title {
    animation: slideInRight 0.8s ease 0.4s both;
}

.hero-text {
    color: var(--text-secondary);
    animation: slideInRight 0.8s ease 0.6s both;
}

.hero-buttons {
    animation: slideInRight 0.8s ease 0.8s both;
}

.hero-stats {
    animation: slideInRight 0.8s ease 1s both;
}

.hero-shapes .shape-1,
.hero-shapes .shape-2,
.hero-shapes .shape-3 {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
}

.hero-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: -150px;
    right: -150px;
    animation: float 6s ease-in-out infinite;
}

.hero-shapes .shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-color-2);
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-shapes .shape-3 {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    top: 50%;
    left: 50%;
    animation: float 7s ease-in-out infinite;
}

.stat-item {
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

/* تحسين التجاوب */
@media (max-width: 991.98px) {
    .hero-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-shapes {
        display: none;
    }
}

/* Section Styles */
.section-header {
    margin-bottom: 4rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-1);
}

/* Section Transitions */
section {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease-out;
}

section:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

section:hover {
    transform: translateY(-5px);
}

/* Section Spacing */
.py-5 {
    padding: 5rem 0;
}

/* Section Animations */
.section-header h2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.section-header p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* الأزرار الثابتة */
.fixed-button {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: var(--shadow-md);
    z-index: 1040;
    right: 30px;
}

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

.fixed-button i {
    transition: transform 0.3s ease;
}

/* زر الرجوع للأعلى */
.back-to-top {
    bottom: 100px;
    background: var(--gradient-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* زر المساعد */
.assistant-trigger {
    bottom: 30px;
    background: var(--gradient-1);
    z-index: 1050;
}

.assistant-trigger:hover i {
    transform: rotate(10deg);
}

/* تحسينات التجاوب */
@media (max-width: 768px) {
    .fixed-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        right: 20px;
    }
    
    .back-to-top {
        bottom: 90px;
    }
    
    .assistant-trigger {
        bottom: 30px;
    }
}

@media (max-width: 576px) {
    .fixed-button {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .back-to-top {
        bottom: 85px;
    }
    
    .assistant-trigger {
        bottom: 30px;
    }
}

/* Floating Button */
.floating-button {
    position: fixed;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.assistant-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.assistant-trigger:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.assistant-trigger i {
    font-size: 1.5rem;
    color: var(--dark-color);
}

/* المساعد الذكي */
.smart-assistant {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    display: none;
    transition: transform 0.3s ease;
}

.smart-assistant.show {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

.assistant-widget {
    width: 380px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.assistant-header {
    background: var(--gradient-1);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: move;
    user-select: none;
}

.assistant-header .bi-robot {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.assistant-header strong {
    color: var(--dark-color);
    font-size: 1.1rem;
    flex: 1;
}

.assistant-header .btn-close {
    background: transparent;
    border: none;
    color: var(--dark-color);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.assistant-header .btn-close:hover {
    opacity: 1;
}

.assistant-body {
    padding: var(--spacing-md);
}

.assistant-messages {
    height: 350px;
    overflow-y: auto;
    padding: var(--spacing-md);
    background: var(--bg-primary);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
    direction: rtl;
}

.message-bubble {
    max-width: 85%;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    animation: messageSlideIn 0.3s ease forwards;
}

.message-bubble.user {
    margin-left: auto;
    background: var(--gradient-1);
    color: var(--dark-color);
}

.message-bubble.assistant {
    margin-right: auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.message-content {
    line-height: 1.5;
    margin-bottom: var(--spacing-xs);
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    text-align: left;
    direction: ltr;
}

.assistant-input-group {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-sm);
    direction: rtl;
}

.assistant-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    direction: rtl;
    font-size: 1rem;
}

.assistant-input:focus {
    outline: none;
}

.assistant-input::placeholder {
    color: var(--text-secondary);
}

.assistant-send-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.assistant-send-btn:hover {
    transform: scale(1.1);
}

.assistant-send-btn i {
    color: var(--dark-color);
    font-size: 1.2rem;
}

/* تأثيرات حركية */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes messageSlideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* تحسينات التجاوب */
@media (max-width: 576px) {
    .assistant-widget {
        width: calc(100vw - 40px);
        margin: 0 20px;
    }
    
    .assistant-messages {
        height: 300px;
    }
    
    .assistant-trigger {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .assistant-trigger i {
        font-size: 1.2rem;
    }
}

/* تنسيق السكرول */
.assistant-messages::-webkit-scrollbar {
    width: 5px;
}

.assistant-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.assistant-messages::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
    position: relative;
    padding-top: 6rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-1);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

.icon-box {
    width: 35px;
    height: 35px;
    background: var(--card-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    color: var(--accent-color);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.footer-newsletter .form-control {
    padding: 0.75rem 1rem;
    background: var(--card-bg) !important;
}

.footer-newsletter .form-control:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: var(--section-bg);
}

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

.testimonial-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    border: 1px solid var(--border-color);
}

.testimonial-quote {
    font-size: 4rem;
    position: absolute;
    top: -1rem;
    right: 2rem;
    opacity: 0.1;
    color: var(--accent-color);
}

.testimonial-content {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-info h5 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* قسم الإحصائيات */
.stats {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-item i {
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* تحسينات التجاوب للعدادات */
@media (max-width: 768px) {
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-item i {
        font-size: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .stat-item {
        padding: 1rem;
    }
    
    .stat-item i {
        font-size: 1.75rem;
    }
    
    .stat-item h3 {
        font-size: 1.75rem;
    }
}

/* تنسيقات قسم الهيرو */
.hero-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image .image-wrapper {
    position: relative;
    padding: 2rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.hero-image .image-wrapper:hover {
    transform: translateY(-10px);
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-shapes .shape-1,
.hero-shapes .shape-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-shapes .shape-1 {
    background: var(--gradient-1);
    top: -150px;
    right: -150px;
}

.hero-shapes .shape-2 {
    background: var(--gradient-2);
    bottom: -150px;
    left: -150px;
}

/* تنسيقات قسم من نحن */
.about-section {
    position: relative;
    padding: 100px 0;
    background: var(--bg-primary);
}

.about-image {
    position: relative;
    margin-bottom: 3rem;
}

.about-image .image-wrapper {
    position: relative;
    padding: 2rem;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--gradient-1);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    color: var(--text-light);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.experience-badge .text {
    font-size: 1rem;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-item i {
    font-size: 1.5rem;
    margin-left: 1rem;
    color: var(--primary);
}

/* تنسيقات قسم الإنجازات */
.achievements-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    overflow: hidden;
}

.achievements-image {
    position: relative;
}

.achievements-image .image-wrapper {
    position: relative;
    padding: 2rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.achievements-image .image-wrapper:hover {
    transform: translateY(-10px);
}

.achievements-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.achievement-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1.5rem;
}

.achievement-icon i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.achievement-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.achievement-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.achievements-shapes .shape-1,
.achievements-shapes .shape-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    opacity: 0.1;
}

.achievements-shapes .shape-1 {
    background: var(--gradient-2);
    top: -150px;
    left: -150px;
}

.achievements-shapes .shape-2 {
    background: var(--gradient-1);
    bottom: -150px;
    right: -150px;
}

/* تحسينات التجاوب */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .about-image {
        margin-bottom: 3rem;
    }
    
    .achievements-image {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section,
    .about-section,
    .achievements-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .experience-badge {
        padding: 1rem;
    }
    
    .experience-badge .number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .achievement-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .achievement-icon {
        margin: 0 0 1rem 0;
    }
}
