/* --- إضافات الصفحة الرئيسية المحدثة --- */

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, var(--primary-color) 0%, #0a0a0f 100%);
    overflow: hidden;
    color: var(--white);
}

#networkCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    max-width: 800px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.hero-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    background: linear-gradient(to left, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #e0e0e0;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--bg-light); padding: 80px 0; }

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Vision Section */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.vision-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(54, 35, 93, 0.1);
    border-bottom-color: var(--primary-color);
}

.vision-card .icon-wrapper {
    font-size: 3rem;
    margin-bottom: 20px;
}

.vision-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    display: block;
    text-decoration: none;
    color: var(--text-dark);
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-card .card-content {
    padding: 40px 30px;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #555;
    margin-bottom: 20px;
}

.service-card .read-more {
    color: var(--secondary-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.service-card:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.service-card:hover h3, 
.service-card:hover p, 
.service-card:hover .read-more {
    color: var(--white);
}

.service-card:hover .read-more {
    gap: 10px;
}

/* Brands Section */
.brands-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.brand-item {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    width: 200px;
    text-align: center;
    transition: all 0.3s;
}

.brand-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(168, 133, 189, 0.2);
}

.brand-logo-placeholder {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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