    /* === REGLAJ GLOBAL === */
    *, *::before, *::after {
      box-sizing: border-box;
    }
    
    body {
      margin: 0;
      padding: 0;
      font-family: Arial, Helvetica, sans-serif;
      background: white;
      color: #333;
      overflow-x: hidden;
    }
    
    html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}


    /* === HEADER ARCHITECTURE === */
    .main-header {
      background-color: #1e3a8a;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .header-top-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 15px;
    }

    .main-logo {
      height: 40px;
      width: auto;
    }

    .nav-toggle {
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
    }

    .login-pill {
      background: rgba(255, 255, 255, 0.2);
      color: white;
      border: 1px solid rgba(255, 255, 255, 0.4);
      padding: 6px 15px;
      border-radius: 20px;
      font-size: 14px;
      font-weight: bold;
      transition: 0.3s;
      cursor: pointer;
    }

    .login-pill:hover {
      background: white;
      color: #1e3a8a;
    }

    /* === TABS ADJUSTMENT === */
    .tabs-container {
      background: rgba(0, 0, 0, 0.1);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .tabs {
      display: flex;
      justify-content: space-around;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .tab {
      background: none;
      border: none;
      color: rgba(255, 255, 255, 0.7);
      padding: 12px 10px;
      font-size: 13px;
      font-weight: 600;
      white-space: nowrap;
      transition: 0.3s;
      cursor: pointer;
    }

    .tab.active {
      color: white;
      border-bottom: 3px solid #ffd700;
    }

    .tab-content {
      display: none;
      scroll-margin-top: 50px;
      padding: 20px 10px;
    }

    .tab-content.active {
      display: block;
      animation: fadeIn 0.4s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* === SIDE MENU === */
    .side-menu {
      position: fixed;
      top: 0;
      left: -320px;
      width: 300px;
      height: 100%;
      background: #ffffff;
      box-shadow: 4px 0 15px rgba(0,0,0,0.2);
      transition: left 0.3s ease;
      z-index: 1100;
      overflow-y: auto;
    }

    .side-menu.active {
      left: 0;
    }

    .menu-header {
      background: #1e3a8a;
      color: white;
      padding: 15px;
      font-size: 18px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    #closeMenu {
      background: transparent;
      border: none;
      color: white;
      font-size: 22px;
      cursor: pointer;
    }

    .menu-content { padding: 15px; }
    .menu-section { margin-bottom: 20px; }
    .menu-section h3 { color: #ff9800; margin-bottom: 5px; }
    .menu-section p, .menu-section ol { font-size: 14px; line-height: 1.5; color: #444; }

    .menu-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      display: none;
      z-index: 1050;
    }

    .menu-overlay.active { display: block; }

    /* === KONKOU SECTION === */
    .container { margin-top: 10px; text-align: center; }
    .flyer { width: 100%; max-width: 400px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
    
    .buttons {
      margin-top: 15px;
      padding: 12px 20px;
      font-size: 16px;
      background: #1a7f37;
      color: white;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-weight: bold;
      transition: 0.3s;
    }
    .buttons:hover { opacity: 0.9; }

    .search-bar {
      width: 80%; max-width: 400px; padding: 12px; margin: 15px auto;
      border-radius: 8px; border: 1px solid #ccc; display: block;
    }

    /* === IMOBILYE SECTION === */
    .immo-header {
      background: #232f3e;
      color: white;
      padding: 30px 20px;
      text-align: center;
      border-radius: 12px;
      margin-bottom: 20px;
    }

    .search-filter-box {
      display: flex; gap: 10px; max-width: 600px; margin: 15px auto 0;
    }
    .search-filter-box input, .search-filter-box select {
      padding: 12px; border-radius: 8px; border: none; flex: 1;
    }

    .immo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* === STORE SECTION === */
    .category { margin: 20px 0; }
    .tabo { margin-bottom: 15px; font-size: 18px; color: #1e3a8a; border-bottom: 2px solid #ff9800; display: inline-block; padding-bottom: 5px; }
    
    .product-row {
      display: flex; overflow-x: auto; gap: 15px; padding-bottom: 10px; scrollbar-width: thin;
    }
    .product-card {
      flex: 0 0 150px; background: #fff; border-radius: 10px; padding: 10px;
      text-align: center; box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    }
    .product-card img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; }

    /* === SLIDER PIBLISITE OTOMATIK === */
    .promo-slider { width: 100%; overflow: hidden; background: #fff; padding: 15px 0; border-radius: 12px; margin-bottom: 20px; }
    .slider-wrapper {
      display: flex; width: 200%;
      animation: slideAnimation 10s infinite;
    }
    .slide-item { width: 50%; padding: 0 10px; }
    .slide-item img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

    @keyframes slideAnimation {
      0%, 45% { transform: translateX(0); }
      50%, 95% { transform: translateX(-50%); }
      100% { transform: translateX(0); }
    }

    /* === APP CARDS (Pricing/Download) === */
    .pricing-container {
      display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; max-width: 900px; margin: 0 auto 30px;
    }
    .app-store-card {
      background: #ffffff; border-radius: 16px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      padding: 25px; flex: 1; min-width: 280px; max-width: 400px; position: relative; transition: 0.3s;
    }
    .app-store-card:hover { transform: translateY(-5px); }
    .pro-card { border: 2px solid #10b981; background-color: #fafffc; }
    .pro-badge {
      position: absolute; top: 15px; right: -35px; background: #10b981; color: white;
      padding: 5px 40px; transform: rotate(45deg); font-size: 12px; font-weight: bold;
    }

    .app-header { display: flex; align-items: center; margin-bottom: 15px; }
    .app-icon { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; margin-right: 15px; }
    .app-title { margin: 0; font-size: 18px; color: #1f2937; }
    
    .btn-download {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      padding: 12px; border-radius: 30px; text-decoration: none; font-weight: bold; color: white; margin-top: 15px;
    }
    .btn-free { background-color: #3b82f6; }
    .btn-pro { background-color: #10b981; }
    .secure-text { display: block; font-size: 12px; color: #9ca3af; margin-top: 10px; text-align: center; }

    /* === FOOTER === */
    .footer-container {
      background-color: #1e3a8a;
      color: #f1f1f1;
      padding: 40px 20px 20px;
      margin-top: 40px;
      width: 100%;
    }
    .footer-content {
      display: flex; flex-wrap: wrap; justify-content: space-between; max-width: 1200px; margin: 0 auto; gap: 30px;
    }
    .footer-section { flex: 1; min-width: 250px; }
    .footer-section h3 { color: #00a8ff; border-bottom: 2px solid #00a8ff; padding-bottom: 5px; display: inline-block; }
    .footer-section ul { list-style: none; padding: 0; }
    .footer-section ul li a { color: #ccc; text-decoration: none; }
    .footer-section ul li a:hover { color: #00a8ff; }
    
    .social-icons-wrapper { display: flex; gap: 15px; margin-top: 15px; }
    .social-icons-wrapper a {
      display: flex; align-items: center; justify-content: center; width: 45px; height: 45px;
      background: rgba(255, 255, 255, 0.1); border-radius: 12px; transition: 0.3s;
    }
    .social-icons-wrapper a img { width: 60%; height: auto; border-radius: 5px; }
    .social-icons-wrapper a:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-5px); }
    .footer-bottom { text-align: center; padding-top: 20px; margin-top: 20px; border-top: 1px solid #444; font-size: 14px; }

    /* === RESPONSIVE AJUSTEMENTS === */
    @media (max-width: 600px) {
      .search-filter-box { flex-direction: column; }
      .immo-grid { grid-template-columns: 1fr; }
    }
    
    
    
    
    
/* --- SLIDER PIBLISITE --- */
    /* Reset de baz pou fè l pwòp */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* Container prensipal la */
.slider-container {
    max-width: 800px;
    margin: 40px auto;
}

.slider {
    position: relative;
    width: 100%;
    border-radius: 16px; /* Kwen awondi tankou Play Store */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Yon onb ki dou */
    background-color: #e0e0e0; /* Koulè jiskaske imaj la chaje */
}

.slides {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* Tranzisyon ki pi natirèl */
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    aspect-ratio: 16 / 9; /* Kenbe pwopòsyon imaj la kèlkeswa ekran an */
    object-fit: cover;
    display: block;
}

/* Bouton yo */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px); /* Efè vè flou ki trè modèn */
    color: #333;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%; /* Bouton won */
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.05); /* Vin yon ti jan pi gwo lè w pase sourit la */
}

#prev { left: 16px; }
#next { right: 16px; }

/* Container pou pwen yo */
.dots-container {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Pwen ki aktif la (Modèn pill-shape design) */
.dot.active {
    background: #ffffff;
    width: 24px; 
    border-radius: 8px;
}
  /* --- KAT FÒMASYON MODÈN --- */
  .course-section { padding: 15px; }
  .course-card {
    background: #ffffff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.06); border: 1px solid #f0f0f0;
  }
  .course-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
  
  .course-content { padding: 20px; }
  .course-badge {
    display: inline-block; background-color: #e0f2fe; color: #0369a1; padding: 5px 12px; border-radius: 8px; font-size: 12px; font-weight: bold; margin-bottom: 12px; text-transform: uppercase;
  }
  .course-title { font-size: 18px; color: #111; margin: 0 0 10px; font-weight: bold; line-height: 1.3; }
  .course-objective { font-size: 14.5px; color: #444; line-height: 1.5; margin-bottom: 15px; }
  
  /* Zòn kote Dire a ye a */
  .course-meta {
    display: flex; gap: 15px; font-size: 14px; color: #666; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee;
  }
  .course-meta span i { color: #ff9800; margin-right: 5px; }

  /* --- BOUTON AK ANIMASYON --- */
  .btn-group { display: flex; gap: 12px; }
  .btn {
    flex: 1; padding: 12px; border-radius: 8px; font-size: 16px; font-weight: bold; text-align: center; text-decoration: none; border: none; transition: all 0.3s ease; /* Sa pèmèt animasyon an fèt dousman */
  }
  
  .btn-price { background-color: #f1f5f9; color: #1e3f8a; cursor: default; }
  .btn-enroll { background-color: #ff7a3d; color: white; cursor: pointer; box-shadow: 0 4px 12px rgba(255, 122, 61, 0.3); }

  /* Lè w pase sourit ou sou bouton swiv kou a */
  .btn-enroll:hover {
    transform: translateY(-4px) scale(1.02); /* Li monte epi li gwosi yon ti kras */
    background-color: #e8682e;
    box-shadow: 0 6px 16px rgba(255, 122, 61, 0.4);
  
  }

  .btn-sevis { background-color: #ff9800; color: white !important; padding: 6px 15px; border-radius: 20px; font-weight: bold; }
  
  
  
  
  
  
  
  .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap:20px;
  margin-top:15px;
}

/* ===== STORE ===== */

.category {
  margin: 20px 10px;
}

.category h2 {
  margin-bottom: 10px;
}

.product-row {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
}

.product-card {
  flex: 0 0 140px;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.big-btn {
  margin-top: 6px;
  padding: 6px;
  background: darkorange;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* ===== FLOATING CART ===== */

#cartBtn {

  position:fixed;bottom:20px;right:20px;background:darkorange;color:#fff;border:none;padding:15px;border-radius:50%;font-size:20px;cursor:pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.3);z-index:1000;
}


#cartCount {
  font-size: 14px;
  font-weight: bold;
}


.cart-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.cart-item button {
  background: red;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 2px 6px;
  cursor: pointer;
}

#totalPrice {
  font-weight: bold;
  margin-top: 10px;
  text-align: right;
}

#whatsappBtn {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  background: #25D366;
  border: none;
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

/* STORE SECTION san box */

.store-section {
  display: none;
  scroll-margin-top: 50px; /* menm wotè ak header la */
  padding: 0;
  margin: 0;
  background: transparent;
  animation: none;
  
}



.spinner{
  width:30px;
  height:30px;
  border:4px solid #ddd;
  border-top:4px solid #2196f3;
  border-radius:50%;
  animation:spin 1s linear infinite;
  margin: 20px auto;
}
@keyframes spin{to{transform:rotate(360deg)}}

#cartPopup {
  position: fixed;
  bottom: 80px;
  right: 15px;
  width: 320px;
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  padding: 15px;
  display: none;
  z-index: 999;
}

#cartPopup.show {
  display: block;
}

/* POPUP BACKGROUND */
.popups {
  position: fixed;
  top: 0;
  left: 25px;
  width: 85%;
  height: 100vh; /* 🔥 FÒK LI FULL HEIGHT */

  background: none; /* ti fon nwa lejè */

  display: none;
  justify-content: center;
  align-items: flex-start; /* 🔥 AL ANWO POU SCROLL */

  overflow-y: auto; /* 🔥 SCROLL GLOBAL */
  padding: 20px 0;

  z-index: 9999;
}
/* POPUP BOX */
.popup-boxs {
  background: white;
  padding: 25px;
  border-radius: 12px;
  border: 2px solid #333; /* 🔥 BORDURE nwa 2px, ou ka chanje koulè */
  width: 90%;
  max-width: 350px;
  text-align: center;
  position: relative;
  animation: popupFade 0.3s ease;

  max-height: 90vh;       /* Pou scroll si li twò gwo */
  overflow-y: auto;
}

.popup-inputs {
  width: 80%;
  padding: 5px;
  margin: 15px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* CLOSE BUTTON */
.closes {
  position: absolute;
  right: 12px;
  top: 8px;
  cursor: pointer;
  font-size: 18px;
}

/* ANIMATION */
@keyframes popupFade {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


/* Stil jeneral pou kat la */
.property-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Efè lè moun pase sourit sou kat la */
.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Stil pou foto a (flyer) */
.property-card .flyer {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
}

/* Stil pou tèks yo anndan kat la (padding) */
.property-card h3, 
.property-card p {
    padding: 0 15px;
    margin: 10px 0;
    color: #333333;
}

/* Tit pwopriyete a */
.property-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 15px;
}

/* Deskripsyon an */
.property-card p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.4;
}

/* Pri a ak Adrès la (yo an fonse) */
.property-card p strong {
    color: #2c3e50;
    font-size: 1.05rem;
}

/* Bouton WhatsApp la */
.property-card .whatsapp-btn {
    display: block;
    background-color: #25D366;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    margin: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.2s ease;
    margin-top: auto; /* Pouse bouton an anba nèt si deskripsyon yo pa gen menm longè */
}

/* Efè lè moun pase sourit sou bouton WhatsApp la */
.property-card .whatsapp-btn:hover {
    background-color: #1ebd58;
}

/* Stil pou Seksyon Konkou ki fèmen an */
.contest-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 16px;
    margin: 20px auto;
    max-width: 600px;
}

/* Kat Mesaj la */
.maintenance-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
}

/* Ti Emoticon anlè a */
.maintenance-card .card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

/* Tit la */
.maintenance-card h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Tèks eksplikasyon */
.maintenance-card p {
    color: #5a6c7d;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Liy separasyon an */
.maintenance-card .divider {
    height: 1px;
    background-color: #e2e8f0;
    margin: 20px 0;
}

/* Tèks ankourajman an */
.maintenance-card .cta-text {
    font-weight: 600;
    color: #34495e;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* Zòn bouton yo */
.maintenance-card .card-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Bouton pou vizite lòt paj yo */
.maintenance-card .btn-secondary {
    background-color: #f1f5f9;
    color: #1e293b;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid #cbd5e1;
}

/* Lè moun pase sourit sou bouton yo */
.maintenance-card .btn-secondary:hover {
    background-color: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

/* Ti animasyon pou revòlòg la */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Bwat ki ap kenbe plas imaj la pandan l ap chaje */
.image-container {
  width: 100%;
  height: 120px; /* ✅ Korije: Li vin menm wotè ak imaj orijinal ou yo */
  background-color: #f3f3f3; 
  border-radius: 8px; /* ✅ Korije: Pou l gen menm kwen won ak imaj yo (anwo kou anba) */
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lojik pou kache epi afiche imaj la */
.async-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0; 
  transition: opacity 0.4s ease-in-out;
  border-radius: 8px; /* ✅ Asire imaj la jwenn menm border-radius la lè l parèt */
}

/* Klas k ap ajoute otomatikman lè l chaje a */
.async-image.loaded {
  opacity: 1;
}
