:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --light: #f8f9fa;
    --dark: #212529;
    --accent: #f72585;
    --logo-color: #e63946;
    /* لون أحمر للشعار */
}

body {
    font-family: 'Tajawal', sans-serif;
}

/* إزالة القيم القديمة */
.navbar-brand img {
    height: auto;
    width: auto;
}

/* للشاشات الكبيرة */
.logo-desktop {
    height: 80px !important;
    width: auto;
    max-width: 150px;
}

/* للشاشات المتوسطة والصغيرة */
.logo-mobile {
    height: 60px !important;
    width: auto;
    max-width: 120px;
}

/* للشاشات الصغيرة جداً */
@media (max-width: 380px) {
    .logo-mobile {
        height: 50px !important;
        max-width: 100px;
    }
}

/* للشاشات الكبيرة جداً */
@media (min-width: 1200px) {
    .logo-desktop {
        height: 100px !important;
        max-width: 180px;
    }
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.9), rgba(63, 55, 201, 0.9));
}

.vision-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

.test-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.test-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.value-card {
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(67, 97, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--primary);
}

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

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

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.feature-item {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../img/hero.png');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.contact-section {
    background-color: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    margin-top: 20px;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-btn i {
    margin-left: 10px;
    font-size: 24px;
}

.contact-icon-large {
    font-size: 80px;
    color: #25D366;
    margin-bottom: 20px;
    opacity: 0.8;
}

.about {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') right center no-repeat;
    background-size: cover;
}

/* تصميم الشعار باللون الأحمر */
.navbar-brand {
    color: var(--logo-color) !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-icon {
    color: var(--logo-color) !important;
}

.footer-logo {
    color: var(--logo-color);
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: inline-block;
}

/* تنسيق الشريط العلوي */
.navbar-nav .nav-link {
    margin-left: 10px;
    margin-right: 10px;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

/* تمرير سلس للأقسام */
html {
    scroll-behavior: smooth;
}