:root {
  --green: #00c853;
  --green-dark: #009624;
  --green-light: #69f0ae;
  --teal: #00bcd4;
  --dark: #0a0f1e;
  --dark2: #111827;
  --card: #161d2e;
  --card2: #1e2740;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #ffd600;
  --red: #ff5252;
  --purple: #7c3aed;
  --orange: #f97316;
  --pink: #ec4899;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --dark: #f1f5f9;
  --dark2: #e2e8f0;
  --card: #ffffff;
  --card2: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
}

* { margin: 0; padding: 0; box-sizing: border-box; }


/* ========== সার্কুলার ক্যারোসেল ব্যাকগ্রাউন্ড অ্যানিমেশন ========== */
body {
  position: relative;
  background: var(--dark);
  overflow-x: hidden;
}

/* ব্যাকগ্রাউন্ডের জন্য অ্যানিমেটেড সার্কেল কন্টেইনার */
.circular-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* সার্কেলগুলোর সাধারণ স্টাইল */
.circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: floatCircle 20s infinite ease-in-out;
}

/* বিভিন্ন সার্কেলের সাইজ ও কালার */
.circle-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #00c853, #00bcd4);
  top: -100px;
  left: -100px;
  animation-duration: 25s;
}

.circle-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #7c3aed, #ec4899);
  bottom: -150px;
  right: -150px;
  animation-duration: 30s;
  animation-delay: 2s;
}

.circle-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #f97316, #ffd600);
  top: 40%;
  left: -80px;
  animation-duration: 18s;
  animation-delay: 5s;
}

.circle-4 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #3b82f6, #06b6d4);
  bottom: 20%;
  right: -120px;
  animation-duration: 22s;
  animation-delay: 8s;
}

.circle-5 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #00c853, #69f0ae);
  top: 60%;
  left: 20%;
  animation-duration: 28s;
  animation-delay: 3s;
}

.circle-6 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #ec4899, #f472b6);
  top: -150px;
  right: 10%;
  animation-duration: 35s;
  animation-delay: 10s;
}

.circle-7 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #a855f7, #7c3aed);
  bottom: 30%;
  left: -100px;
  animation-duration: 26s;
  animation-delay: 1s;
}

.circle-8 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #f59e0b, #f97316);
  top: 20%;
  right: -80px;
  animation-duration: 32s;
  animation-delay: 6s;
}

/* ঘূর্ণন অ্যানিমেশন */
@keyframes floatCircle {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translate(30px, -30px) scale(1.05) rotate(90deg);
    opacity: 0.5;
  }
  50% {
    transform: translate(-20px, 40px) scale(0.95) rotate(180deg);
    opacity: 0.4;
  }
  75% {
    transform: translate(40px, 20px) scale(1.03) rotate(270deg);
    opacity: 0.55;
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(360deg);
    opacity: 0.3;
  }
}

/* লাইট থিমের জন্য ব্যাকগ্রাউন্ড অ্যাডজাস্ট (ঐচ্ছিক) */
[data-theme="light"] .circular-bg .circle {
  opacity: 0.25;
  filter: blur(70px);
}

[data-theme="light"] .circle-1 {
  background: radial-gradient(circle, #00c853, #00bcd4);
}
[data-theme="light"] .circle-2 {
  background: radial-gradient(circle, #7c3aed, #a855f7);
}
[data-theme="light"] .circle-3 {
  background: radial-gradient(circle, #f97316, #fbbf24);
}

body {
  font-family: 'Hind Siliguri', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  transition: var(--transition);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  background: rgba(10,15,30,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,200,83,0.15);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
}

.nav-logo {
  font-size: 1.3rem; font-weight: 700;
  background: linear-gradient(90deg, var(--green), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex; align-items: center; gap: .5rem;
}

.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size:.9rem;
  transition: color .2s; cursor:pointer;
}
.nav-links a:hover { color: var(--green); }

.theme-toggle {
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.2rem;
  transition: var(--transition);
}
.theme-toggle:hover { background: rgba(0,200,83,0.2); transform: scale(1.05); }

.search-container {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  position: relative;
}
.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: var(--card);
  border: 1px solid rgba(0,200,83,0.2);
  border-radius: 50px;
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
}
.search-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,200,83,0.1);
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.hero {
  min-height: 100vh;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,200,83,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0,188,212,0.1) 0%, transparent 50%),
              var(--dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 2rem 4rem;
  position: relative; overflow: hidden;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,200,83,0.15);
  border: 1px solid rgba(0,200,83,0.3);
  color: var(--green);
  padding: .35rem 1rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeDown .8s ease both;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 1.25rem;
  animation: fadeDown .9s .1s ease both;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--green), var(--teal));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem; color: var(--muted); max-width: 640px;
  line-height: 1.7; margin-bottom: 2.5rem;
  animation: fadeDown 1s .2s ease both;
}

.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  animation: fadeDown 1s .3s ease both;
}

.btn-primary, .btn-secondary {
  padding: .85rem 2rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #000;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 24px rgba(0,200,83,0.3);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,200,83,0.45); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-secondary:hover { border-color: var(--green); background: rgba(0,200,83,0.06); }

.stats-strip {
  background: var(--card);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 2rem;
  display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 700; color: var(--green); }
.stat-label { font-size: .85rem; color: var(--muted); }
/* শুধু "পরিসংখ্যান" শব্দটি নীল করার জন্য */
.stat-blue {
  background: linear-gradient(135deg, #0757ec, #0b64fd);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.sec-title {
  font-size: 2rem; font-weight: 700; margin-bottom: .5rem;
  text-align: center;
}
.sec-title span { color: var(--green); }
.sec-sub { text-align: center; color: var(--muted); margin-bottom: 3rem; font-size: 1.05rem; }

.courses-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 1.5rem;
}

.course-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 1.75rem;
  cursor: pointer; transition: var(--transition);
  position: relative; overflow: hidden;
}

.course-card::before {
  content:''; position: absolute; top:0; left:0; right:0; height:3px;
  border-radius: 20px 20px 0 0;
}

