:root {
    --primary-color: #004a99; /* أزرق صناعي فاخر */
    --secondary-color: #2ecc71; /* أخضر الاستدامة */
    --accent-color: #f1c40f;
    --dark-color: #1a1a1a;
    --light-color: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.line {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--dark-color);
    margin: 0 15px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

#lang-switch {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1565106430482-8f6e74349ca1?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    margin-right: 10px;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* About Section */
.about {
    padding: 100px 20px;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.about-img {
    flex: 1;
    min-width: 300px;
}

.about-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 20px 20px 0 var(--secondary-color);
}

/* Vision/Mission Cards */
.vision-mission {
    background: var(--light-color);
    padding: 80px 0;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-10px);
}

.card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.values-list {
    list-style: none;
    margin-top: 15px;
}

/* Services */
.services {
    padding: 100px 0;
}

.service-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 250px;
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-item h4 {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 74, 153, 0.8);
    color: white;
    padding: 15px;
    text-align: center;
}

.service-item:hover img {
    transform: scale(1.1);
}

/* Contact */
.contact {
    padding: 100px 0;
    background: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: #eee;
    padding: 15px;
    border-radius: 50%;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 2000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* يمكن تحسينها بـ JS menu */
    }
    
    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-img img {
        box-shadow: 10px 10px 0 var(--secondary-color);
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RTL Support Logic */
[dir="ltr"] .btn-primary { margin-right: 0; margin-left: 10px; }
[dir="ltr"] .whatsapp-float { right: auto; left: 30px; }