:root {
    --primary-color: #1a1a1a;
    --accent-color: #C5A059;
    --bg-color: #f9f9f9;
    --text-color: #333;
    --light-text: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    background-color: var(--bg-color);
    font-family: 'Roboto', 'Tajawal', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

html[dir="rtl"] body {
    font-family: 'Tajawal', 'Roboto', Tahoma, sans-serif;
}

.container {
    height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 4px solid var(--accent-color);
    flex-shrink: 0;
}

.logo-area { display: flex; align-items: center; gap: 15px; }
.logo-area img { height: 60px; width: auto; border-radius: 5px; }
.company-name h1 { font-size: 1.3rem; color: var(--accent-color); margin: 0; }
.company-name p { font-size: 0.85rem; margin: 0; opacity: 0.9; }

.lang-toggle {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 8px 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}
.lang-toggle:hover { background: #fff; }

nav {
    background: #222;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}
nav button {
    background: transparent;
    color: #ccc;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
    flex: 1;
    max-width: 200px;
}
nav button:hover, nav button.active {
    color: var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
}

.content-section {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.content-section.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero { text-align: center; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.hero img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 8px; margin-bottom: 15px; }
.hero h2 { font-size: 1.6rem; color: var(--primary-color); margin-bottom: 10px; }
.hero p { font-size: 0.95rem; color: #555; max-width: 800px; margin: 0 auto 10px auto; text-align: justify; }
.flags-row { font-size: 1.4rem; margin: 15px 0; letter-spacing: 3px; }

.about-wrapper { display: flex; gap: 30px; align-items: flex-start; }
.manager-img { flex: 0 0 200px; text-align: center; flex-shrink: 0; }
.manager-img img { width: 100%; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); border: 3px solid var(--accent-color); }
.manager-img .caption { margin-top: 8px; font-weight: bold; color: var(--primary-color); font-size: 0.9rem; }
.about-text { flex: 1; }
.about-text h3 { color: var(--accent-color); margin: 15px 0 5px 0; font-size: 1.2rem; }
.about-text p { margin-bottom: 8px; text-align: justify; font-size: 0.9rem; line-height: 1.5; }
.about-list { list-style: none; padding-left: 0; margin-top: 5px; }
.about-list li { position: relative; padding-left: 25px; margin-bottom: 8px; font-size: 0.9rem; }
.about-list li::before { content: '✓'; color: var(--accent-color); font-weight: bold; position: absolute; left: 0; }
html[dir="rtl"] .about-list { padding-right: 0; }
html[dir="rtl"] .about-list li { padding-right: 25px; padding-left: 0; }
html[dir="rtl"] .about-list li::before { right: 0; left: auto; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service-card { background: white; border-radius: 8px; border: 1px solid #ddd; text-align: center; overflow: hidden; transition: 0.3s; }
.service-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.15); border-color: var(--accent-color); }
.service-card img { width: 100%; height: 160px; object-fit: cover; }
.service-card h3 { color: var(--primary-color); margin: 10px 0 5px 0; padding: 0 15px; font-size: 1.1rem; }
.service-card p { padding: 0 15px 15px 15px; font-size: 0.85rem; color: #555; }

.contact-info { display: grid; grid-template-columns: 1fr; gap: 15px; max-width: 600px; margin: 0 auto; }
.contact-item { display: flex; align-items: center; gap: 15px; padding: 15px; background: #f9f9f9; border-radius: 5px; border-left: 4px solid var(--accent-color); }
html[dir="rtl"] .contact-item { border-left: 1px solid #ddd; border-right: 4px solid var(--accent-color); }
.contact-icon { font-size: 1.5rem; }
.contact-item a { color: var(--primary-color); text-decoration: none; font-weight: bold; font-size: 0.9rem; word-break: break-word; }
.contact-item a:hover { color: var(--accent-color); }

footer {
    background: var(--primary-color);
    color: #888;
    text-align: center;
    padding: 15px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ===== Mobile Optimization ===== */
@media (max-width: 768px) {
    header { padding: 8px 15px; }
    .logo-area { gap: 10px; }
    .logo-area img { height: 45px; }
    .company-name h1 { font-size: 1rem; }
    .company-name p