.course-card.green::before { background: linear-gradient(90deg, var(--green), var(--teal)); }
.course-card.purple::before { background: linear-gradient(90deg, #7c3aed, #a855f7); }
.course-card.yellow::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.course-card.red::before { background: linear-gradient(90deg, #ef4444, #f97316); }
.course-card.blue::before { background: linear-gradient(90deg, #3b82f6, #06b6d4); }
.course-card.teal::before { background: linear-gradient(90deg, #00bcd4, #00e5ff); }
.course-card.orange::before { background: linear-gradient(90deg, #f97316, #fbbf24); }
.course-card.pink::before { background: linear-gradient(90deg, #ec4899, #f472b6); }

.course-card:hover { transform: translateY(-5px); border-color: rgba(0,200,83,0.3); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }

.course-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.course-code {
  display: inline-block; font-size: .75rem; font-weight: 700;
  background: rgba(0,200,83,0.12); color: var(--green);
  padding: .2rem .6rem; border-radius: 6px; margin-bottom: .75rem;
}

.bookmark-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: var(--accent);
  transition: var(--transition);
  z-index: 2;
}

.bookmark-btn:hover { transform: scale(1.1); }
.bookmark-btn.active { color: var(--green); }

/* Responsive fixes to avoid side cut-off on small screens */
@media (max-width: 600px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  nav { padding: 0 1rem; height: 56px; }
  .nav-links { gap: .75rem; font-size: .9rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .hero { padding: 6rem 1rem 4rem; }
  section { padding: 3rem 1rem; }
  .courses-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-btns { gap: .5rem; }
  .search-container { padding-inline: 0; }
  .circular-bg { left: 0; right: 0; transform: none; }
  img, .icon-preview { max-width: 100%; height: auto; display: block; }
}

.course-title { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; padding-right: 2rem; }
.course-meta { color: var(--muted); font-size: .85rem; margin-bottom: 1rem; }
.course-tags { display: flex; flex-wrap: wrap; gap: .5rem; }

.tag {
  font-size: .75rem; padding: .25rem .65rem; border-radius: 6px;
  background: rgba(255,255,255,0.06); color: var(--muted);
}

.modal-overlay {
  position: fixed; inset:0; background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity:0; pointer-events:none; transition: opacity .3s;
}

.modal-overlay.open { opacity:1; pointer-events:all; }

.modal {
  background: var(--card2);
  border: 1px solid rgba(0,200,83,0.2);
  border-radius: 24px; width: 100%; max-width: 800px;
  max-height: 88vh; overflow-y: auto;
  padding: 2rem; position: relative;
  transform: translateY(30px); transition: transform .3s;
}

.modal-overlay.open .modal { transform: translateY(0); }

.modal-close {
  position: absolute; top:1rem; right:1rem;
  background: rgba(255,255,255,0.08); border: none;
  color: var(--text); width:36px; height:36px; border-radius:50%;
  font-size:1.1rem; cursor:pointer; transition: background .2s;
}

.modal-close:hover { background: rgba(255,255,255,0.15); }

.tab-bar {
  display: flex; gap: 0.5rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 0.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: none; border: none; color: var(--muted);
  font-family: inherit; font-size: 0.9rem; padding: 0.4rem 0.85rem;
  border-radius: 8px; cursor: pointer; transition: all 0.2s;
}

.tab-btn.active { background: rgba(0,200,83,0.15); color: var(--green); font-weight: 600; }
.tab-content { display: none; }
.tab-content.active { display: block; }

details {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,200,83,0.15);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
}

summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--green-light);
}

details[open] summary { margin-bottom: 10px; }

.notes-section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,200,83,0.2);
}

.notes-textarea {
  width: 100%;
  padding: 0.8rem;
  background: var(--dark);
  border: 1px solid rgba(0,200,83,0.2);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  resize: vertical;
}

.save-notes-btn {
  background: var(--green);
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 0.5rem;
}

.game-section {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px; padding: 2.5rem; margin-top: 3rem;
}

.quiz-container { max-width: 680px; margin: 0 auto; }

.quiz-progress {
  display: flex; gap:.4rem; margin-bottom:1.5rem;
}

.progress-dot {
  flex:1; height:5px; border-radius:3px;
  background: rgba(255,255,255,0.08);
  transition: background .3s;
}

.progress-dot.done { background: var(--green); }
.progress-dot.current { background: var(--teal); }

.question-box {
  background: var(--dark2);
  border-radius: 16px; padding: 1.75rem; margin-bottom:1.25rem;
}

.options-grid { display:grid; gap:.75rem; }

.option-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text); padding:1rem 1.25rem; border-radius:12px;
  text-align:left; cursor:pointer; font-family:inherit; font-size:.9rem;
  transition: var(--transition);
}

.option-btn.correct { border-color: var(--green); background: rgba(0,200,83,0.15); }
.option-btn.wrong { border-color: var(--red); background: rgba(255,82,82,0.12); }

.roadmap { position:relative; padding:2rem 0; }

.roadmap::before {
  content:''; position:absolute; left:50%; top:0; bottom:0; width:2px;
  background: linear-gradient(to bottom, var(--green), var(--teal), transparent);
  transform: translateX(-50%);
}

.road-item {
  display:flex; margin-bottom:2.5rem; position:relative;
  align-items: flex-start;
}

.road-item:nth-child(odd) { flex-direction:row-reverse; }

.road-dot {
  position:absolute; left:50%; transform:translateX(-50%);
  width:44px; height:44px; border-radius:50%;
  background: var(--green); color:#000; font-weight:700;
  display:flex; align-items:center; justify-content:center;
  border: 3px solid var(--dark);
  z-index:1;
}

.road-card {
  width:calc(50% - 50px);
  background:var(--card); border:1px solid rgba(255,255,255,0.07);
  border-radius:16px; padding:1.25rem;
  transition: var(--transition);
}

.road-card:hover { transform:translateY(-3px); }

footer {
  background: var(--dark2);
  border-top:1px solid rgba(255,255,255,0.05);
  text-align:center; padding:2rem;
  color:var(--muted); font-size:.85rem;
}

@media print {
  nav, .hero-btns, .btn-secondary, .theme-toggle, .bookmark-btn, .quiz-controls, footer {
    display: none !important;
  }
  .course-card { break-inside: avoid; }
}

@media(max-width:768px) {
  .roadmap::before { left:20px; }
  .road-item, .road-item:nth-child(odd) { flex-direction:column; }
  .road-dot { left:20px; }
  .road-card { width:calc(100% - 56px); margin-left:56px !important; margin-right:0 !important; }
  .stats-strip { gap:2rem; }
  .nav-links { gap: 1rem; }
  section { padding: 3rem 1rem; }
}

@media(max-width:480px) {
  .nav-links a:nth-child(2), .nav-links a:nth-child(3), .nav-links a:nth-child(4) { display: none; }
  .courses-grid { grid-template-columns: 1fr; }
}

.highlight-bar {
  display:inline-block; background:linear-gradient(90deg,var(--green),var(--teal));
  height:3px; width:60px; border-radius:2px; margin:0 auto 2.5rem; display:block;
}

.screen { display: none; }
.screen.active { display: block; }


.course-en { font-size:.78rem; color:var(--teal); font-weight:500; margin-bottom:.35rem; }

@keyframes fadeDown {
  from { opacity:0; transform:translateY(-20px); }
  to { opacity:1; transform:translateY(0); }
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

th, td {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px;
  text-align: left;
}

th {
  background: rgba(0,200,83,0.1);
}

pre {
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

ul, ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

li {
  margin: 0.3rem 0;
}

h4, h5 {
  margin-top: 0.8rem;
  margin-bottom: 0.5rem;
  color: var(--teal);
}

.resource-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.resource-category {
  background: var(--card);
  border: 1px solid rgba(0,200,83,0.15);
  border-radius: 20px;
  padding: 1.5rem;
  transition: var(--transition);
}

.resource-category:hover {
  border-color: rgba(0,200,83,0.3);
  transform: translateY(-3px);
}

.resource-category h3 {
  color: var(--green);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0,200,83,0.2);
  display: inline-block;
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.resource-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}

.resource-link:hover {
  background: rgba(0,200,83,0.1);
  border-color: var(--green);
  transform: translateX(5px);
}

.resource-link i {
  font-size: 1.2rem;
  color: var(--green);
}

@media(max-width:768px) {
  .resource-category {
    padding: 1rem;
  }
  .resource-link {
    font-size: 0.85rem;
    word-break: break-all;
  }
}

.video-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.video-wrapper {
  background: var(--card);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid rgba(0,200,83,0.15);
  transition: var(--transition);
}

.video-wrapper:hover {
  border-color: rgba(0,200,83,0.3);
  transform: translateY(-5px);
}

.video-title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--text);
}

.video-title span {
  color: var(--green);
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: none;
}

.video-caption {
  text-align: center;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .video-container {
    margin: 1rem auto;
  }
  .video-wrapper {
    padding: 1rem;
  }
  .video-title {
    font-size: 1.2rem;
  }
}
/* নোটিশ মোডাল স্টাইল */
.notice-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.notice-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.notice-modal {
  background: var(--card2);
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: 24px;
  max-width: 500px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 25px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

.notice-modal-overlay.open .notice-modal {
  transform: translateY(0);
}

.notice-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s;
}

.notice-modal-close:hover {
  background: rgba(255, 82, 82, 0.3);
  transform: scale(1.05);
}

.notice-content p {
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--text);
}

/* ========== ইমেজ স্লাইডার / ক্যারোসেল স্টাইল ========== */
.slider-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  background: var(--card);
  border-radius: 24px;
  border: 1px solid rgba(0, 200, 83, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.slider-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.slider-header h3 {
  font-size: 1.5rem;
  color: var(--text);
}

.slider-header h3 span {
  color: var(--green);
}

.slider-header p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.image-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-track-container {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide-item {
  flex: 0 0 100%;
  padding: 10px;
  box-sizing: border-box;
}

.slide-card {
  background: var(--card2);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 83, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.slide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  border-color: var(--green);
}

.slide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: #1a1a2e;
}

.slide-content {
  padding: 1rem;
}

.slide-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.slide-description {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.slide-date {
  font-size: 0.7rem;
  color: var(--teal);
  margin-top: 8px;
  display: inline-block;
}

.slider-btn {
  background: rgba(0, 200, 83, 0.15);
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--green);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--green);
  color: #000;
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--green);
  width: 25px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .slide-image {
    height: 180px;
  }
  .slider-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .slide-title {
    font-size: 0.95rem;
  }
}

/* ========== মিমস স্লাইডার (শুধু ছবি) স্টাইল ========== */
.memes-slider-container {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem;
  background: var(--card);
  border-radius: 24px;
  border: 1px solid rgba(0, 200, 83, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.memes-slider-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.memes-slider-header h3 {
  font-size: 1.5rem;
  color: var(--text);
}

.memes-slider-header h3 span {
  color: var(--green);
}

.memes-slider-header p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.memes-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.memes-slider-track-container {
  flex: 1;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.2);
}

.memes-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.memes-slide-item {
  flex: 0 0 100%;
  padding: 5px;
  box-sizing: border-box;
}

.memes-slide-card {
  background: var(--card2);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 83, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.memes-slide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-color: var(--green);
}

.memes-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  background: #0a0a1a;
  display: block;
}

/* ডাউনলোড কার্সার ইন্ডিকেটর */
.memes-image {
  cursor: pointer;
}

.memes-slider-btn {
  background: rgba(0, 200, 83, 0.15);
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--green);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.memes-slider-btn:hover {
  background: var(--green);
  color: #000;
  transform: scale(1.05);
}

.memes-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.2rem;
}

.memes-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.memes-dot.active {
  background: var(--green);
  width: 25px;
  border-radius: 10px;
}

.download-tip {
  text-align: center;
  margin-top: 1rem;
  padding: 8px 12px;
  background: rgba(0, 200, 83, 0.08);
  border-radius: 30px;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .memes-image {
    max-height: 280px;
  }
  .memes-slider-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

/* স্লাইডারের ইমেজে হোভার ইফেক্ট */
.slide-image {
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.slide-image:hover {
  opacity: 0.85;
}

.slide-image:active {
  transform: scale(0.98);
}

/* ========== স্বাগতম মেসেজ বিস্তারিত স্টাইল ========== */
.welcome-section {
  max-width: 950px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.welcome-card {
  background: linear-gradient(135deg, var(--card), var(--card2));
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(0, 200, 83, 0.25);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.welcome-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}

.welcome-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 0.3rem;
}

.welcome-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--green), var(--teal));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
}

