
 /* Previous styles remain the same */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f7f2f2;
    margin: 0;
    overflow-x: hidden;


}

/*---------background effects*/

@keyframes move {
  100% {
    transform: translate3d(0, 0, 1px) rotate(360deg);
  }
}

.background-effect {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  overflow: hidden;
}

.ball {
  position: absolute;
  width: 20vmin;
  height: 20vmin;
  border-radius: 50%;
  backface-visibility: hidden;
  animation: move linear infinite;
}

.ball:nth-child(odd) {
    color: #006D5B;
}

.ball:nth-child(even) {
    color: #FF6F61;
}

/* Using a custom attribute for variability */
.ball:nth-child(1) {
  top: 77%;
  left: 88%;
  animation-duration: 40s;
  animation-delay: -3s;
  transform-origin: 16vw -2vh;
  box-shadow: 40vmin 0 5.703076368487546vmin currentColor;
}
.ball:nth-child(2) {
  top: 42%;
  left: 2%;
  animation-duration: 53s;
  animation-delay: -29s;
  transform-origin: -19vw 21vh;
  box-shadow: -40vmin 0 5.17594621519026vmin currentColor;
}
.ball:nth-child(3) {
  top: 28%;
  left: 18%;
  animation-duration: 49s;
  animation-delay: -8s;
  transform-origin: -22vw 3vh;
  box-shadow: 40vmin 0 5.248179047256236vmin currentColor;
}
.ball:nth-child(4) {
  top: 50%;
  left: 79%;
  animation-duration: 26s;
  animation-delay: -21s;
  transform-origin: -17vw -6vh;
  box-shadow: 40vmin 0 5.279749632220298vmin currentColor;
}
.ball:nth-child(5) {
  top: 46%;
  left: 15%;
  animation-duration: 36s;
  animation-delay: -40s;
  transform-origin: 4vw 0vh;
  box-shadow: -40vmin 0 5.964309466052033vmin currentColor;
}
.ball:nth-child(6) {
  top: 77%;
  left: 16%;
  animation-duration: 31s;
  animation-delay: -10s;
  transform-origin: 18vw 4vh;
  box-shadow: 40vmin 0 5.178483653434181vmin currentColor;
}
.ball:nth-child(7) {
  top: 22%;
  left: 17%;
  animation-duration: 55s;
  animation-delay: -6s;
  transform-origin: 1vw -23vh;
  box-shadow: -40vmin 0 5.703026794398318vmin currentColor;
}
.ball:nth-child(8) {
  top: 41%;
  left: 47%;
  animation-duration: 43s;
  animation-delay: -28s;
  transform-origin: 25vw -3vh;
  box-shadow: 40vmin 0 5.196265905749415vmin currentColor;
}

/*----------------effects*/

/*make footer backfound effect*/
.footer {
  position: relative;
  z-index: 10; /* Ensure it appears above the animated balls */
  background-color: #fff; /* Or any color matching your design */
}



/*------------------------------------------------------------------------navbar*/

.navbar {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
  }

  .logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }

  .logo:hover {
    transform: scale(1.05);
  }

  .brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
  }

  .nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    transition: width 0.3s ease;
  }

  .nav-link:hover {
    color: #3498db;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .contact-btn {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
  }

  .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
  }

  .content {
    margin-top: 100px;
    padding: 2rem;
    text-align: center;
    color: #333;
  }
  /*--------------------------------------------------------------------end*/













  
/*----------middle text------------*/
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
.typing-container {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 8px;
    padding: 15px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(1.5rem);
  }

  #typing-text {
    font-size: 3rem;
    color: #333;
    min-height: 30px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  }

  #typing-text::after {
    content: '|';
    position: relative;
    margin-right: 5px;
    animation: blink 1s infinite;
  }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }



    #typing-text {
      font-size: 2rem;
    }





/*----------------------------------START---total-views-*/
          .counter-container {
            transform: translateX(-3rem);
        }
        
        .counter {
            font-size: 2rem;
            font-weight: bold;
            color: #61dafb;
            transition: color 0.3s ease-in-out;
        }
        
        .counter-text {
            font-size: 1.5rem;
            color: #ccc;
        }
        
        .info-text {
            font-size: 1rem;
            color: #888;
            margin-top: 10px;
        }

/*---------------------------------------------------------------------------------------END---*/





/*---------footer-------------------------------------------------------------------*/

.footer {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #111827;
    color: #e5e7eb;
    padding: 24px 0;
    font-size: 14px;
  }
  
  .footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .footer-logo {
    font-weight: 700;
    font-size: 20px;
    color: white;
    margin-right: 30px;
    letter-spacing: -0.5px;
  }
  
  .footer-logo span {
    color: #60a5fa;
  }
  
  .footer-actions {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  
  .footer-newsletter {
    position: relative;
    width: 280px;
  }
  
  .newsletter-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px 16px;
    width: 100%;
    color: white;
    font-size: 13px;
    transition: all 0.2s ease;
  }
  
  .newsletter-input:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.08);
  }
  
  .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }
  
  .newsletter-button {
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 8px;
    width: 100%;
  }
  
  .newsletter-button:hover {
    background: #3b82f6;
  }
  
  .whatsapp-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(37, 211, 102, 0.15);
    border-radius: 6px;
    color: #e5e7eb;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .whatsapp-contact:hover {
    background: rgba(37, 211, 102, 0.25);
  }
  
  .whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #25D366;
  }
  
  .whatsapp-text {
    font-size: 13px;
    font-weight: 500;
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 24px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
  }
  
  .footer-legal {
    display: flex;
    gap: 24px;
  }
  
  .footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 13px;
  }
  
  .footer-legal a:hover {
    color: white;
  }
  
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      gap: 24px;
      align-items: flex-start;
    }
    
    .footer-actions {
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
      width: 100%;
    }
    
    .footer-newsletter {
      width: 100%;
    }
    
    .footer-bottom {
      flex-direction: column;
      gap: 16px;
      align-items: center;
      text-align: center;
    }
  }


  /*-------------------------------------------------------end---------------------*/








 




/*---------------flag moroco icon*/

.morocco-flag {
    width: 50px;  /* Adjust size */
    height: 33px;
    background: url("https://upload.wikimedia.org/wikipedia/commons/2/2c/Flag_of_Morocco.svg") no-repeat center/cover;
    
    /* Glowing Border Effect */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 
                0 0 20px rgba(255, 0, 0, 0.6),
                0 0 30px rgba(255, 0, 0, 0.4);
    
    /* Gradient Border */
    border-image: linear-gradient(45deg, red, green) 1;
  }

  /*----------------------------------------------------------flag icon--------------------------------*/




/*------------------------------------------------------image of website*/
.banner-wrapper {
  width: 100%;
  max-width: 1200px;
  position: relative;
  margin: 0 auto;
  padding-top: 110px;
}

.banner-container {
  width: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 5px solid white;
}

.banner-container:hover {
  transform: translateY(-5px);
}

.banner {
  width: 100%;
  height: auto;
  display: block;
}

/* Optional decorative elements */
.decorative-star {
  position: absolute;
  color: #0a6e58;
  font-size: 5rem;
  z-index: 1;
}

.star-1 {
  top: -20px;
  right: 50px;
}

.star-2 {
  bottom: -15px;
  left: 80px;
}

@media (max-width: 768px) {
  .banner-container {
      border-radius: 15px;
      border-width: 3px;
  }
  
  .decorative-star {
      font-size: 1.5rem;
  }
}

  /*------------------------end----*/



/*---------------------------*/
.about-z {
  background-color: #111827;
  color: white;
  margin-bottom: 2rem;
  padding: 2rem;
  text-align: center;
  align-items: center;
}
  /*--------------------------------------------*/






  /*--------------------------------telegram---------------------------start whatsapp fixed page*/

  .chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-btn {
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: white;
}

.chat-btn:hover {
    transform: scale(1.05);
}

.whatsapp-btn {
    background-color: #25d366;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
}

.telegram-btn {
    background-color: #0088cc;
}

.telegram-btn:hover {
    background-color: #006699;
}
/*------------------------------------------------------------------------------0*/


