@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary: #f7941d;
    --secondary: #241e20;
    --light: #ffffff;
    --bg: #f9f9f9;
    --gray: #e0e0e0;
    --text-light: #555555;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: var(--light); color: var(--secondary); overflow-x: hidden; }

/* Typography & Links */
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
h1, h2, h3 { color: var(--secondary); margin-bottom: 15px; }
p { color: var(--text-light); line-height: 1.6; margin-bottom: 15px; }

/* Buttons */
.btn {
    display: inline-block; padding: 12px 30px; background: var(--primary);
    color: var(--light) !important; font-weight: 600; border-radius: 5px;
    transition: all 0.3s ease; border: 2px solid var(--primary); cursor: pointer;
}
.btn:hover { background: transparent; color: var(--primary) !important; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(247, 148, 29, 0.2); }
.btn-outline { background: transparent; color: var(--primary) !important; }
.btn-outline:hover { background: var(--primary); color: var(--light) !important; }

/* Navigation */
header {
    background: var(--light); position: fixed; width: 100%; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between;
    align-items: center; padding: 20px;
}
.logo { font-size: 24px; font-weight: 700; color: var(--primary); }
.logo span { color: var(--secondary); }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--primary); }

/* Language Switcher */
.lang-switch {
    background: var(--secondary); color: var(--primary); border: none;
    padding: 5px 10px; border-radius: 4px; cursor: pointer; font-weight: 600;
}

/* Mobile Menu */
.hamburger { display: none; font-size: 24px; cursor: pointer; color: var(--secondary); }
.mobile-menu-drawer {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
    background: var(--secondary); color: var(--light); z-index: 2000;
    transition: 0.4s ease-in-out; padding: 30px; display: flex; flex-direction: column;
}
.mobile-menu-drawer.open { right: 0; }
.close-btn { font-size: 30px; align-self: flex-end; cursor: pointer; color: var(--primary); margin-bottom: 30px; }
.mobile-menu-drawer a {
    color: var(--light); font-size: 18px; margin-bottom: 20px; font-weight: 600;
    display: block; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px;
}
.mobile-menu-drawer a:hover { color: var(--primary); padding-left: 10px; }

/* RTL Adjustments */
[dir="rtl"] .mobile-menu-drawer { right: auto; left: -100%; }
[dir="rtl"] .mobile-menu-drawer.open { left: 0; right: auto; }
[dir="rtl"] .mobile-menu-drawer a:hover { padding-left: 0; padding-right: 10px; }

/* Sections & Containers */
section { padding: 80px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 36px; margin-bottom: 50px; position: relative; }
.section-title::after {
    content: ''; width: 60px; height: 3px; background: var(--primary);
    position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
}

/* Hero Sections */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 20px; margin-top: 60px;
    background: linear-gradient(rgba(36,30,32,0.7), rgba(36,30,32,0.7)), url('../assets/office1.png') center/cover;
    color: var(--light);
}
.hero h1 { color: var(--light); font-size: 3rem; margin-bottom: 20px; }
.hero p { color: var(--gray); font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px auto; }
.page-hero { height: 50vh; margin-top: 70px; }

/* Cards & Grids */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; }
.card {
    background: var(--light); padding: 30px; border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s;
    border-bottom: 4px solid transparent; text-align: center;
}
.card i { font-size: 40px; color: var(--primary); margin-bottom: 20px; }
.card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-bottom-color: var(--primary); }

/* Parallax Scroll Section */
.parallax-section {
    background: linear-gradient(rgba(247,148,29,0.8), rgba(36,30,32,0.9)), url('../assets/office1.png') fixed center/cover;
    color: var(--light); text-align: center; padding: 100px 20px;
}
.parallax-section h2 { color: var(--light); }
.parallax-section p { color: var(--gray); font-size: 1.2rem; max-width: 800px; margin: 0 auto; }

/* Footer (3 Column) */
footer { background: var(--secondary); color: var(--light); padding: 60px 20px 20px; margin-top: 50px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h3 { color: var(--primary); border-bottom: 2px solid var(--primary); display: inline-block; padding-bottom: 5px; margin-bottom: 20px; }
.footer-col p, .footer-col a { color: var(--gray); display: block; margin-bottom: 10px; }
.footer-col a:hover { color: var(--primary); padding-left: 5px; }
[dir="rtl"] .footer-col a:hover { padding-left: 0; padding-right: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 40px; color: var(--text-light); }

/* Animations */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media(max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}