.welcome-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--green);
  margin-bottom: 1.2rem;
}

.welcome-short p {
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
  color: var(--text);
}

/* বইয়ের তালিকা */
.book-list {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.book-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  border-left: 3px solid var(--green);
}

.book-code {
  font-weight: 700;
  color: var(--green);
  font-size: 1.1rem;
  min-width: 40px;
}

.book-item small {
  color: var(--muted);
  font-size: 0.8rem;
}

/* কোর্স টাইপ গ্রিড */
.course-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.course-type-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid rgba(0, 200, 83, 0.15);
}

.course-type-card h4 {
  color: var(--green);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.course-type-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ইনকোর্স সতর্কতা বক্স */
.in-course-warning {
  background: rgba(255, 82, 82, 0.1);
  border-left: 4px solid #ff5252;
  border-radius: 16px;
  padding: 1.2rem;
  margin: 1.5rem 0;
}

.in-course-warning h4 {
  color: #ff5252;
  margin-bottom: 0.8rem;
}

.in-course-warning ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.in-course-warning li {
  margin: 0.5rem 0;
  line-height: 1.6;
}

/* বাটন */
.welcome-read-more,
.welcome-read-less {
  background: rgba(0, 200, 83, 0.12);
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: 40px;
  padding: 0.7rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.8rem;
  display: inline-block;
  width: auto;
}

.welcome-read-more:hover,
.welcome-read-less:hover {
  background: var(--green);
  color: #000;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .welcome-card {
    padding: 1.2rem;
  }
  .welcome-title {
    font-size: 1.3rem;
  }
  .book-item {
    flex-direction: column;
    gap: 5px;
  }
  .course-type-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== ক্যারিয়ার সেকশন স্টাইল ========== */
.career-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--card);
  border-radius: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.career-main-card {
  background: linear-gradient(135deg, var(--green-dark), var(--teal));
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.career-main-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 200, 83, 0.3);
}

.career-main-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.career-main-card h3 {
  font-size: 1.6rem;
  color: #000;
  margin-bottom: 0.8rem;
}

.career-main-card p {
  color: rgba(0, 0, 0, 0.8);
  font-size: 1rem;
}

.career-expand-btn span {
  display: inline-block;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  margin-top: 1rem;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.career-main-card:hover .career-expand-btn span {
  background: rgba(0, 0, 0, 0.4);
}

.career-details {
  margin-top: 1.5rem;
  animation: fadeInUp 0.5s ease;
}

.career-details.hidden {
  display: none;
}

.career-chapter {
  background: var(--card2);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 200, 83, 0.15);
}

.career-chapter h3 {
  color: var(--green);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  border-left: 4px solid var(--green);
  padding-left: 12px;
}

.career-warning {
  background: rgba(255, 82, 82, 0.1);
  border-left: 4px solid #ff5252;
  padding: 1rem;
  border-radius: 12px;
  margin: 1rem 0;
}

.career-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.career-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}

.career-card-small {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(0, 200, 83, 0.1);
  transition: all 0.2s;
}

.career-card-small:hover {
  transform: translateY(-2px);
  border-color: var(--green);
}

.career-card-small h4 {
  color: var(--teal);
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.career-card-small ul {
  list-style: none;
  padding-left: 0;
}

.career-card-small li {
  margin: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
  font-size: 0.85rem;
}

.career-card-small li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--green);
}

.ml-roadmap {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ml-step {
  background: rgba(0, 200, 83, 0.08);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border-left: 3px solid var(--green);
}

.step-num {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--green);
  color: #000;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-weight: bold;
  margin-right: 12px;
}

.study-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.study-tip-card {
  background: rgba(0, 200, 83, 0.05);
  border-radius: 16px;
  padding: 1rem;
}

.daily-routine {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.1), rgba(0, 188, 212, 0.1));
  border-radius: 16px;
  padding: 1.2rem;
  margin-top: 1rem;
}

.career-table-container {
  overflow-x: auto;
}

.career-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.career-table th, .career-table td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  text-align: left;
}

.career-table th {
  background: rgba(0, 200, 83, 0.15);
  color: var(--green);
}

.career-note {
  background: rgba(0, 188, 212, 0.1);
  border-radius: 12px;
  padding: 0.8rem;
  margin-top: 1rem;
  text-align: center;
}

