* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background: #0b0f1a;
  color: white;
  padding-top: 80px;
}

/* Support RTL pour l'arabe */
body[dir="rtl"] {
  text-align: right;
  font-family: 'Arial', 'Segoe UI', sans-serif;
}

body[dir="rtl"] .navbar {
  flex-direction: row-reverse;
}

body[dir="rtl"] .navbar nav {
  flex-direction: row-reverse;
}

body[dir="rtl"] .navbar a {
  margin-left: 0;
  margin-right: 30px;
}

body[dir="rtl"] .language-dropdown {
  left: 10%;
  right: auto;
}

body[dir="rtl"] .logo {
  flex-direction: row-reverse;
}

body[dir="rtl"] .logo-text {
  margin-right: 15px;
  margin-left: 0;
}

body[dir="rtl"] .member-desc {
  text-align: right;
}

body[dir="rtl"] .testimonial {
  border-left: none;
  border-right: 4px solid #1e90ff;
  border-radius: 10px 0 0 10px;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: rgba(11, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1e2a47;
  z-index: 1000;
}

.navbar a {
  color: #b0b8d0;
  margin-left: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #1e90ff;
}

/* LOGO AGRANDI ET AMÉLIORÉ */
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: 
    drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4))
    brightness(1.05)
    contrast(1.1);
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 3px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(30, 144, 255, 0.05));
  transition: transform 0.3s;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text {
  font-weight: bold;
  font-size: 24px;
  color: white;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #ffffff, #1e90ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Pour les écrans haute résolution */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-img {
    image-rendering: -webkit-optimize-contrast;
    width: 70px;
    height: 70px;
  }
}

/* ========== MENU DÉROULANT DE LANGUE ========== */
.language-dropdown {
  position: relative;
  margin-left: 20px;
}

.lang-btn-dropdown {
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.3);
  color: #b0b8d0;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.lang-btn-dropdown:hover {
  background: rgba(30, 144, 255, 0.2);
  color: white;
}

.lang-btn-dropdown.active {
  background: rgba(30, 144, 255, 0.2);
  color: #1e90ff;
  border-color: #1e90ff;
}

.lang-flag {
  font-size: 1rem;
}

.lang-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.language-dropdown.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #141a2e;
  border: 1px solid #1e2a47;
  border-radius: 10px;
  padding: 10px;
  margin-top: 5px;
  min-width: 150px;
  display: none;
  z-index: 1002;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.language-dropdown.open .lang-dropdown-menu {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  color: #b0b8d0;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s;
  cursor: pointer;
}

.lang-option:hover {
  background: rgba(30, 144, 255, 0.1);
  color: white;
}

.lang-option.active {
  background: rgba(30, 144, 255, 0.2);
  color: #1e90ff;
}

/* Support RTL pour le menu déroulant */
body[dir="rtl"] .language-dropdown {
  margin-left: 0;
  margin-right: 20px;
}

