html {
  scroll-behavior: smooth;
}

/* General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #0c1222;
  color: #fff;
}

.container {
  width: 90%;
  margin: auto;
}

/* Navbar */
.navbar {
  background-color: #0b1120;
  padding: 15px 0;
  position: relative;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #1e90ff;
}

.logo span {
  background: #7d4dff;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}

.menu {
  display: flex;
}

.menu a {
  margin: 0 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-family: poppins;
}

.menu a:hover {
  color: #22c55e; /* টেক্সট কালার পরিবর্তন */
}


.auth-buttons .btn {
  padding: 6px 12px;
  margin-left: 8px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: 0.3s;
}

.login {
 border: none;
  color: #fff;
  background: #7c3aed;
}

.login:hover {
  background: #03f3cb;
  color: #0b1120;
}

.register {
  background: #7c3aed;
  color: #fff;
}

.register:hover {
  background: #03f3cb;
   color: #0b1120;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #0c1222;
  padding: 15px;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid #222;
  font-weight: 500;
}

.mobile-menu a:hover {
  color: #22c55e;
}

.mobile-menu .btn {
  display: inline-block;
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 13px;
  margin-top: 8px;
  width: fit-content;

}

.mobile-menu.active {
  display: flex;
}

/* Hero Section */
.hero {
  padding: 80px 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.hero-text h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #22c55e;
}

.hero-text p {
  color: #a1a1aa;
  margin-bottom: 20px;
}

.get-started {
   border: none;
  background: #7c3aed;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.get-started:hover {
   background: #03f3cb;
   color: #0b1120;
}

.hero-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.hero-image img {
  max-width: 70%;
  border-radius: 10px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Features Section */
.features {
  padding: 50px 20px;
  background: #0c1222;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-box {
  background: #11172a;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

.feature-box p {
  font-size: 14px;
  color: #a1a1aa;
}

/* Mobile view fix */
@media (max-width: 768px) {
       .features{
       padding:20px;
       }
  .features-container {
    grid-template-columns: 1fr;  /* সব box এক লাইনে আসবে */
  }
}




/* Advantages Section */
.advantages {
  padding: 20px 100px;
  background: #0c1222;
  text-align: center;
  cursor: pointer;
}

.advantages h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #1e90ff, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
    margin-bottom: 40px;
}
.advantages h2::after {
  content: "";
  width: 50px;
  height: 2px;
  background: #7d4dff;
  position: absolute;
  left: 0;
  bottom: -6px;
  border-radius: 2px;
}
.advantages-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.advantage-box {
  background: #11172a;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.advantage-box:hover {
  transform: translateY(-5px);
}

.advantage-box .icon {
  font-size: 32px;
  margin-bottom: 15px;
  color: #22c55e;
}

.advantage-box h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.advantage-box p {
  font-size: 14px;
  color: #a1a1aa;
}

/* 📱 Mobile responsive fix */
@media (max-width: 768px) {
  .advantages {
    padding: 20px; /* mobile এ padding ছোট */
  }
  .advantages-container {
    grid-template-columns: 1fr; /* সব box এক কলামে */
  }
}


/* Pricing Section */
.pricing {
  padding: 70px 70px;
  background: #0c1222;
  text-align: center;
  cursor: pointer;
}

.pricing h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #1e90ff, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
    margin-bottom: 40px;
}


.pricing h2::after {
  content: "";
  width: 50px;
  height: 2px;
  background: #7d4dff;
  position: absolute;
  left: 0;
  bottom: -6px;
  border-radius: 2px;
}

.pricing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.pricing-box {
  background: #11172a;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.pricing-box:hover {
  transform: translateY(-5px);
}

.pricing-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.pricing-box .price {
  font-size: 20px;
  font-weight: bold;
  color: #22c55e;
  margin-bottom: 15px;
}

.pricing-box .price span {
  font-size: 14px;
  color: #a1a1aa;
}

.pricing-box ul {
  list-style: none;
  text-align: center;
  margin-bottom: 15px;
}

.pricing-box ul li {
  font-size: 14px;
  margin: 6px 0;
  color: #a1a1aa;
}

.btn-buy {
  display: inline-block;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
   border: none;
  color: #fff;
  background: #7c3aed;
}

.btn-buy:hover {
  background: #16a34a;
  color: #0b1120;
}

/* Testimonials Section */
.testimonials {
  padding: 10px 70px;
  background: #0c1222;
  text-align: center;
  cursor: pointer;
}

.testimonials h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #1e90ff, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
    margin-bottom: 40px;
}

.testimonials h2::after {
  content: "";
  width: 50px;
  height: 2px;
  background: #7d4dff;
  position: absolute;
  left: 0;
  bottom: -6px;
  border-radius: 2px;
}



.testimonial-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: #11172a;
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.testimonial-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #a1a1aa;
}

.author {
  display: flex;
  align-items: center;
}

.author img {
  border-radius: 50%;
  margin-right: 10px;
}

/* Contact Section */
.contact {
  padding: 70px 70px;
  background: #0c1222;
  text-align: center;
}

.contact h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #1e90ff, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
    margin-bottom: 40px;
}

.contact h2::after {
  content: "";
  width: 50px;
  height: 2px;
  background: #7d4dff;
  position: absolute;
  left: 0;
  bottom: -6px;
  border-radius: 2px;
}

.contact p {
  margin-bottom: 30px;
  color: #a1a1aa;
}

.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: none;
  outline: none;
  background: #1a1f35;
  color: #fff;
  font-size: 14px;
}

.contact-form button {
  background: #22c55e;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #16a34a;
}

/* Footer */
.footer {
  background: #0b1120;
  padding: 50px 20px 20px;
  color: #a1a1aa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background: #0b1120;
  padding: 50px 20px 20px;
  color: #a1a1aa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; /* ছোট gap */
  max-width: 1200px;
  margin: auto;
  margin-bottom: 30px;
}

.footer h3.logo {
  font-size: 22px;
  font-weight: bold;
  color: #1e90ff;
}

.footer h3.logo span {
  background: #7d4dff;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 14px;
  color: #fff;
  position: relative;
}

.footer-col h4::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #22c55e;
  position: absolute;
  left: 0;
  bottom: -5px;
}

.footer-col p {
  font-size: 14px;
  line-height: 22px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #a1a1aa;
  font-size: 14px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #22c55e;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #222;
  padding-top: 15px;
  font-size: 13px;
  color: #777;
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr; /* সব column নিচে নিচে আসবে */
    text-align: center; /* mobile এ center align */
    gap: 20px;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%); /* center underline */
  }

  .footer-col ul li a:hover {
    padding-left: 0; /* mobile এ shift না হয় */
  }
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr; /* সব কলাম নিচে */
    text-align: center;         /* center align */
    gap: 30px;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%); /* underline center হবে */
  }

  .footer-col ul li a:hover {
    padding-left: 0; /* mobile এ shift হবে না */
  }
}

/* Responsive */
@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    max-width: 100%;
    margin-top: 20px;
  }
}

/* Preloader Background */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0c1222;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Loader Animation */
.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #007bff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

/* Spin Effect */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* When hidden */
#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