.inwi {
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
}

.img-inwi {
height: auto;
width: 200px;

}







/*----------------------------------popup 404----------------------------------------*/

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: linear-gradient(145deg, #ffffff, #f3f3f3);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 -2px 10px rgba(255, 255, 255, 0.5),
        inset 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 450px;
    display: none;
    text-align: center;
    color: #333;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.popup p {
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 1.6;
    color: #2c3e50;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.btn-container {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.popup-btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-btn {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    flex: 2;
}

.close-btn {
    background: transparent;
    color: #666;
    border: 2px solid #666;
    flex: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active {
    opacity: 1;
}

/*-----------------------------------------------------------------end*/

/*--------access denied image*/
.accessdn {
  width: 180px;
  height: auto;
  background: transparent;
}




/*------------------------------------------start of boxes ----------------*/

.coupon-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto; /* Centers the container */
  max-width: 1000px;
  margin-top: 3rem;
}

.coupon {
  position: relative;
  width: 320px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.coupon:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.coupon-header {
  padding: 20px;
  background: linear-gradient(to right, #f67b1c, #ff9b49);
  color: white;
  position: relative;
}

.coupon-header.green {
  background: linear-gradient(to right, #00873c, #4bc07a);
}

.coupon-header.purple {
  background: linear-gradient(to right, #de0046, #f7a34b);
}

.coupon-header.blue {
  background: linear-gradient(to right, #1e3c72, #2a5298);
}

.store-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.coming-soon-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 15px;
}

.store-logo {
  height: 40px;
  width: 120px;
  background: white;
  border-radius: 6px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.discount {
  font-size: 32px;
  font-weight: 800;
  margin-top: 10px;
}

.discount-tagline {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 5px;
}

.coupon-body {
  padding: 20px;
}

.coupon-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.coupon-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

.coupon-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.detail-item {
  font-size: 13px;
  color: #777;
}

.detail-item strong {
  display: block;
  font-size: 14px;
  color: #444;
  margin-bottom: 3px;
}

.divider {
  height: 1px;
  background: #eee;
  margin: 15px 0;
}

.action-button {
  display: block;
  width: 100%;
  padding: 14px;
  background: #f67b1c;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
}

.action-button:hover {
  background: #e06a10;
}

.action-button.green {
  background: #00873c;
}

.action-button.green:hover {
  background: #006d30;
}

.action-button.purple {
  background: #de0046;
}

.action-button.purple:hover {
  background: #c40040;
}

.action-button.blue {
  background: #1e3c72;
}

.action-button.blue:hover {
  background: #15305c;
}

.action-button.disabled {
  background: #aaa;
  cursor: not-allowed;
  opacity: 0.7;
}

.action-button.disabled:hover {
  background: #999;
}

.coupon-footer {
  padding: 12px 20px;
  background: #f8f9fb;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: #888;
  text-align: center;
}

.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.coming-soon-text {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .coupon {
    width: 100%;
  }
}
/*----------------------------loading box------------------------------------------------------------------------*/

.loader {
  width: 80px;
  height: 80px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001; /* Above overlay (999) */
  display: none; /* Hidden initially */
}

.loader::before, .loader::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.loader::before {
  border: 4px solid transparent;
  border-top: 4px solid #3498db; /* Blue */
  border-bottom: 4px solid #e74c3c; /* Red */
  opacity: 0.9;
}

.loader::after {
  border: 4px solid transparent;
  border-left: 4px solid #2ecc71; /* Green */
  border-right: 4px solid #f1c40f; /* Yellow */
  animation-direction: reverse; /* Counter-spin */
  opacity: 0.7;
  transform: scale(1.1); /* Slightly larger ring */
}

/* Optional glow effect */
.loader {
  filter: drop-shadow(0 0 8px rgba(52, 152, 219, 0.5));
}

/* Spin animation */
@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}



/*------------------------------------------------------------*/

.chrome-icon {
  width: 30px;
  height: auto;
}

.icon-with-text {
  display: flex;
  align-items: center;
  gap: 5px; /* مسافة بين الصورة والنص */
  margin-left: 45px;
}