:root {
  --primary: #6366f1;
  --secondary: #4f46e5;
  --dark: #0f172a;
  --glass: rgba(255, 255, 255, 0.9);
  --text: #334155;
  --white: rgb(255, 255, 255);
}

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

body {
  font-family: "Poppins", sans-serif;
  background-color: #E5E5E5;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}


/* Background Design */
.blob-bg {
  position: fixed;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.1) 0%,
    transparent 70%
  );
  z-index: -1;
}

/* Container: ডেস্কটপে গ্যাপ কমানোর জন্য উইডথ বাড়ানো হয়েছে */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Mobile Header */
.mobile-nav-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--dark);
  padding: 15px 20px;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
    font-size: 20px; /* লোগোর জন্য পারফেক্ট সাইজ */
    font-weight: 600;
    color: var(--white); /* অথবা আপনার পছন্দমতো var(--white) */
    margin: 0; /* h2 এর ডিফল্ট মার্জিন সরিয়ে ফেলার জন্য */
    padding: 0;
    letter-spacing: 0.5px;
}


.menu-btn {
  font-size: 24px;
  color: var(--dark);
  cursor: pointer;
}

/* Hero Section */
.modern-hero {
  padding: 80px 0 100px;
  text-align: center;
  background: var(--dark);
  color: white;
  clip-path: ellipse(160% 100% at 50% 0%);
}

.badge {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 20px;
  border: 1px solid var(--primary);
}

.text-gradient {
  background: linear-gradient(to right, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* layout */
.main-layout {
  display: flex;
  gap: 30px;
  margin-top: -50px;
  position: relative;
}

/* Sidebar Desktop */
.modern-sidebar {
  flex: 0 0 280px;
}

.sidebar-inner {
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 20px;
  position: sticky;
  top: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.sidebar-inner h3 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--dark);
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  text-decoration: none;
  color: var(--text);
  border-radius: 12px;
  transition: 0.3s;
  margin-bottom: 8px;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* Content Area */
.content-area {
  flex: 1;
}

.glass-card {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid #f1f5f9;
}

.card-icon {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 15px;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}
.info-item {
  background: #f8fafc;
  padding: 15px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid #edf2f7;
}

.highlight-card {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
}
.highlight-card h2 {
  color: white;
}

.footer-card {
  background: var(--dark);
  color: white;
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  margin-top: 40px;
}

.btn-primary {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 35px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
}

/* Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.5s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Sidebar Drawer */
@media (max-width: 992px) {
  .mobile-nav-bar {
    display: flex;
  }
  .modern-hero {
    padding-top: 100px;
  }

  .modern-sidebar {
    position: fixed;
    top: 0;
    left: -300px; /* Hidden by default */
    height: 100%;
    width: 280px;
    z-index: 1002;
    transition: 0.4s;
  }

  .modern-sidebar.open {
    left: 0;
  }

  .sidebar-inner {
    height: 100%;
    border-radius: 0;
  }

  .main-layout {
    flex-direction: column;
    margin-top: 20px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }

  /* Overlay */
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
  }
  .sidebar-overlay.active {
    display: block;
  }
}




/* ৩ নম্বর সেকশনের স্পেশাল কার্ড ডিজাইন */
.vendor-modern-card {
    border-left: 5px solid var(--primary) !important;
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(99, 102, 241, 0.05)) !important;
}

.modern-badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.badge-item {
    background: white;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
}

.badge-icon-wrapper {
    width: 45px;
    height: 45px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text strong {
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 2px;
}

.badge-text span {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.section-desc {
    color: #475569;
    font-size: 15px;
    max-width: 800px;
}










/* MarkDown quick styling */

/* মেইন কন্টেইনার স্টাইল */
.markdown-body {
    font-family: 'Poppins', sans-serif;
    color: #334155;
}

/* সেকশন হেডার (h3) */
.markdown-body h3 {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* সাব-টাইটেল বা সারসংক্ষেপ (Strong/Bold) */
.markdown-body strong {
    color: #1e293b;
    font-weight: 600;
}

/* প্যারাগ্রাফ স্টাইল */
.markdown-body p {
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* লিস্ট স্টাইল (Card Style) */
.markdown-body ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.markdown-body li {
    background: rgba(255, 255, 255, 0.6); /* হালকা ট্রান্সপারেন্ট */
    backdrop-filter: blur(5px);
    padding: 18px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-left: 5px solid var(--primary); /* বামে হাইলাইট বার */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* লিস্ট আইটেম হোভার ইফেক্ট */
.markdown-body li:hover {
    background: #ffffff;
    transform: translateX(8px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

/* ইমোজি বা আইকন বড় করা (ঐচ্ছিক) */
.markdown-body li::first-line {
    font-size: 1.05rem;
}

/* হরিজন্টাল লাইন (HR) */
.markdown-body hr {
    border: 0;
    height: 1.5px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 40px 0;
}

/* মোবাইল রেসপন্সিভ অ্যাডজাস্টমেন্ট */
@media (max-width: 768px) {
    .markdown-body h3 {
        font-size: 1.2rem;
    }
    .markdown-body li {
        padding: 15px;
    }
}

/* গ্লোয়িং মুভিং কার্সর */
.moving-cursor {
    display: inline-block;
    color: var(--primary);
    font-size: 1.2rem;
    margin-left: 5px;
    vertical-align: baseline;
    filter: drop-shadow(0 0 5px var(--primary)) drop-shadow(0 0 10px var(--primary));
    animation: blinkCursor 0.5s infinite alternate;
    line-height: 0;
}

@keyframes blinkCursor {
    from { opacity: 1; transform: scale(1.1); }
    to { opacity: 0.3; transform: scale(0.9); }
}


/* টাইপিং চলাকালীন শুধুমাত্র টেক্সট এবং কার্সর যাতে পাশাপাশি থাকে */
.markdown-body.is-typing p, 
.markdown-body.is-typing li {
    display: inline-block; 
    margin-right: 5px;
}

/* লিস্ট আইটেমের ভেতরকার কন্টেন্ট যাতে ভেঙে না যায় */
.markdown-body li {
    display: block; /* ডিফল্ট ব্লক থাকবে */
    width: 100%;
    clear: both;
}

/* টাইপিং শেষ হলে ক্লাস রিমুভ হবে এবং সব ব্লক হয়ে যাবে */
.markdown-body:not(.is-typing) p,
.markdown-body:not(.is-typing) li {
    display: block;
}
/* MarkDown quick styling */




/* স্মুথ স্ক্রলিং */
html {
  scroll-behavior: smooth;
}

/* সেকশন গুলোর জন্য টপ মার্জিন (হেডারের জন্য) */
#intro, #collection, #usage, #data-security-policy, #payment, #contact {
  scroll-margin-top: 100px;
}

/* অ্যাক্টিভ নেভিগেশন স্টাইল */
.nav-link.active {
  background: var(--primary-light); /* হালকা নীল ব্যাকগ্রাউন্ড */
  color: var(--primary) !important;
  font-weight: 600;
  border-right: 4px solid var(--primary);
  transform: translateX(5px);
}

.nav-link {
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 5px;
}

.ws-btn {
  background-color: #25D366;
  /* হোয়াটসঅ্যাপ গ্রিন */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

.ws-btn:hover {
  transform: scale(1.05);
  background-color: #128C7E;
}

/* সোশ্যাল বাটন কমন স্টাইল */
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  color: white !important;
  /* টেক্সট সাদা */
  margin: 10px 5px;
  transition: all 0.3s ease;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ফেসবুক বাটন কালার */
.fb-btn {
  background: #1877F2;
}

.fb-btn:hover {
  background: #145dbf;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(24, 119, 242, 0.4);
}

/* ইউটিউব বাটন কালার */
.yt-btn {
  background: #FF0000;
}

.yt-btn:hover {
  background: #cc0000;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.4);
}

/* আইকন সাইজ */
.social-btn i {
  font-size: 18px;
}