body[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

/* BOUTON */
.btn {
  background: #1e90ff;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #0d7bd4;
  transform: translateY(-2px);
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: calc(100vh - 80px);
  background: 
    linear-gradient(rgba(11, 15, 26, 0.8), rgba(11, 15, 26, 0.9)),
    url("../images/banner.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

body[dir="rtl"] .hero {
  text-align: right;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 25px;
  line-height: 1.1;
  background: linear-gradient(90deg, #ffffff, #1e90ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #b0b8d0;
  max-width: 600px;
  margin-bottom: 30px;
}

/* ========== SECTIONS GÉNÉRALES ========== */
.section {
  padding: 100px 10% 80px;
}

.section h1, .section h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-align: center;
  color: white;
}

.description {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 30px auto 60px;
  text-align: center;
  color: #b0b8d0;
}

/* ========== CARDS ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #141a2e;
  padding: 35px 30px;
  border-radius: 12px;
  border: 1px solid #1e2a47;
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  border-color: #1e90ff;
}

.card-number {
  font-size: 2.8rem;
  font-weight: bold;
  color: #1e90ff;
  opacity: 0.2;
  margin-bottom: 15px;
  font-family: 'Courier New', monospace;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: white;
}

.card p {
  color: #8a94b8;
  line-height: 1.6;
}

/* ========== STATISTIQUES ========== */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin: 50px 0;
  text-align: center;
}

.stat-card {
  background: linear-gradient(135deg, #141a2e, #1e2a47);
  padding: 30px 20px;
  border-radius: 15px;
  border: 1px solid #2a3a5e;
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: #1e90ff;
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: bold;
  color: #1e90ff;
  margin: 10px 0;
  font-family: 'Courier New', monospace;
}

.stat-label {
  color: #b0b8d0;
  font-size: 1rem;
  font-weight: 500;
}

/* ========== EMOJIS BUSINESS ========== */
.emoji-section {
  text-align: center;
  margin: 60px 0;
}

.emoji-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.emoji-item {
  background: #141a2e;
  padding: 25px 20px;
  border-radius: 12px;
  min-width: 150px;
  border: 1px solid #2a3a5e;
}

.emoji {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

/* ========== TAGS ========== */
.services-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 40px 0 50px;
}

.tag {
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.3);
  padding: 10px 22px;
  border-radius: 25px;
  color: #1e90ff;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s;
}

.tag:hover {
  background: rgba(30, 144, 255, 0.2);
  transform: scale(1.05);
}

/* ========== FEATURE BOX ========== */
.feature-box {
  padding: 60px 50px;
  text-align: center;
}

.feature-box h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: white;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature-box p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 35px;
  color: #b0b8d0;
}

/* ========== PAGE À PROPOS ========== */
.subtitle {
  text-align: center;
  color: #8a94b8;
  font-size: 1.2rem;
  margin-bottom: 60px;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.team-member {
  background: #141a2e;
  border-radius: 15px;
  padding: 35px 30px;
  border: 1px solid #1e2a47;
  transition: all 0.3s ease;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-10px);
  border-color: #1e90ff;
  box-shadow: 0 15px 30px rgba(30, 144, 255, 0.1);
}

.member-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #1e90ff;
  box-shadow: 0 5px 15px rgba(30, 144, 255, 0.3);
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.team-member:hover .team-img {
  transform: scale(1.05);
}

.member-info h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: white;
}

.member-role {
  color: #1e90ff;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
  padding-bottom: 15px;
  border-bottom: 1px solid #2a3a5e;
}

.member-desc {
  color: #b0b8d0;
  line-height: 1.7;
  font-size: 0.95rem;
  text-align: left;
}

/* ========== VALEURS ========== */
.values-section {
  background: #141a2e;
  border-radius: 15px;
  margin-top: 80px;
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.value-card {
  text-align: center;
  padding: 30px 25px;
}

.value-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  display: inline-block;
}

.value-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: white;
}

.value-card p {
  color: #8a94b8;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ========== TÉMOIGNAGES ========== */
.testimonial {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), transparent);
  border-left: 4px solid #1e90ff;
  padding: 25px;
  margin: 40px 0;
  border-radius: 0 10px 10px 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  color: white;
  margin-bottom: 5px;
}

.author-info p {
  color: #8a94b8;
  font-size: 0.9rem;
}

/* ========== PAGE CONTACT ========== */
.contact-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.contact-intro p {
  font-size: 1.1rem;
  color: #b0b8d0;
  margin-bottom: 20px;
}

.contact-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step {
  background: #141a2e;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #2a3a5e;
  text-align: center;
  transition: transform 0.3s;
}

.step:hover {
  transform: translateY(-5px);
  border-color: #1e90ff;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #1e90ff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: white;
}

.step p {
  color: #8a94b8;
  line-height: 1.6;
}

.contact-assurance {
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.3);
  border-radius: 10px;
  padding: 30px;
  margin-top: 40px;
  text-align: center;
}