.career-footer-note {
  background: rgba(0, 200, 83, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  margin-top: 1rem;
}

.career-quote {
  font-style: italic;
  margin-top: 1rem;
  padding: 1rem;
  border-left: 3px solid var(--green);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .career-section {
    padding: 1rem;
  }
  .career-main-card h3 {
    font-size: 1.2rem;
  }
  .career-chapter h3 {
    font-size: 1.1rem;
  }
  .career-table {
    font-size: 0.7rem;
  }
}

/* ===========================================
   মোবাইল (Android, iPhone) রেস্পন্সিভ ডিজাইন
   সব সেকশনের জন্য: স্বাগতম, ক্যারিয়ার, স্লাইডার, কুইজ
   =========================================== */

/* ১. সাধারণ মোবাইল সেটিংস (সবচেয়ে ইম্পর্ট্যান্ট) */
@media screen and (max-width: 768px) {
  
  /* ব্রাউজারের ডিফল্ট জুম বন্ধ করে দেয় */
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    font-size: 15px; /* ফন্ট সাইজ একটু বাড়ানো হয়েছে মোবাইলে পড়ার সুবিধার জন্য */
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* navbar (মেনু বার) মোবাইলের জন্য */
  nav {
    padding: 0 15px;
    height: 55px;
  }
  
  .nav-logo {
    font-size: 1rem;
  }
  
  .nav-links {
    gap: 8px;
  }
  
  .nav-links a {
    font-size: 0.75rem;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  /* হিরো সেকশন */
  .hero {
    padding: 90px 15px 40px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .hero-btns {
    gap: 12px;
  }

  .btn-primary, .btn-secondary {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  /* স্ট্যাটস বার (total courses, bookmarks ইত্যাদি) */
  .stats-strip {
    gap: 20px;
    padding: 20px 15px;
  }

  .stat-num {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  /* সেকশন টাইটেল */
  .sec-title {
    font-size: 1.5rem;
  }
  .sec-sub {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  /* ========== ২. স্বাগতম মেসেজ সেকশন (Welcome Section) ========== */
  .welcome-card {
    padding: 15px;
  }

  .welcome-title {
    font-size: 1.3rem;
  }

  .welcome-subtitle {
    font-size: 0.9rem;
  }

  .welcome-short p {
    font-size: 0.9rem;
  }

  /* বইয়ের তালিকা মোবাইলে */
  .book-item {
    flex-direction: column;
    gap: 5px;
  }
  
  .book-code {
    font-size: 0.9rem;
  }

  /* মেজর / নন-মেজর গ্রিড */
  .course-type-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* ইনকোর্স সতর্কতা বক্স */
  .in-course-warning {
    padding: 12px;
  }
  .in-course-warning ul {
    padding-left: 18px;
  }
  .in-course-warning li {
    font-size: 0.85rem;
  }

  /* বিস্তারিত/সংক্ষেপে বাটন */
  .welcome-read-more, .welcome-read-less {
    padding: 8px 16px;
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
  }

  /* ========== ৩. ক্যারিয়ার সেকশন (Career Section) ========== */
  .career-section {
    padding: 20px 12px;
    margin: 20px 12px;
  }

  .career-main-card {
    padding: 20px 12px;
  }

  .career-main-card h3 {
    font-size: 1.3rem;
  }

  .career-main-card p {
    font-size: 0.85rem;
  }

  .career-expand-btn span {
    font-size: 0.8rem;
    padding: 6px 16px;
  }

  /* ক্যারিয়ারের চ্যাপ্টারগুলো */
  .career-chapter {
    padding: 15px;
    margin-bottom: 15px;
  }

  .career-chapter h3 {
    font-size: 1.1rem;
  }

  .career-grid-2, .career-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* এমএল রোডম্যাপ স্টেপ */
  .ml-step {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
  .step-num {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 0.8rem;
    margin-right: 8px;
  }

  /* স্টাডি টিপস গ্রিড */
  .study-tips-grid {
    grid-template-columns: 1fr;
  }

  /* ৫৯টি ক্যারিয়ারের টেবিল – মোবাইলের জন্য হরাইজন্টাল স্ক্রোল */
  .career-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .career-table {
    min-width: 600px; /* টেবিল বড় থাকবে, স্ক্রোল করে দেখতে হবে */
    font-size: 0.7rem;
  }
  
  .career-table th, .career-table td {
    padding: 8px 6px;
    white-space: normal;
    word-break: break-word;
  }

  /* ক্যারিয়ারের নিচের নোট */
  .career-note, .career-footer-note {
    font-size: 0.8rem;
    padding: 12px;
  }
  
  .career-quote {
    font-size: 0.85rem;
    padding: 8px;
  }

  /* ========== ৪. ইমেজ স্লাইডার (নোটিশ ও মিমস) ========== */
  .slider-container, .memes-slider-container {
    margin: 20px 12px;
    padding: 12px;
  }

  .slider-header h3, .memes-slider-header h3 {
    font-size: 1.2rem;
  }

  .slide-image, .memes-image {
    max-height: 200px;
    object-fit: cover;
  }

  .slider-btn, .memes-slider-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .slide-content h4, .slide-title {
    font-size: 0.85rem;
  }
  .slide-description {
    font-size: 0.7rem;
  }

  /* ডাউনলোড টিপ */
  .download-tip {
    font-size: 0.7rem;
  }

  /* ========== ৫. কুইজ সেকশন (Quiz) ========== */
  .game-section {
    padding: 20px 15px;
    margin: 15px;
  }

  .game-header h2 {
    font-size: 1.3rem;
  }
  .game-header p {
    font-size: 0.85rem;
  }

  .question-box {
    padding: 15px;
  }
  .q-text {
    font-size: 0.9rem;
  }

  .option-btn {
    padding: 12px 15px;
    font-size: 0.85rem;
  }

  .quiz-feedback {
    font-size: 0.8rem;
  }

  .quiz-controls .btn-primary {
    padding: 8px 20px;
    font-size: 0.85rem;
  }

  /* ========== ৬. কোর্স গ্রিড মোবাইলে ========== */
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .course-card {
    padding: 15px;
  }
  .course-title {
    font-size: 1rem;
  }
  .course-meta {
    font-size: 0.75rem;
  }
  .tag {
    font-size: 0.65rem;
  }

  /* সার্চ বক্স */
  .search-input {
    padding: 12px 12px 12px 40px;
    font-size: 0.9rem;
  }

  /* মোডাল (কোর্স ডিটেইলস) */
  .modal {
    padding: 15px;
    max-height: 85vh;
  }
  .modal-title {
    font-size: 1.2rem;
  }
  .tab-btn {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  details summary {
    font-size: 0.85rem;
  }
  .notes-textarea {
    font-size: 0.85rem;
  }

  /* ফুটার */
  footer {
    font-size: 0.7rem;
    padding: 15px;
  }
}

/* ২. অতিরিক্ত ছোট মোবাইলের জন্য (যেমন: ৪৮০px এর নিচে) */
@media screen and (max-width: 400px) {
  body {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .btn-primary, .btn-secondary {
    padding: 8px 14px;
    font-size: 0.75rem;
  }

  .welcome-title {
    font-size: 1.1rem;
  }
  .welcome-subtitle {
    font-size: 0.8rem;
  }

  .career-main-card h3 {
    font-size: 1.1rem;
  }

  .sec-title {
    font-size: 1.3rem;
  }

  /* মিমস স্লাইডারের ছবির উচ্চতা আরও কমানো */
  .memes-image, .slide-image {
    max-height: 160px;
  }

  .slider-btn, .memes-slider-btn {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  /* ক্যারিয়ার টেবিল আরও ছোট ফন্ট */
  .career-table {
    min-width: 520px;
    font-size: 0.65rem;
  }
}

/* ৩. টাচ-ফ্রেন্ডলি সুবিধা (মোবাইলে বাটনে ক্লিক সহজ করা) */
@media (hover: none) and (pointer: coarse) {
  button, 
  .btn-primary, 
  .btn-secondary,
  .welcome-read-more,
  .welcome-read-less,
  .career-main-card,
  .slider-btn,
  .memes-slider-btn,
  .dot,
  .memes-dot {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  button:active, 
  .btn-primary:active, 
  .btn-secondary:active,
  .welcome-read-more:active,
  .career-main-card:active {
    opacity: 0.8;
    transform: scale(0.97);
    transition: all 0.05s ease;
  }
}

/* ========== ফাইনাল ওয়ার্কিং সার্কুলার ব্যাকগ্রাউন্ড ========== */
.circular-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  overflow: hidden;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: floatAnimation 25s infinite alternate ease-in-out;
}

.circle-1 { width: 320px; height: 320px; background: radial-gradient(circle, #00c853, #00bcd4); top: -100px; left: -100px; animation-duration: 22s; }
.circle-2 { width: 480px; height: 480px; background: radial-gradient(circle, #7c3aed, #ec4899); bottom: -150px; right: -120px; animation-duration: 28s; animation-delay: 2s; }
.circle-3 { width: 260px; height: 260px; background: radial-gradient(circle, #f97316, #ffd600); top: 40%; left: -80px; animation-duration: 18s; animation-delay: 4s; }
.circle-4 { width: 380px; height: 380px; background: radial-gradient(circle, #3b82f6, #06b6d4); bottom: 20%; right: -100px; animation-duration: 25s; animation-delay: 6s; }
.circle-5 { width: 200px; height: 200px; background: radial-gradient(circle, #00c853, #69f0ae); top: 65%; left: 20%; animation-duration: 20s; animation-delay: 1s; }
.circle-6 { width: 400px; height: 400px; background: radial-gradient(circle, #ec4899, #f472b6); top: -120px; right: 5%; animation-duration: 30s; animation-delay: 8s; }
.circle-7 { width: 280px; height: 280px; background: radial-gradient(circle, #a855f7, #7c3aed); bottom: 35%; left: -60px; animation-duration: 24s; animation-delay: 3s; }
.circle-8 { width: 340px; height: 340px; background: radial-gradient(circle, #f59e0b, #f97316); top: 25%; right: -80px; animation-duration: 26s; animation-delay: 5s; }

@keyframes floatAnimation {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(30px, -25px) scale(1.05);
    opacity: 0.55;
  }
  50% {
    transform: translate(-20px, 35px) scale(0.95);
    opacity: 0.4;
  }
  75% {
    transform: translate(25px, 20px) scale(1.03);
    opacity: 0.5;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }
}

/* ========== কালার কাস্টমাইজার স্টাইল (৪ ভাগের ১ ভাগ - ছোট) ========== */
.color-customizer {
  max-width: 125px !important;
  margin: 5px auto !important;
  background: var(--card);
  border-radius: 10px !important;
  padding: 5px 6px !important;
  border: 1px solid rgba(0, 200, 83, 0.2);
  text-align: center;
  position: relative;
  z-index: 10;
}

.color-customizer-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-bottom: 4px;
}

.color-customizer-header span {
  font-size: 0.55rem !important;
}

.color-customizer-header h4 {
  color: var(--text);
  font-size: 0.35rem !important;
  margin: 0;
}

.color-input-group {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3px;
}

.color-input {
  flex: 1;
  min-width: 50px !important;
  padding: 3px 5px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 200, 83, 0.3);
  background: var(--dark2);
  color: var(--text);
  font-size: 0.4rem !important;
  outline: none;
}

.color-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 3px var(--green);
}

.color-apply-btn, .color-reset-btn {
  padding: 3px 8px !important;
  border-radius: 12px !important;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  font-size: 0.4rem !important;
}

.color-apply-btn {
  background: var(--green);
  color: #000;
}

.color-apply-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 1px 3px rgba(0, 200, 83, 0.4);
}

.color-reset-btn {
  background: rgba(255, 82, 82, 0.8);
  color: white;
}

.color-reset-btn:hover {
  background: #ff5252;
  transform: scale(1.02);
}

.color-examples {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-wrap: wrap;
}

.color-examples span {
  color: var(--muted);
  font-size: 0.35rem !important;
}

.color-examples button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
  border: 1px solid var(--card);
  cursor: pointer;
  transition: transform 0.2s;
}

.color-examples button:hover {
  transform: scale(1.1);
  border-color: white;
}

/* মোবাইলের জন্য */
@media (max-width: 500px) {
  .color-customizer {
    max-width: 98% !important;
    padding: 4px 5px !important;
  }
  
  .color-input-group {
    flex-direction: column;
    gap: 2px;
  }
  
  .color-input {
    width: 100%;
  }
  
  .color-apply-btn,
  .color-reset-btn {
    width: 100%;
  }
}
/* ========== ইমেজ ব্যাকগ্রাউন্ড কাস্টমাইজার (অর্ধেকের অর্ধেক - ১১০px) ========== */
.image-bg-customizer {
  max-width: 110px !important;
  margin: 3px auto !important;
  background: var(--card);
  border-radius: 8px !important;
  padding: 3px 4px !important;
  text-align: center;
  border: 1px solid var(--green);
  position: relative;
  z-index: 10;
}

.image-bg-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 2px;
}

.image-bg-header span {
  font-size: 0.55rem !important;
}

.image-bg-header h4 {
  color: var(--text);
  font-size: 0.35rem !important;
  margin: 0;
}

.image-input-group {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2px;
}

.image-input {
  flex: 1;
  min-width: 50px !important;
  padding: 2px 4px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(0, 200, 83, 0.3);
  background: var(--dark2);
  color: var(--text);
  font-size: 0.35rem !important;
  outline: none;
}

.image-search-btn, 
.image-remove-btn {
  padding: 2px 5px !important;
  border-radius: 10px !important;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  font-size: 0.3rem !important;
}

.image-search-btn {
  background: var(--teal);
  color: #000;
}

.image-search-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 1px 2px rgba(0, 188, 212, 0.3);
}

.image-remove-btn {
  background: rgba(255, 82, 82, 0.8);
  color: white;
}

.image-remove-btn:hover {
  background: #ff5252;
  transform: scale(1.02);
}

.image-suggestions {
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
}

.image-suggestions span {
  color: var(--muted);
  font-size: 0.3rem !important;
}

.image-suggestions button {
  background: rgba(0, 200, 83, 0.12);
  border: 1px solid rgba(0, 200, 83, 0.2);
  padding: 1px 3px !important;
  border-radius: 8px !important;
  cursor: pointer;
  color: var(--green);
  font-size: 0.3rem !important;
  transition: all 0.2s;
}

.image-suggestions button:hover {
  background: var(--green);
  color: #000;
  transform: scale(1.02);
}

/* ========== ইমেজ কুইক লিংক আইকন স্টাইল (অতি অতি ছোট) ========== */
.image-quick-links {
  margin-top: 2px;
  text-align: center;
}

.image-quick-links span {
  color: var(--muted);
  font-size: 0.3rem !important;
  display: block;
  margin-bottom: 1px;
}

.quick-link-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}

.quick-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  background: rgba(0, 200, 83, 0.08);
  border-radius: 4px !important;
  padding: 1px 2px !important;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid rgba(0, 200, 83, 0.15);
  min-width: 22px !important;
}

.quick-icon:hover {
  background: var(--green);
  transform: translateY(-1px);
  border-color: var(--green);
}

.quick-icon:hover span {
  color: #000;
}

.quick-icon span {
  font-size: 0.3rem !important;
  color: var(--text);
  background: transparent;
  margin: 0;
}

.quick-icon {
  font-size: 0.5rem !important;
}

.icon-preview {
  width: 15px !important;
  height: 15px !important;
  object-fit: cover;
  border-radius: 3px !important;
  margin-bottom: 1px;
  border: 0.5px solid var(--green);
}

/* মোবাইলের জন্য */
@media (max-width: 500px) {
  .image-bg-customizer {
    max-width: 98% !important;
    padding: 2px 4px !important;
  }
  
  .image-input-group {
    flex-direction: column;
    gap: 1px;
  }
  
  .image-input {
    width: 100%;
  }
  
  .image-search-btn,
  .image-remove-btn {
    width: 100%;
  }
  
  .quick-icon {
    min-width: 18px;
    padding: 1px 2px;
  }
  
  .icon-preview {
    width: 12px;
    height: 12px;
  }
}
/* ========== ক্যারিয়ার সেকশনকে ওয়েলকাম সেকশনের মতো করা (মোবাইল ফ্রেন্ডলি) ========== */
@media screen and (max-width: 768px) {
  /* ক্যারিয়ার সেকশন - ওয়েলকামের মতো */
  .career-section {
    max-width: 95% !important;
    margin: 1rem auto !important;
    padding: 15px !important;
    background: var(--card) !important;
    border-radius: 28px !important;
    overflow-x: hidden !important;
  }

  /* ক্যারিয়ার ডিটেইলস */
  .career-details {
    overflow-x: hidden !important;
  }

  /* সব চ্যাপ্টার */
  .career-chapter {
    padding: 12px !important;
    margin-bottom: 12px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  /* লেখা মোড়ানো */
  .career-chapter p,
  .career-chapter li,
  .career-card-small p,
  .career-card-small li,
  .career-footer-note p {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  /* টেবিল - শুধু এটা স্ক্রোল হবে */
  .career-table-container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 10px 0 !important;
  }

  .career-table {
    min-width: 600px !important;
    width: max-content !important;
  }

  /* গ্রিড কলামে দেখানো */
  .career-grid-2,
  .career-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* মেইন কার্ড */
  .career-main-card {
    padding: 15px !important;
    border-radius: 24px !important;
  }

  .career-main-card h3 {
    font-size: 1.2rem !important;
  }

  /* বাটন */
  .career-expand-btn span {
    padding: 6px 16px !important;
    font-size: 0.75rem !important;
  }
}

/* ========== সার্কুলার ব্যাকগ্রাউন্ড পুরো পেজে দেখানোর ফিক্স ========== */
.circular-bg {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: -100 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.circle {
  position: absolute !important;
  border-radius: 50% !important;
  filter: blur(60px) !important;
  opacity: 0.5 !important;
  animation: floatCircle 20s infinite ease-in-out !important;
}

/* হিরো সেকশনের ব্যাকগ্রাউন্ড transparent করে দেওয়া */
.hero {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

/* সব সেকশনের ব্যাকগ্রাউন্ড transparent */
section, .welcome-section, .career-section, .slider-container, .memes-slider-container {
  background: transparent !important;
}

/* কার্ডগুলোর ব্যাকগ্রাউন্ড রাখতে চাইলে */
.welcome-card, .career-section, .slider-container, .memes-slider-container {
  background: var(--card) !important;
  backdrop-filter: blur(4px);
}

/* ========== সুন্দর কলেজ মোডাল ডিজাইন ========== */
.college-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.college-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.college-modal-simple {
  background: linear-gradient(145deg, var(--card), var(--card2));
  border: 1px solid rgba(0, 200, 83, 0.25);
  border-radius: 32px;
  width: 90%;
  max-width: 550px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.college-modal-overlay.open .college-modal-simple {
  transform: scale(1);
}

.college-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
  transition: all 0.25s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.college-modal-close:hover {
  background: rgba(255, 82, 82, 0.6);
  transform: rotate(90deg);
  border-color: #ff5252;
}

.college-modal-header-simple {
  text-align: center;
  padding: 28px 20px 20px;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.08), rgba(0, 188, 212, 0.05));
  border-bottom: 1px solid rgba(0, 200, 83, 0.15);
}

.college-header-icon {
  font-size: 3rem;
  margin-bottom: 8px;
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.college-modal-header-simple h3 {
  font-size: 1.3rem;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 6px;
}

.college-modal-header-simple p {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.college-list-simple {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  background: rgba(0, 0, 0, 0.15);
}

/* কলেজ আইটেম স্টাইল - সুন্দর ডিজাইন */
.college-item-simple {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  font-size: 0.92rem;
  color: var(--text);
  transition: all 0.25s;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}

.college-item-simple:hover {
  background: linear-gradient(95deg, rgba(0, 200, 83, 0.12), rgba(0, 188, 212, 0.08));
  transform: translateX(6px);
  border-color: rgba(0, 200, 83, 0.4);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.college-item-simple .college-number {
  display: inline-block;
  min-width: 32px;
  height: 32px;
  background: rgba(0, 200, 83, 0.2);
  border-radius: 12px;
  text-align: center;
  line-height: 32px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
}

.college-item-simple .college-name {
  flex: 1;
  font-weight: 500;
}

.college-item-simple .college-location {
  font-size: 0.7rem;
  color: var(--teal);
  margin-top: 4px;
  display: block;
}

.college-footer-simple {
  padding: 16px 20px;
  text-align: center;
  border-top: 1px solid rgba(0, 200, 83, 0.12);
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.2);
}

.college-footer-simple p {
  color: var(--muted);
}

.college-footer-simple span {
  color: var(--green);
  font-weight: bold;
  font-size: 1rem;
  background: rgba(0, 200, 83, 0.15);
  padding: 2px 8px;
  border-radius: 20px;
  margin: 0 4px;
}

/* স্ক্রলবার স্টাইল */
.college-list-simple::-webkit-scrollbar {
  width: 5px;
}

.college-list-simple::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.college-list-simple::-webkit-scrollbar-thumb {
  background: var(--green);
  border-radius: 10px;
}

@media (max-width: 550px) {
  .college-item-simple {
    flex-wrap: wrap;
    gap: 8px;
  }
  .college-modal-header-simple h3 {
    font-size: 1rem;
  }
}
/* নেভিগেশন লোগো ইমেজ স্টাইল */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
  transition: transform 0.3s ease;
}

.nav-logo-img:hover {
  transform: scale(1.05);
  border-color: var(--teal);
}

.nav-logo span {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--green), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* মোবাইলের জন্য */
@media (max-width: 768px) {
  .nav-logo-img {
    width: 28px;
    height: 28px;
  }
  .nav-logo span {
    font-size: 1rem;
  }
}
/* ========== কালার ও ইমেজ কাস্টমাইজার বক্স ছোট করা ========== */
@media screen and (max-width: 768px) {
  .color-customizer,
  .image-bg-customizer {
    max-width: 90% !important;
    margin: 10px auto !important;
    padding: 8px 12px !important;
  }
  
  .color-customizer-header h4,
  .image-bg-header h4 {
    font-size: 0.8rem !important;
  }
  
  .color-input-group,
  .image-input-group {
    gap: 6px !important;
  }
  
  .color-input,
  .image-input {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    min-width: 120px !important;
  }
  
  .color-apply-btn,
  .color-reset-btn,
  .image-search-btn,
  .image-remove-btn {
    padding: 6px 12px !important;
    font-size: 0.7rem !important;
  }
  
  .color-examples button {
    width: 22px !important;
    height: 22px !important;
  }
  
  .color-examples span {
    font-size: 0.7rem !important;
  }
}

/* সব ডিভাইসের জন্য ছোট করতে (পিসির জন্যও) */
.color-customizer,
.image-bg-customizer {
  max-width: 450px;
  margin: 15px auto;
  padding: 12px 18px;
}

.color-customizer-header h4,
.image-bg-header h4 {
  font-size: 0.85rem;
}

.color-input-group,
.image-input-group {
  gap: 8px;
}

.color-input,
.image-input {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.color-apply-btn,
.color-reset-btn,
.image-search-btn,
.image-remove-btn {
  padding: 8px 16px;
  font-size: 0.8rem;
}
/* ========== ইমেজ কাস্টমাইজার বক্স ছোট করা ========== */
.image-bg-customizer {
  max-width: 450px !important;
  margin: 10px auto !important;
  padding: 10px 15px !important;
}

.image-bg-header span {
  font-size: 1.2rem !important;
}

.image-bg-header h4 {
  font-size: 0.85rem !important;
  margin: 0 !important;
}

.image-input-group {
  gap: 6px !important;
}

.image-input {
  padding: 6px 12px !important;
  font-size: 0.8rem !important;
  min-width: 140px !important;
}

.image-search-btn,
.image-remove-btn {
  padding: 6px 12px !important;
  font-size: 0.75rem !important;
}

.image-suggestions {
  margin-top: 8px !important;
}

.image-suggestions span {
  font-size: 0.7rem !important;
}

.image-suggestions button {
  padding: 3px 8px !important;
  font-size: 0.65rem !important;
}

/* মোবাইলের জন্য */
@media (max-width: 500px) {
  .image-bg-customizer {
    max-width: 95% !important;
    padding: 8px 12px !important;
  }
  
  .image-input-group {
    flex-direction: column !important;
  }
  
  .image-input {
    width: 100% !important;
  }
  
  .image-search-btn,
  .image-remove-btn {
    width: 100% !important;
  }
}
/* ========== আধুনিক ওয়ার্ড গেম স্টাইল ========== */
.game-section-modern {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1.8rem;
  background: linear-gradient(145deg, var(--card), var(--card2));
  border-radius: 32px;
  border: 1px solid rgba(0, 200, 83, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-header-modern {
  text-align: center;
  margin-bottom: 1.5rem;
}

.game-icon {
  font-size: 3rem;
  animation: bounce 0.5s ease;
}

.game-header-modern h2 {
  color: var(--green);
  font-size: 1.8rem;
  margin: 0.5rem 0;
}

.game-header-modern p {
  color: var(--muted);
}

.game-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  padding: 12px 20px;
  text-align: center;
  min-width: 110px;
  border: 1px solid rgba(0, 200, 83, 0.2);
}

.stat-icon {
  font-size: 1.5rem;
  display: block;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  display: block;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  display: block;
}

.level-selector-modern {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.level-btn-modern {
  padding: 10px 24px;
  border-radius: 40px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.level-btn-modern.easy.active { background: #00c853; color: #000; box-shadow: 0 0 15px #00c853; }
.level-btn-modern.medium.active { background: #f97316; color: #fff; box-shadow: 0 0 15px #f97316; }
.level-btn-modern.hard.active { background: #ff5252; color: #fff; box-shadow: 0 0 15px #ff5252; }

.game-area-modern {
  min-height: 400px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 24px;
  margin: 1rem 0;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  border: 2px dashed rgba(0, 200, 83, 0.3);
}

.word-bubble-modern {
  position: absolute;
  display: inline-block;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: #000;
  font-weight: 700;
  border-radius: 40px;
  cursor: pointer;
  animation: floatIn 0.3s ease;
  font-size: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: all 0.1s ease;
  white-space: nowrap;
}

.word-bubble-modern:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,200,83,0.4);
}

.word-bubble-modern.medium-mode:hover {
  background: #ff5252;
  transform: scale(0.95);
}

@keyframes floatIn {
  from { transform: scale(0) rotate(-180deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes explode {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.word-bubble-modern.explode {
  animation: explode 0.2s ease forwards;
}

.game-input-area-modern {
  margin: 1rem 0;
  display: flex;
  gap: 1rem;
}

/* সাউন্ড টগল বাটন */
.sound-toggle-btn {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border: none;
  padding: 8px 24px;
  border-radius: 40px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sound-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

.sound-toggle-btn:active {
  transform: translateY(0);
}
.game-input-modern {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: 2px solid var(--green);
  background: var(--dark2);
  color: var(--text);
  font-size: 1rem;
}

.game-bomb-btn-modern {
  background: linear-gradient(135deg, #ff5252, #ff1744);
  border: none;
  padding: 0 30px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  color: white;
  transition: all 0.2s;
}

.game-bomb-btn-modern:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px #ff5252;
}

.game-controls-modern {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.game-start-btn, .game-reset-btn {
  padding: 12px 32px;
  border-radius: 40px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.game-start-btn {
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: #000;
}

.game-start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,200,83,0.4);
}

.game-reset-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.game-message-modern {
  text-align: center;
  padding: 12px;
  font-size: 1rem;
  margin-top: 1rem;
  border-radius: 40px;
}

.game-message-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .game-section-modern { padding: 1rem; }
  .word-bubble-modern { font-size: 0.75rem; padding: 8px 14px; }
  .stat-card { min-width: 80px; padding: 8px 12px; }
  .stat-value { font-size: 1.2rem; }
}
/* ========== "পরিসংখ্যান শিক্ষা" এক্সট্রা হাইলাইটেড ========== */
.nav-logo span {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00c853, #00bcd4, #7c3aed, #ec4899);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease infinite;
  text-shadow: 0 0 20px rgba(0, 200, 83, 0.3);
  letter-spacing: 1px;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* হোভার ইফেক্ট */
.nav-logo:hover span {
  animation: glowPulse 0.8s ease;
}

@keyframes glowPulse {
  0% { text-shadow: 0 0 0px rgba(0, 200, 83, 0); }
  50% { text-shadow: 0 0 20px rgba(0, 200, 83, 0.8); }
  100% { text-shadow: 0 0 0px rgba(0, 200, 83, 0); }
}

/* হিরো সেকশনের "পরিসংখ্যান" শব্দটি হাইলাইটেড */
.stat-blue {
  font-size: 1.1em;
  font-weight: 800;
  background: linear-gradient(135deg, #00c853, #00bcd4, #3b82f6, #7c3aed);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease infinite;
  display: inline-block;
  position: relative;
}

.stat-blue::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00c853, #00bcd4);
  border-radius: 3px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-blue:hover::after {
  transform: scaleX(1);
}
.music-toggle-btn {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border: none;
  padding: 8px 20px;
  border-radius: 30px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.music-toggle-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px var(--purple);
}
/* ========== সোশ্যাল মিডিয়া সেকশন ========== */
.social-section {
  max-width: 450px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background: linear-gradient(145deg, var(--card), var(--card2));
  border-radius: 32px;
  text-align: center;
  border: 1px solid rgba(0, 200, 83, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.social-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 200, 83, 0.15);
}

.social-container h3 {
  color: var(--green);
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
  letter-spacing: 1px;
}

.social-container p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 130px;
  position: relative;
  overflow: hidden;
}

/* গ্লো ইফেক্ট */
.social-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.social-icon:hover::before {
  width: 300px;
  height: 300px;
}

.social-icon i {
  font-size: 2.2rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.social-icon span {
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

/* ফেসবুক - হোভার ইফেক্ট */
.social-icon.facebook i { color: #1877f2; }
.social-icon.facebook:hover { 
  background: #1877f2; 
  border-color: #1877f2;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 30px rgba(24, 119, 242, 0.4);
}
.social-icon.facebook:hover i { 
  color: white;
  transform: rotate(360deg) scale(1.2);
}
.social-icon.facebook:hover span { 
  color: white;
  letter-spacing: 1px;
}

/* টেলিগ্রাম - হোভার ইফেক্ট */
.social-icon.telegram i { color: #0088cc; }
.social-icon.telegram:hover { 
  background: #0088cc; 
  border-color: #0088cc;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 136, 204, 0.4);
}
.social-icon.telegram:hover i { 
  color: white;
  transform: rotate(-15deg) scale(1.2);
}
.social-icon.telegram:hover span { 
  color: white;
  letter-spacing: 1px;
}

/* রিপল ইফেক্ট */
.social-icon:active {
  transform: translateY(-3px) scale(0.98);
}

@media (max-width: 500px) {
  .social-icons {
    gap: 1rem;
  }
  .social-icon {
    padding: 10px 18px;
    min-width: 100px;
  }
  .social-icon i {
    font-size: 1.6rem;
  }
  .social-icon span {
    font-size: 0.7rem;
  }
}

/* ========== ডিকশনারি সেকশন ========== */
.dictionary-section {
  max-width: 1400px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--card);
  border-radius: 32px;
  border: 1px solid rgba(0, 200, 83, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.dictionary-header {
  text-align: center;
  margin-bottom: 2rem;
}

.dictionary-icon {
  font-size: 3rem;
  animation: bounce 0.5s ease;
}

.dictionary-header h2 {
  color: var(--green);
  font-size: 1.8rem;
  margin: 0.5rem 0;
}

.dictionary-header p {
  color: var(--muted);
}

.dictionary-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.search-box {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.search-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.dictionary-search-input {
  width: 100%;
  padding: 14px 45px 14px 45px;
  background: var(--dark2);
  border: 2px solid rgba(0, 200, 83, 0.2);
  border-radius: 50px;
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s;
}

.dictionary-search-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 10px rgba(0, 200, 83, 0.3);
}

.search-clear-btn {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
}

.alphabet-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.alpha-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--dark2);
  border: 1px solid rgba(0, 200, 83, 0.2);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.alpha-btn:hover {
  background: rgba(0, 200, 83, 0.2);
  transform: translateY(-2px);
}

.alpha-btn.active {
  background: var(--green);
  color: #000;
  border-color: var(--green);
}

.stats-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 40px;
  margin-bottom: 1.5rem;
}

.stats-info span {
  color: var(--muted);
  font-size: 0.9rem;
}

.stats-info strong {
  color: var(--green);
  font-size: 1.1rem;
}

.dictionary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
  max-height: 600px;
  overflow-y: auto;
  padding: 0.5rem;
}

.dict-card {
  background: linear-gradient(135deg, var(--card2), var(--card));
  border-radius: 20px;
  padding: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(0, 200, 83, 0.1);
  position: relative;
  overflow: hidden;
}

.dict-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--teal));
  transition: left 0.3s;
}

.dict-card:hover::before {
  left: 0;
}

.dict-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 200, 83, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.dict-word {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.3rem;
}

.dict-bangla {
  font-size: 0.9rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.dict-short-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dict-category {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.65rem;
  background: rgba(0, 200, 83, 0.15);
  padding: 3px 8px;
  border-radius: 20px;
  color: var(--green);
}

/* মোডাল স্টাইল */
.dict-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.dict-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.dict-modal {
  background: var(--card2);
  border-radius: 28px;
  max-width: 550px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s;
}

.dict-modal-overlay.open .dict-modal {
  transform: scale(1);
}

.dict-modal-close {
  position: sticky;
  top: 10px;
  right: 10px;
  float: right;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.2rem;
  margin: 10px;
}

.dict-modal-content {
  padding: 1.5rem;
  clear: both;
}

.dict-modal-word {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.dict-modal-bangla {
  font-size: 1.1rem;
  color: var(--teal);
  margin-bottom: 1rem;
}

.dict-modal-meaning {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1rem;
}

.dict-modal-example {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 16px;
  margin-top: 1rem;
}

.dict-modal-example h4 {
  color: var(--green);
  margin-bottom: 0.5rem;
}

.dict-grid {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .dictionary-section { padding: 1rem; }
  .alpha-btn { width: 35px; height: 35px; font-size: 0.8rem; }
  .dictionary-grid { grid-template-columns: 1fr; }
  .stats-info { flex-direction: column; text-align: center; gap: 0.5rem; }
}


/* ========== স্বাগতম ছবি স্টাইল ========== */
.welcome-image-container {
  position: relative;
  width: 100%;
  margin: 1rem 0 1.5rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.welcome-banner-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.welcome-image-container:hover .welcome-banner-img {
  transform: scale(1.02);
}

.welcome-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 15px 20px 10px;
  text-align: center;
}

.welcome-image-overlay span {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* মোবাইলের জন্য */
@media (max-width: 768px) {
  .welcome-banner-img {
    max-height: 150px;
  }
  .welcome-image-overlay span {
    font-size: 0.7rem;
  }
}

/* ========== শিক্ষক পরিচয় সেকশন ========== */
.teacher-showcase {
  max-width: 1300px;
  margin: 3rem auto;
  padding: 2rem;
  background: linear-gradient(145deg, var(--card), var(--card2));
  border-radius: 32px;
  border: 1px solid rgba(0, 200, 83, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.teacher-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.teacher-header-icon {
  font-size: 3.5rem;
  animation: teacherFloat 2s ease-in-out infinite;
}

@keyframes teacherFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.teacher-header h3 {
  color: var(--green);
  font-size: 2rem;
  margin: 0.8rem 0 0.3rem;
  font-weight: 700;
}

.teacher-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

.teacher-header-line {
  display: inline-block;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--purple));
  border-radius: 3px;
  margin-top: 0.8rem;
}

/* শিক্ষক গ্রিড */
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

/* শিক্ষক কার্ড */
.teacher-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 28px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 200, 83, 0.15);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

/* কার্ডের ব্যাকগ্রাউন্ড গ্লো ইফেক্ট */
.teacher-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 83, 0.08), transparent);
  transition: left 0.6s;
}

.teacher-card:hover::before {
  left: 100%;
}

/* কার্ড হোভার ইফেক্ট */
.teacher-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--green);
  box-shadow: 0 20px 40px rgba(0, 200, 83, 0.25);
}

/* শিক্ষকের ছবি */
.teacher-avatar {
  width: 300px;
  height: 350px;
  margin: 0 auto 1rem;
  position: relative;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--teal));
  padding: 3px;
}

.teacher-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.4s;
}

.teacher-card:hover .teacher-avatar img {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 200, 83, 0.5);
}

/* অনলাইন স্ট্যাটাস (গ্লো ইফেক্ট) */
.teacher-status {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  background: #00c853;
  border-radius: 50%;
  border: 2px solid var(--card);
  animation: teacherGlow 1.5s infinite;
}

@keyframes teacherGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 200, 83, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 200, 83, 0); }
}

/* শিক্ষকের তথ্য */
.teacher-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.3rem;
}

.teacher-designation {
  font-size: 0.75rem;
  color: var(--teal);
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}

.teacher-detail-btn {
  background: rgba(0, 188, 212, 0.14);
  color: var(--green);
  border: 1px solid rgba(0, 188, 212, 0.35);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: 1rem;
}

.teacher-detail-btn:hover {
  background: rgba(0, 188, 212, 0.24);
  transform: translateY(-1px);
}

.teacher-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0 0;
  color: var(--muted);
  text-align: left;
}

.teacher-details.open {
  max-height: 400px;
  opacity: 1;
  padding-top: 1rem;
}

.teacher-bio {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.teacher-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.teacher-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 200, 83, 0.12);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  color: var(--green);
  border: 1px solid rgba(0, 200, 83, 0.2);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.teacher-contact-link:hover {
  transform: translateY(-1px);
  background: rgba(0, 200, 83, 0.18);
}

.copy-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.copy-phone-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.copy-phone-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.teacher-contact-link i,
.copy-phone-btn i {
  font-size: 0.95rem;
}

.teacher-qualification {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.teacher-specialty {
  display: inline-block;
  background: rgba(0, 200, 83, 0.12);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.7rem;
  color: var(--green);
  margin-top: 0.5rem;
}

/* শিক্ষক এডুকেশন আইকন */
.teacher-edu {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}

.teacher-card:hover .teacher-edu {
  opacity: 1;
  transform: translateY(0);
}

.teacher-edu span {
  background: rgba(0, 188, 212, 0.15);
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 0.6rem;
  color: var(--teal);
}

/* মোডাল স্টাইল */
.teacher-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.teacher-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.teacher-modal {
  background: linear-gradient(145deg, var(--card), var(--card2));
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: 36px;
  max-width: 520px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s;
}

.teacher-modal-overlay.open .teacher-modal {
  transform: scale(1);
}

.teacher-modal-close {
  position: sticky;
  top: 12px;
  right: 12px;
  float: right;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.2rem;
  margin: 12px;
  transition: all 0.2s;
  z-index: 10;
}

.teacher-modal-close:hover {
  background: rgba(255, 82, 82, 0.6);
  transform: rotate(90deg);
}

.teacher-modal-content {
  padding: 1.5rem 2rem 2rem;
  clear: both;
  text-align: center;
}

.modal-teacher-avatar img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--green);
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(0, 200, 83, 0.3);
}

.modal-teacher-name {
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 0.3rem;
}

.modal-teacher-designation {
  color: var(--teal);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.modal-teacher-qualification {
  color: var(--text);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.modal-teacher-bio {
  background: rgba(0, 0, 0, 0.25);
  padding: 1.2rem;
  border-radius: 20px;
  margin: 1rem 0;
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: left;
}

.modal-teacher-contact {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.teacher-contact-link {
  background: rgba(0, 200, 83, 0.12);
  padding: 8px 16px;
  border-radius: 30px;
  color: var(--green);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.teacher-contact-link:hover {
  background: var(--green);
  color: #000;
  transform: translateY(-2px);
}

@media (max-width: 680px) {
  .teacher-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .teacher-header h3 {
    font-size: 1.5rem;
  }
  .teacher-avatar {
    width: 120px;
    height: 120px;
  }
  .modal-teacher-avatar img {
    width: 110px;
    height: 110px;
  }
  .modal-teacher-name {
    font-size: 1.2rem;
  }
}