* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
   -webkit-tap-highlight-color: transparent; /*Stops default flash*/
}

/*Stops default flash*/
/* সব elements এর tap highlight বন্ধ */
/* {-webkit-tap-highlight-color: transparent;}*/

/* button, link click flash বন্ধ */
button,
a,
input,
textarea,
select {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* active/focus state remove */
button:focus,
button:active,
a:focus,
a:active {
  outline: none;
  box-shadow: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Hind Siliguri', sans-serif;
  background: #f4f9ff;
  color: #1e293b;
  line-height: 1.7;
}

.container {
  width: 92%;
  max-width: 1280px;
  margin: auto;
}

.section {
  padding: 90px 0;
}

.alt-bg {
  background: #edf7ff;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 40px;
  margin-bottom: 12px;
  color: #0f172a;
}

.section-title p {
  color: #475569;
  font-size: 17px;
}


/* HEADER */
.main-header {
  position: relative;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-box img {
  width: 65px;
}

.logo-box h1 {
  font-size: 24px;
  color: #0f172a;
}

.logo-box p {
  color: #475569;
  font-size: 14px;
}




/* =========================
   NAV DESKTOP (default)
========================= */

nav {
  display: flex;
  gap: 25px;
  flex-wrap: nowrap;
}

nav a {
  text-decoration: none;
  color: #111827;
  font-weight: 500;
  font-size: 16px;
  transition: 0.2s ease;
  white-space: nowrap;
}

nav a:hover {
  color: #2563eb;
}

/* =========================
   MOBILE FIX (single line nav)
========================= */

@media (max-width: 768px) {

  nav {
    gap: 12px;              /* কম gap */
    overflow-x: auto;       /* স্ক্রল হলে সমস্যা নেই */
    -webkit-overflow-scrolling: touch;
  }

  nav a {
    font-size: 13px;        /* ছোট টেক্সট */
    font-weight: 500;
    padding: 6px 4px;       /* কম padding */
    flex-shrink: 0;         /* ভেঙে নিচে যাবে না */
  }

  /* optional: scrollbar hide (clean look) */
  nav::-webkit-scrollbar {
    display: none;
  }
}


/* HERO */
.hero-section {
  padding: 100px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0ea5e9, #10b981);
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  margin-bottom: 25px;
  font-weight: 600;
}

.hero-left h2 {
  font-size: 55px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-left p {
  font-size: 18px;
  color: #475569;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn,
.card-btn {
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-family: inherit;
}

.primary-btn {
  background: linear-gradient(135deg, #0284c7, #10b981);
  color: #fff;
  padding: 15px 32px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(14,165,233,0.25);
}

.primary-btn:hover {
  transform: translateY(-3px);
}

.secondary-btn {
  background: #fff;
  color: #0f172a;
  padding: 15px 28px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 16px;
  font-weight: 600;
}

.hero-card {
  background: linear-gradient(135deg, #0f172a, #0ea5e9);
  border-radius: 30px;
  padding: 50px;
  display: grid;
  gap: 25px;
  color: #fff;
  box-shadow: 0 25px 60px rgba(2,132,199,0.25);
}

.hero-stat {
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 25px;
}

.hero-stat h3 {
  font-size: 40px;
}


/* TEST BOARD */
.test-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.test-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.test-card:hover {
  transform: translateY(-6px);
}

.test-top {
  padding: 18px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

.biology {
  background: linear-gradient(135deg, #10b981, #059669);
}

.chemistry {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.physics {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.english {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.test-body {
  padding: 28px;
}

.test-body h3 {
  margin-bottom: 15px;
}

.card-btn {
  margin-top: 20px;
  width: 100%;
  background: #0f172a;
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
}

.card-btn:hover {
  background: #0ea5e9;
}


/* FORM */
.form-box {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.input-group {
  margin-bottom: 22px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.input-group input {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 16px;
  font-family: inherit;
}

.full-btn {
  width: 100%;
}


/* PAYMENT */
.payment-grid,
.result-grid,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.payment-card,
.result-box {
  background: #fff;
  border-radius: 24px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.payment-card i {
  font-size: 45px;
  margin-bottom: 20px;
  color: #0ea5e9;
}

.payment-card h4 {
  font-size: 36px;
  margin: 15px 0;
}

.featured-plan {
  background: linear-gradient(135deg, #0ea5e9, #10b981);
  color: #fff;
}

.featured-plan i,
.featured-plan .card-btn {
  color: #fff;
}

.featured-plan .card-btn {
  background: rgba(255,255,255,0.15);
}


/* RULES */
.rules-box {
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.rules-box ul {
  padding-left: 20px;
}

.rules-box li {
  margin-bottom: 15px;
  font-size: 17px;
}


/* FOOTER */
footer {
  background: #0f172a;
  color: #fff;
  padding-top: 70px;
}

.footer-grid {
  padding-bottom: 40px;
}

.footer-grid h3,
.footer-grid h4 {
  margin-bottom: 18px;
}

.footer-grid a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 20px;
  color: #94a3b8;
}


/* FLOAT BUTTON */
#scrollTopBtn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 55px;
  height: 55px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #10b981);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: none;
  box-shadow: 0 12px 25px rgba(14,165,233,0.3);
}


/* RESPONSIVE */
@media (max-width: 900px) {

  .nav-wrapper {
    flex-direction: column;
    gap: 18px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-left h2 {
    font-size: 38px;
  }

  .section-title h2 {
    font-size: 32px;
  }

}

@media (max-width: 600px) {

  .hero-left h2 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .form-box,
  .rules-box {
    padding: 25px;
  }

}



/* =========================
   SOCIAL CONNECT SECTION
========================= */
/* =========================
   SOCIAL CONNECT SECTION
========================= */

.social-connect {
  padding: 70px 20px;
  background: #ffffff;
  text-align: center;
  border-top: 1px solid #e5e7eb;
}

.social-connect-content {
  max-width: 700px;
  margin: auto;
}

.social-connect h2 {
  color: #111827;
  font-size: 2rem;
  margin-bottom: 15px;
}

.social-connect p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 35px;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: 0.3s ease;
  font-size: 1rem;
}

.social-btn i {
  font-size: 1.2rem;
}

.social-btn.facebook {
  background: #1877f2;
}

.social-btn.youtube {
  background: #ff0000;
}

.social-btn:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 600px) {

  .social-connect {
    padding: 55px 16px;
  }

  .social-connect h2 {
    font-size: 1.6rem;
  }

  .social-btn {
    width: 100%;
    justify-content: center;
  }

}