* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      scroll-behavior: smooth;
    }

body {
  font-family: sans-serif;
  background: #f6f8fc;
  color: #333;
  
}


    /* NAVBAR STYLES */
    .navbar {
      position: sticky;
      top: 0;
      z-index: 999;
      background: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 45px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .logo img {
      height: 30px;
    text-align: center;
    }

    .logo span {
      font-weight: bold;
    font-size: 20px;
    color: #001a4d;
    margin-top: 8px;
    }

span a {
    text-decoration: none;
    color: black;
}
    #nav-links {
      display: flex;
      gap: 20px;
    }

    #nav-links a {
      text-decoration: none;
      color: #001a4d;
      font-weight: 600;
      padding: 6px 10px;
      transition: color 0.3s;
    }

    #nav-links a:hover,
    #nav-links a.active {
      color: #ef4444;
    }

    .hamburger {
      display: none;
      font-size: 26px;
      cursor: pointer;
    }

    /* Responsive Styles */
    @media (max-width: 768px) {
      #nav-links {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: white;
        width: 200px;
        display: none;
        border: 1px solid #eee;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      }
      #nav-links.show {
        display: flex;
      }
      .hamburger {
        display: block;
      }
    }


.container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  padding: 10px;
}

h1 {
font-size: 27px;
    margin-bottom: 20px;
    color: #001a4d;
    margin-top: 0px;
}

.cards-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: white;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  padding-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.card.red .card-header {
  background: linear-gradient(to right, #f43f5e, #f97316);
}

.card.quiz .card-header {
  background: linear-gradient(to right, #ef4444, #dc2626);
}

.card-header {
  padding: 15px;
  color: white;
  position: relative;
  text-align: left;
}

.card-header h2 {
  font-size: 20px;
}

.card-header p {
  font-size: 14px;
}

.header-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 65px;
  height: 45px;
  object-fit: contain;
}

.card-body {
  max-height: 500px;
  overflow-y: auto;
  padding: 10px;

  /* Hide scrollbar - Firefox */
  scrollbar-width: none;

  /* Hide scrollbar - IE/Edge */
  -ms-overflow-style: none;
}

/* Hide scrollbar - Chrome/Safari/Opera */
.card-body::-webkit-scrollbar {
  display: none;
}

.packet {
  background: #f1f9f8;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  text-align: left;
}

.copy-code {
  cursor: pointer;
  background: #f4f4f4;
  padding: 4px 0px;
  border-radius: 5px;
  display: inline-block;
  color: #f97316;
  font-weight: bold;
  transition: color 0.3s;
  white-space: nowrap;
}

.copy-code.copied {
  color: green;
}

#loadMore, #btn-codes {
  display: block;
  margin: 0px auto;
  margin-top: 10px;
  clear: both;
  position: relative;
  z-index: 1;
}

.packet h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.packet p {
  font-size: 14px;
  margin-bottom: 4px;
}

.see-more {
  background: #ef4444;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.see-more:hover {
  background: #dc2626;
}


.quiz-link {
  color: #4CAF50; /* সবুজ */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.quiz-link:hover {
  color: #388E3C; /* গাঢ় সবুজ */
}

hr.hrclass {
    margin-bottom: 5px;
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

label {
    font-size: 14px;
    font-family: cursive;
}

    /* Content Area */
    .content-section {
      margin: 50px auto;
      max-width: 1000px;
      text-align: left;
    }

    .content-section h2 {
      font-size: 24px;
      color: #001a4d;
      margin-bottom: 10px;
    }

    .content-section p {
      font-size: 16px;
      color: #333;
      line-height: 1.6;
      margin-bottom: 20px;
    }

    /* Jump Buton for homepage */ 
    .jumpbtn {
      color: #090909;
      padding: 8px 10px;
      font-size: 18px;
      border-radius: 0.5em;
      background: #e8e8e8;
      cursor: pointer;
      border: 1px solid #e8e8e8;
      transition: all 0.3s;
      box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
      margin-right: 23px;
      margin-bottom: 19px;
    text-align: center;
    }

a.jumpbtn {
    text-decoration: none;
}
    .jumpbtn:active {
      color: #666;
      box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
    }

    /* Default: Hide buttons */
    .jumpbtn {
      display: none;
    }

    /* Show buttons only on mobile (max-width: 768px) */
    @media (max-width: 768px) {
      .jumpbtn {
        display: inline-block;
      }
    }

 /* Typing */


    .Typing-card{
      background: #f9fafb;
      border:1px solid #edf3ff;
      
      border-radius:12px;
      
      max-width:720px;
      width:100%;
    }

    .Typing-note-line{
      display:flex;
      align-items:baseline;
      gap:12px;
      font-size:18px;
      line-height:1;
      white-space:nowrap;
      overflow:hidden;
    }

    .Typing-tag{
      font-weight:700;
      color:#e10d0d;
      background:rgb(229 141 5 / 9%);
      padding:6px 10px;
      border-radius:8px;
      font-size:14px;
      letter-spacing:0.4px;
    }

    .Typing-text-wrap{
      display:inline-block;
      min-width:220px;
      max-width:calc(100% - 160px);
      position:relative;
      text-align: left;
    }

    .Typing-typed{
      
      color:#111827;
      display:inline-block;
      font-size:14px;
    }

    .Typing-cursor{
      display:inline-block;
      width:2px;
      height:16px;
      background:#dc2626;
      margin-left:6px;
      border-radius:2px;
      animation:Typing-blink 1s steps(2, start) infinite;
      vertical-align:bottom;
    }
    @keyframes Typing-blink{50%{opacity:0}}

    .Typing-meta{
      margin-top:8px;
      color:#6b7280;
      font-size:13px;
    }

    @media (max-width:420px){
      .Typing-note-line{font-size:16px}
      .Typing-tag{padding:5px 8px}
    }







    /* Home Page Slider */
.slider-container {
  position: relative;
  max-width: 70%;
  height: 255px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.25);
}


/* Responsive */
@media (max-width: 600px) {
  .slider-container {
    max-width: 97%;
    height: auto;
  }
}

.slide {
  display: none;
  width: 100%;
}

.slide img {
  width: 100%;
  border-radius: 0px;
}

.slide.active {
  display: block;
}


/* Fade Animation */
.fade {
  animation: fadeEffect 1s ease-in-out;
}
@keyframes fadeEffect {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Prev/Next Buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 12px 16px;
  font-size: 22px;
  border: none;
  cursor: pointer;
  border-radius: 50%;
}

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.7);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Dots */
.dots {
  text-align: center;
  padding: 0px 0;
}

.dot {
  height: 8px;
  width: 8px;
  margin: 3px;
  background: #bbb;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #333;
}

/* Responsive */
@media (max-width: 600px) {
  .prev, .next {
    padding: 8px 12px;
    font-size: 18px;
  }
}



    /* Footer */
    footer {
      background-color: #222325;
      color: white;
      text-align: center;
      padding: 8px 10px;
      
    }

    footer a {
      color: #f97316;
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }

