/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to bottom right, #eef2f3, #fdfbfb);
  color: #1f2937;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  padding: 20px 20px;
  text-align: center;
  color: white;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
}

.cta-button {
  background: #facc15;
  color: #1f2937;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 8px;
  display: inline-block;
  margin: 10px 5px;
  font-size: 16px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.cta-button:hover {
  background: #eab308;
  transform: scale(1.05);
}

/* Section Design */
.section {
  padding: 60px 15px;
  text-align: center;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 25px;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 50%;
  height: 4px;
  margin: 8px auto 0;
  background: #3b82f6;
  border-radius: 4px;
}

/* Countdown Design */
.countdown-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.time-box {
  background: white;
  padding: 20px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #1e3a8a;
  font-size: 32px;
  font-weight: bold;
  min-width: 80px;
  text-align: center;
  transition: 0.4s;
}

.time-box:hover {
  transform: scale(1.1);
}

.time-label {
  font-size: 14px;
  color: #64748b;
  margin-top: 6px;
}

/* Features Section */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.feature-box {
  flex: 1 1 250px;
  background: white;
  padding: 20px 15px; /* padding কমানো হয়েছে */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s ease;
  min-height: 180px; /* height ফিক্স করা হয়েছে */
  display: flex;
  flex-direction: column;
  justify-content: center; /* content vertically center */
  text-align: center;
}

.feature-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-box h3 {
  color: #3b82f6;
  margin-bottom: 8px;
  font-size: 18px;
}

.feature-box p {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.4;
}
/* Instructor Section */
.instructor {
  text-align: center;
  padding: 60px 15px;
  background: #f3f4f6;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s ease;
}

.instructor.visible {
  opacity: 1;
  transform: translateY(0);
}

.instructor img {
  width: 130px;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid #1700ff;
}

.instructor h3 {
  margin-top: 10px;
  font-size: 20px;
  color: #1700ff;
}

/* Register Section */
.register {
  padding: 70px 15px;
  text-align: center;
  background: linear-gradient(135deg, #1f2937, #111827);
  color: white;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s ease;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.register.visible {
  opacity: 1;
  transform: translateY(0);
}

.register a.cta-button {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 6px;
  margin: 8px 5px;
}

.register a.cta-button.whatsapp {
  background: #25d366;
  color: white;
}

.register a.cta-button.register-form {
  background: #3b82f6;
  color: white;
}

.footer {
  padding: 20px 10px;
  text-align: center;
  background: #e5e7eb;
  color: #374151;
  font-size: 13px;
}

/* Floating WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.whatsapp-button:hover {
  background: #128c7e;
  transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .time-box {
    font-size: 24px;
    min-width: 70px;
    padding: 15px 10px;
  }

  @media (max-width: 600px) {
  .feature-box {
    flex: 1 1 90%;
    padding: 15px 10px;
    min-height: 150px; /* মোবাইলের জন্য height কমানো হয়েছে */
  }

  .feature-box h3 {
    font-size: 16px;
  }

  .feature-box p {
    font-size: 13px;
  }
}

  .instructor,
  .register {
    opacity: 1;
    transform: translateY(0);
  }

  .whatsapp-button {
    padding: 10px 16px;
    font-size: 13px;
  }
}

.price-join-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fefce8;
  padding: 20px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin: 30px auto;
  animation: slideUp 1s ease;
}

.original-price {
  font-size: 24px;
  font-weight: bold;
  color: #dc2626;
  text-decoration: line-through;
}
.offer-price {
  font-size: 24px;
  font-weight: bold;
  color: #dc2626;
  text-decoration: line-through;
}

.join-now-button {
  background: #3b82f6;
  color: white;
  padding: 12px 26px;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.join-now-button:hover {
  background: #2563eb;
  transform: scale(1.05);
}

/* Responsive for Mobile */
@media (max-width: 500px) {
  .price-join-box {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .join-now-button {
    width: 100%;
  }
}

/* Optional Animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.super-animated-box {
  background: linear-gradient(135deg, #fffbeb, #fef08a);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 22px 28px;
  border-radius: 18px;
  text-align: center;
  margin: 50px auto;
  max-width: 650px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  animation: bounce 2s infinite ease-in-out, glow 5s infinite alternate, fadeInUp 1s ease-out;
}

/* Bounce Animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Glowing border animation */
.super-animated-box::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(45deg, #facc15, #f59e0b, #eab308, #fcd34d);
  z-index: -1;
  border-radius: 20px;
  filter: blur(10px);
  animation: glowGradient 5s ease infinite;
}

@keyframes glowGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Smooth fade in up on load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .super-animated-box {
    font-size: 16px;
    padding: 18px 20px;
    max-width: 90%;
  }
}


.mela-market {
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  border: 1px dashed #fff;
}