:root {
    --primary-color: #172854;
    --secondary-color: #f7aa1b;
    --light-bg: #f8f9fa;
    --text-color: #333333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: var(--white); color: var(--text-color); overflow-x: hidden; line-height: 1.6; }

/* Utility Classes */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.page-padding { padding-top: 100px; }
.light-bg { background-color: var(--light-bg); }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* Typography */
h1, h2, h3, h4 { color: var(--primary-color); margin-bottom: 15px; font-weight: 700; }
p { margin-bottom: 15px; color: #555; }
.section-title { font-size: 2.5rem; position: relative; display: inline-block; margin-bottom: 40px; }
.section-title::after { content: ''; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); width: 60px; height: 3px; background-color: var(--secondary-color); }
.highlight-text { font-size: 1.2rem; font-weight: bold; color: var(--secondary-color); }

/* Buttons */
.btn { display: inline-block; padding: 12px 30px; border-radius: 5px; text-decoration: none; font-weight: 600; transition: var(--transition); border: 2px solid transparent; cursor: pointer; }
.btn-primary { background-color: var(--primary-color); color: var(--white); }
.btn-primary:hover { background-color: var(--secondary-color); color: var(--primary-color); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(23, 40, 84, 0.3); }
.btn-secondary { background-color: var(--secondary-color); color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--secondary-color); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(247, 170, 27, 0.3); }
.center-btn { text-align: center; margin-top: 30px; }

/* Grid Layouts */
.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: 30px; }

/* Navigation */
.nav-container { position: fixed; top: 0; width: 100%; background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; }
.navbar img { height: 50px; width: auto; }
.logo { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--primary-color); font-weight: 600; transition: var(--transition); position: relative; }
.nav-links a::after { content:''; position:absolute; left:0; bottom:-5px; width:0; height:2px; background:var(--secondary-color); transition:var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--secondary-color); }
.nav-controls { display: flex; align-items: center; gap: 15px; }
.lang-btn { background: none; border: 1px solid var(--primary-color); padding: 5px 10px; border-radius: 4px; cursor: pointer; color: var(--primary-color); font-weight: bold; transition: var(--transition); }
.lang-btn:hover { background: var(--primary-color); color: var(--white); }
.menu-btn, .close-btn { display: none; font-size: 1.5rem; color: var(--primary-color); cursor: pointer; }

/* Hero Sections */
.hero { height: 100vh; background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(23, 40, 84, 0.7); }
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 0 20px; }
.hero-content h1 { color: var(--white); font-size: 3.5rem; margin-bottom: 20px; }
.hero-content p { color: #f0f0f0; font-size: 1.2rem; margin-bottom: 30px; }
.hero-buttons { display: flex; justify-content: center; gap: 15px; }

/* Parallax Overlay Section */
.parallax-section { background-image: url('../assets/office1.png'); background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; position: relative; color: var(--white); text-align: center; }
.parallax-overlay { background: rgba(23, 40, 84, 0.85); padding: 100px 20px; }
.parallax-section h2 { color: var(--secondary-color); font-size: 2.5rem; }
.parallax-section p { font-size: 1.2rem; max-width: 700px; margin: 0 auto; color: var(--white); }
.parallax-icon { font-size: 4rem; color: var(--secondary-color); margin-bottom: 20px; }

/* Cards & Elements */
.stat-card, .card { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; transition: var(--transition); border-bottom: 4px solid transparent; }
.stat-card:hover, .card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--secondary-color); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.stat-card i, .card-icon { font-size: 3rem; color: var(--secondary-color); margin-bottom: 20px; }

/* Gallery */
.img-wrapper { border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.img-wrapper:hover img { transform: scale(1.1); }
.gallery-hero { height: 60vh; background: center/cover no-repeat; position: relative; display: flex; align-items: center; justify-content: center; }

/* Tags List */
.tags-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 30px; }
.tag { background: var(--white); color: var(--primary-color); padding: 10px 20px; border-radius: 50px; font-weight: 600; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: 1px solid #eee; transition: var(--transition); }
.tag:hover { background: var(--primary-color); color: var(--white); transform: translateY(-3px); }
.tag i { color: var(--secondary-color); margin-right: 5px; }

/* Styled List */
.styled-list { list-style: none; text-align: left; max-width: 600px; margin: 30px auto; }
.styled-list li { margin-bottom: 15px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.styled-list i { color: var(--secondary-color); font-size: 1.2rem; }

/* Footer */
footer { background-color: var(--primary-color); color: var(--white); padding: 60px 0 20px; }
footer h4 { color: var(--secondary-color); margin-bottom: 20px; font-size: 1.5rem; }
footer p, footer ul, footer a { color: #d1d5db; text-decoration: none; list-style: none; }
footer ul li { margin-bottom: 10px; transition: var(--transition); }
footer ul li:hover { transform: translateX(5px); }
footer ul li a:hover { color: var(--secondary-color); }
footer i { margin-right: 10px; color: var(--secondary-color); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 40px; font-size: 0.9rem; }

/* Scroll Reveal Animations */
.reveal-up { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s ease-out; }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s ease-out; }
.reveal-fade { opacity: 0; transition: all 1s ease-out; }
.active.reveal-up, .active.reveal-left, .active.reveal-right { opacity: 1; transform: translate(0, 0); }
.active.reveal-fade { opacity: 1; }

/* Mobile Menu & RTL Overrides */
@media (max-width: 768px) {
    .menu-btn, .close-btn { display: block; }
    .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 250px; background-color: var(--white); flex-direction: column; padding-top: 80px; box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: right 0.4s ease; align-items: flex-start; padding-left: 30px; }
    .nav-links.show { right: 0; }
    .close-btn { position: absolute; top: 20px; right: 20px; font-size: 2rem; }
    
    html[dir="rtl"] .nav-links { right: auto; left: -100%; box-shadow: 5px 0 15px rgba(0,0,0,0.1); padding-left: 0; padding-right: 30px; transition: left 0.4s ease; }
    html[dir="rtl"] .nav-links.show { left: 0; }
    html[dir="rtl"] .close-btn { right: auto; left: 20px; }
    html[dir="rtl"] .tag i, html[dir="rtl"] footer i { margin-right: 0; margin-left: 5px; }
    html[dir="rtl"] .styled-list { text-align: right; }

    .hero-content h1 { font-size: 2.5rem; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
}