/* Common setup */
body {
  position: relative;
  z-index: 0;
}

/* Overlay setup */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -999;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.15;
}

/* 🌞 Light Mode (color + faint image) */
body {
  background-color: #f0f4f8; /* Light base color */
}
body::before {
  background-image: url('/assets/home-bg.webp');
}

/* 🌙 Dark Mode Background (fixed) */
.dark-mode body {
  background-color: #0a0f1c;
  padding-top: 50px;
  margin-top: 0px;
}



.dark-mode body::before {
  background-image: url('/assets/home-bg.webp');
}

/* 🌞 Light Mode Mobile */
@media (max-width: 768px) {
  body::before {
    background-image: url('/assets/home-bg.webp');
  }
}

/* 🌙 Dark Mode Mobile */
@media (max-width: 768px) {
  .dark-mode body::before {
    background-image: url('/assets/home-bg.webp');
  }
}


.stars-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;   /* সব কিছুর উপরে */
  overflow: hidden;
}



.dark-mode .stars-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

/* ⭐ Single star */
.dark-mode .star {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px) drop-shadow(0 0 8px currentColor);
  opacity: 0.9;
  background: currentColor;
  animation: floatStar linear infinite;
}

/* 🌠 Animation */
@keyframes floatStar {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  to {
    transform: translate(var(--dx), var(--dy)) scale(1.3);
    opacity: 0;
  }
}







.hero-box {
  padding: 10px 30px 10px 20px;
  text-align: center;
}

.hero-text {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(90deg, #4ca7aa, #cc13bd, #077A7D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  line-height: normal;
}

.hero-description {
  font-size: 16px;
  margin-bottom: 20px;
  color: #fff;
}

/* Hero button full width */
.hero-link-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%; /* full width */
  max-width: 500px;
  margin: 0 auto; /* center */
  background: linear-gradient(90deg, #4ca7aa, #8000ff, #077A7D); /* left-right to middle purple */
  color: #fff !important;
  border-radius: 8px;
  padding: 14px 20px;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 900;
  transition: all 0.3s ease-in-out;
}

.hero-link-bg i {
  font-size: 18px;
}

/* Button hover */
.hero-link-bg:hover {
  background: linear-gradient(90deg, #4facfe, #aa00ff, #00f2fe);
  box-shadow: 0 0 10px #00f2fe, 0 0 20px #4facfe;
  transform: scale(1.05);
}

/* Mobile responsive */
@media (max-width: 600px) {
  .hero-box {
    padding: 12px;
    text-align: center;
    margin-left: 12px;
    margin-right: 12px;
    margin-top: -25px;
  }

  .hero-text {
    font-size: 1.8rem;
    line-height: 40px;
  }

  .hero-description {
    font-size: 14px;
    color: #077A7D;
  }

  .hero-link-bg {
    width: calc(100% - 20px); /* full width minus padding */
    max-width: none;
    margin: 10px auto 0 auto; /* centered */
    display: flex !important;
    justify-content: center !important; /* center content */
    align-items: center !important;
    gap: 10px;
    font-size: 14px !important;
    padding: 12px;
    text-align: center;
  }

  .hero-link-bg i {
    margin-right: 5px;
  }
}


/* Dark mode */
html.dark-mode .hero-text {
  background: linear-gradient(90deg, #4ca7aa, #bb24bb, #077A7D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.dark-mode .hero-description {
  color: #fff;
}

html.dark-mode .hero-link-bg {
  color: #fff !important;
}









/* 🔽 Info Box Style */
.info-box {
  background: #fff; /* ap-text এর background এর মতো */
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 15px 20px;
  margin: 20px 40px;
}

.info-box .info-text {
  display: flex;
  align-items: center;
  position: relative;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 700;
  color: #077a7d;
}


.info-box .info-text i {
  margin-right: 8px;
  color: #077a7d;
}


.info-box .line {
  flex: 1;
  height: 2px;
  background: #077A7D;
  border-radius: 2px;
  margin: 0 10px;
}


.info-box .highlight-number {
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
  color: #fff;
}

/* 🔹 আলাদা আলাদা ব্যাকগ্রাউন্ড */
.info-box .highlight-number.tools {
  background: #ec04ec;
}
.info-box .highlight-number.sort {
  background: #f39c12;
}
.info-box .highlight-number.secret {
  background: #e74c3c;
}
.info-box .highlight-number.total {
  background: #2ecc71;
}


@media (max-width: 600px) {
  .info-box {
    margin: 15px 15px;  
    padding: 10px 30px; 
  }

  .info-box .info-text {
    font-size: 14px; 
    padding: 5px 0px 5px 0px;
 
  }

  .info-box .info-text i {
    margin-right: 10px;
    font-size: 18px;
  }

  .info-box .line {
    width: 100%;  
    height: 3px;
    margin: 6px;  
  }

  .info-box .highlight-number {
    margin-left: 0;  
    padding: 0px 10px;
    font-size: 12px;
    font-weight: 800;
  }
}


/* Dark Mode */
html.dark-mode .info-box {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

html.dark-mode .info-box .info-text {
  color: #ffffff;
}

html.dark-mode .info-box .info-text i {
  color: #077A7D;
}

html.dark-mode .info-box .line {
  background: #ffffff;
}







.slider-wrapper {
  position: relative;
  width: 90%;
  max-width: 800px;
  overflow: hidden;
  border-radius: 15px;
  margin: 40px auto;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
  cursor: grab;
}

.slide {
  min-width: 100%;
  user-select: none;
}

.slide img {
  width: 100%;
  border-radius: 15px;
  display: block;
}

.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

.dot {
  display: inline-block;
  width: 20px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  margin: 0 5px;
  border-radius: 3px;
  transition: all 0.3s;
}

.dot.active {
  background: #077A7D;
  width: 30px;
}


