:root {
    --primary-color: #0284c7;   /* Bleu IBR */
    --secondary-color: #10b981; /* Vert IBR */
    --dark-color: #1e293b;
    --light-bg: #f8fafc;
    --text-muted: #64748b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: #333; scroll-behavior: smooth; overflow-x: hidden; }

/* RTL SPECIFIQUE */
body.rtl { text-align: right; }
.rtl .nav-links, .rtl .nav-container, .rtl .nav-right { flex-direction: row-reverse; }

/* NAVBAR */
.navbar { position: fixed; top: 0; width: 100%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); z-index: 1000; }
.nav-container { max-width: 1200px; margin: auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; }
.logo-img { height: 100px; width: auto; }

.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--dark-color); font-weight: 500; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary-color); }

.nav-right { display: flex; align-items: center; gap: 15px; }
.flag-link { font-size: 1.5rem; text-decoration: none; transition: 0.3s; }
.btn-login { background: var(--primary-color); color: #fff; padding: 8px 18px; border-radius: 6px; text-decoration: none; font-size: 0.9rem; font-weight: 600; }

/* HERO SLIDER */
.hero-slider { position: relative; width: 100%; height: 80vh; background: #000; }
.slide { position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center; transition: opacity 1s; opacity: 0; display: flex; align-items: center; justify-content: center; }
.slide.active { opacity: 1; }
.slide::after { content:''; position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.4); }
.hero-content { position: relative; z-index: 10; text-align: center; color: #fff; padding: 20px; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 800; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }

/* SECTIONS */
.section { padding: 80px 20px; max-width: 1200px; margin: auto; }
.bg-light { background: var(--light-bg); max-width: 100%; }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2.2rem; color: var(--dark-color); position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 4px; background: var(--secondary-color); border-radius: 2px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.container-narrow { max-width: 800px; margin: auto; text-align: center; }

/* CARDS */
.card { background: #fff; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); overflow: hidden; border: 1px solid #f1f5f9; transition: 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.ev-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.event-date { color: var(--secondary-color); font-weight: bold; font-size: 0.9rem; }

/* TEAM */
.team-card { text-align: center; padding: 25px; }
.team-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 4px solid var(--light-bg); }
.staff-role { color: var(--primary-color); font-weight: 600; font-size: 0.9rem; }

/* SERVICES */
.service-box { text-align: center; padding: 40px; background: #fff; border-radius: 15px; transition: 0.3s; border: 1px solid #f1f5f9; }
.service-box:hover { background: var(--primary-color); color: #fff; }
.service-box i { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 15px; transition: 0.3s; }
.service-box:hover i { color: #fff; }

/* CONTACT */
.contact-info { background: #fff; padding: 40px; border-radius: 15px; border-left: 5px solid var(--primary-color); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.contact-info i { color: var(--primary-color); margin-right: 10px; width: 20px; }
.map-placeholder { background: #e2e8f0; border-radius: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-muted); min-height: 250px; }
.map-placeholder i { font-size: 3rem; margin-bottom: 10px; opacity: 0.5; }

/* FOOTER */
.footer { background: var(--dark-color); color: #fff; padding: 60px 20px; text-align: center; }
.footer-logo { height: 100px; filter: brightness(0) invert(1); margin-bottom: 20px; }