/* reset وتحديث عام */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* الشريط العلوي */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    height: 60px;
}

.navbar nav ul {
    display: flex;
    list-style: none;
}

.navbar nav ul li {
    margin-left: 20px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar nav ul li a:hover {
    color: #00c8b3;
}

.cta-button {
    background: #00c8b3;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #00a896;
}

/* زر تبديل اللغة */
.language-switcher {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.lang-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
}

.lang-btn.active {
    background: #00c8b3;
    color: white;
    border-color: #00c8b3;
}

/* منطقة البطل */
.hero {
    background: linear-gradient(135deg, #00c8b3 0%, #00a896 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    object-fit: cover;
    width: 100%;
    max-height: 500px;
}

/* المشكلة التي نحلها */
.problem {
    padding: 80px 0;
    background: white;
}

.problem h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

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

.card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

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

.card h3 {
    margin-bottom: 15px;
    color: #00c8b3;
}

/* حلنا الفريد */
.solution {
    padding: 80px 0;
    background: #f0f7f4;
}

.solution h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.solution-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.solution-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    object-fit: contain;
    background: white;
    padding: 10px;
}

.solution-text .step {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.solution-text .step h3 {
    color: #00c8b3;
    margin-bottom: 15px;
}

/* القيمة التي نقدمها */
.value {
    padding: 80px 0;
    background: white;
}

.value h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

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

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

.value-cards .card h3 {
    color: #00c8b3;
}

/* كيف نبدأ معك */
.how {
    padding: 80px 0;
    background: #f0f7f4;
}

.how h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    background: #00c8b3;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.step-item h3 {
    color: #00c8b3;
}

/* من نحن */
.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.team {
    display: flex;
    align-items: center;
    gap: 40px;
}

.team-photo {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-info p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* تواصل معنا */
.contact {
    padding: 80px 0;
    background: #f0f7f4;
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.contact-content {
    display: flex;
    gap: 40px;
}

form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input,
form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    padding: 15px;
    border: none;
    background: #00c8b3;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s;
}

form button:hover {
    background: #00a896;
}

.contact-info {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    color: #00c8b3;
    text-decoration: none;
    font-weight: 600;
}

.social-links a:hover {
    text-decoration: underline;
}

/* التذييل */
.footer {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* زر واتساب عائم */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* دعم اللغة الإنجليزية */
body.en {
    direction: ltr;
    text-align: left;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.en .container {
    text-align: left;
}

body.en .hero-content,
body.en .solution-text,
body.en .team-info,
body.en .contact-info {
    text-align: left;
}

body.en .navbar nav ul {
    margin-right: 0;
    margin-left: auto;
}

body.en .language-switcher {
    margin-left: 20px;
    margin-right: 0;
}

/* التوافق مع الجوال */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    .solution-content {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }

    .steps {
        gap: 20px;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    /* تحسين الصور على الجوال */
    .hero-image img,
    .solution-image img {
        max-height: 350px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
}