.contact-assurance p {
  margin-bottom: 15px;
  color: #b0b8d0;
  font-size: 1rem;
}

.contact-assurance strong {
  color: white;
}

/* ========== SOCIAL LINKS (EMAIL & INSTAGRAM) ========== */
.contact-social {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-social h3 {
  text-align: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.3rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.social-email, .social-insta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 25px;
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.3);
  border-radius: 10px;
  color: #b0b8d0;
  text-decoration: none;
  transition: all 0.3s;
  min-width: 300px;
  max-width: 400px;
  width: 100%;
}

.social-email:hover {
  background: rgba(30, 144, 255, 0.2);
  border-color: #1e90ff;
  transform: translateY(-3px);
  color: white;
}

.social-insta:hover {
  background: rgba(225, 48, 108, 0.2);
  border-color: #e1306c;
  transform: translateY(-3px);
  color: white;
}

.social-icon {
  font-size: 1.5rem;
}

.social-text {
  font-size: 1rem;
  font-weight: 500;
}

.social-insta {
  background: rgba(225, 48, 108, 0.1);
  border-color: rgba(225, 48, 108, 0.3);
}

.social-insta .social-icon {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-alternative {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* ========== CTA SECTION ========== */
.cta-section {
  text-align: center;
  padding: 80px 10%;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  color: #8a94b8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  font-size: 1.1rem;
  padding: 15px 40px;
}

/* ========== FOOTER ========== */
.footer {
  text-align: center;
  padding: 40px;
  background: #080c17;
  border-top: 1px solid #1e2a47;
  color: #8a94b8;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-social {
  display: flex;
  gap: 25px;
  margin-top: 10px;
}

.footer-social a {
  color: #8a94b8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #1e90ff;
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .language-dropdown {
    margin-left: 15px;
  }
}

@media (max-width: 1024px) {
  .language-dropdown {
    position: static;
    margin: 10px auto;
    order: -1;
  }
  
  .lang-dropdown-menu {
    right: 50%;
    transform: translateX(50%);
  }
  
  body[dir="rtl"] .lang-dropdown-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  
  .navbar {
    padding: 15px 5%;
    flex-direction: column;
    gap: 15px;
  }
  
  .navbar nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .navbar a {
    margin-left: 0;
  }
  
  /* Logo sur mobile */
  .logo-img {
    width: 55px;
    height: 55px;
  }
  
  .logo-text {
    font-size: 20px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 60px 5% 40px;
  }
  
  .section h1, .section h2 {
    font-size: 2.2rem;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  .feature-box {
    padding: 40px 20px;
  }
  
  .feature-box h2 {
    font-size: 1.8rem;
  }
  
  .team-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .member-photo {
    width: 140px;
    height: 140px;
  }
  
  .cta-section {
    padding: 60px 5%;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .values, .stats-container {
    grid-template-columns: 1fr;
  }
  
  .emoji-grid {
    flex-direction: column;
    align-items: center;
  }
  
  /* Responsive social links */
  .social-email, .social-insta {
    min-width: 250px;
    padding: 12px 20px;
  }
  
  .footer-social {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .lang-btn-dropdown {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  
  .lang-dropdown-menu {
    min-width: 130px;
  }
  
  .language-switcher {
    padding: 5px 10px;
    gap: 6px;
  }
  
  .lang-btn {
    font-size: 0.8rem;
    padding: 3px 6px;
    min-width: 25px;
  }
  
  .lang-separator {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .section h1, .section h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .tag {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .logo-img {
    width: 50px;
    height: 50px;
  }
  
  .logo-text {
    font-size: 18px;
  }
  
  .social-email, .social-insta {
    min-width: 200px;
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .social-icon {
    font-size: 1.3rem;
  }
  
  .language-dropdown {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }
  
  .lang-btn {
    font-size: 0.75rem;
    padding: 2px 4px;
  }
}