/* ==========================================
   BREADCRUMB NAVIGATION STYLES
   ========================================== */

/* New Breadcrumb Styles - Questions जैसा */
.breadcrumbQ {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 9px;
  padding: 18px 20px;
  list-style: none;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 2rem 0;
}

.bcPairQ {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.bcPairQ .backLink,
.bcPairQ .current {
  width: 100%;
}

.breadcrumbQ .backLink {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  justify-content: center;
}

.breadcrumbQ li[aria-current="page"] {
  flex: 1 1 auto;
}

.breadcrumbQ .current {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  justify-content: center;
}

.breadcrumbQ li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

/* Back Link Styles */
.breadcrumbQ li .backLink {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.15) 0%,
    rgba(118, 75, 162, 0.15) 100%
  );
  border: 1px solid transparent;
}

/* Icons for breadcrumb items */
.bcPairQ:nth-child(1) .backLink::before {
  content: "🏠";
  font-size: 1rem;
  transition: all 0.3s ease;
  filter: grayscale(0.3);
  flex-shrink: 0;
}

.bcPairQ:nth-child(2) .backLink::before {
  content: "📑";
  font-size: 1rem;
  transition: all 0.3s ease;
  filter: grayscale(0.3);
  flex-shrink: 0;
}

.breadcrumbQ li .backLink::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  transition: left 0.5s ease;
}

.breadcrumbQ li .backLink:hover {
  color: var(--text-color);
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.15) 0%,
    rgba(118, 75, 162, 0.15) 100%
  );
  border: 1px solid rgba(102, 126, 234, 0.3);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.breadcrumbQ li .backLink:hover::before {
  transform: scale(1.3) rotate(-10deg);
  filter: grayscale(0) brightness(1.2);
}

.breadcrumbQ li .backLink:hover::after {
  left: 100%;
}

.breadcrumbQ li .backLink:active {
  transform: translateY(-1px) scale(1.02);
}

/* Separator Arrow */
.bcSepQ {
  flex: 0 0 auto;
  width: 22px;
  min-width: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0px;
  color: transparent;
  user-select: none;
  animation: arrowPulseQ 2s ease-in-out infinite;
  position: relative;
}

.bcSepQ::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237b6fd4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5,3 11,8 5,13'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

@keyframes arrowPulseQ {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1) translateX(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) translateX(2px);
  }
}

/* Current Page Styles */
.breadcrumbQ li[aria-current="page"] .current {
  color: var(--text-color);
  font-weight: 800;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.2) 0%,
    rgba(118, 75, 162, 0.2) 100%
  );
  border-radius: 10px;
  border: 2px solid rgba(102, 126, 234, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 15px rgba(102, 126, 234, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.breadcrumbQ li[aria-current="page"] .current::before {
  content: "📄";
  font-size: 1.1rem;
  animation: iconBounceQ 2.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes iconBounceQ {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-4px) rotate(-5deg);
  }
  75% {
    transform: translateY(-2px) rotate(5deg);
  }
}

/* Hover effect on entire breadcrumb */
.breadcrumbQ:hover {
  box-shadow:
    0 12px 40px rgba(31, 38, 135, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Dark Mode Adjustments */
[data-theme="dark"] .breadcrumbQ {
  background: linear-gradient(
    135deg,
    rgba(30, 30, 30, 0.95) 0%,
    rgba(20, 20, 20, 0.9) 100%
  );
  border: 1px solid rgba(102, 126, 234, 0.2);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .breadcrumbQ li .backLink {
  background: rgba(102, 126, 234, 0.1);
  color: var(--history-text-secondary);
}

[data-theme="dark"] .breadcrumbQ li .backLink:hover {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.25) 0%,
    rgba(118, 75, 162, 0.25) 100%
  );
  border: 1px solid rgba(102, 126, 234, 0.4);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .breadcrumbQ li[aria-current="page"] .current {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0) 0%,
    rgba(118, 75, 162, 0.3) 100%
  );
  border: 2px solid rgba(102, 126, 234, 0.5);
  box-shadow:
    0 4px 15px rgba(102, 126, 234, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .breadcrumbQ {
  background: rgba(102, 126, 234, 0.1);
  color: var(--history-text-secondary);
}

[data-theme="light"] .breadcrumbQ li .backLink:hover {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.25) 0%,
    rgba(118, 75, 162, 0.25) 100%
  );
  border: 1px solid rgba(102, 126, 234, 0.4);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .breadcrumbQ li[aria-current="page"] .current {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.3) 0%,
    rgba(118, 75, 162, 0.3) 100%
  );
  border: 2px solid rgba(102, 126, 234, 0.5);
  box-shadow:
    0 4px 15px rgba(102, 126, 234, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .breadcrumbQ {
    padding: 1rem 1.2rem;
    gap: 0.4rem;
    border-radius: 12px;
  }

  .breadcrumbQ li {
    font-size: 0.85rem;
  }

  .breadcrumbQ li .backLink {
    padding: 0.4rem 0.8rem;
    gap: 0.4rem;
  }

  .breadcrumbQ li .backLink::before,
  .breadcrumbQ li[aria-current="page"] .current::before {
    font-size: 1rem;
  }

  .breadcrumbQ li[aria-current="page"] .current {
    padding: 0.4rem 0.9rem;
  }

  .breadcrumbQ li[aria-hidden="true"] {
    font-size: 1.5rem;
    margin: 0 0.2rem;
  }
}

@media (max-width: 480px) {
  .breadcrumbQ {
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    gap: 0.3rem;
  }

  .breadcrumbQ li {
    font-size: 0.6rem;
  }

  .breadcrumbQ li .backLink {
    padding: 0.25rem 0.5rem;
  }

  .breadcrumbQ li[aria-current="page"] .current {
    padding: 0.25rem 0.6rem;
  }

  .breadcrumbQ li .backLink::before,
  .breadcrumbQ li[aria-current="page"] .current::before {
    font-size: 0.95rem;
  }

  .breadcrumbQ li[aria-hidden="true"] {
    font-size: 0.8rem;
    margin: 0 0.15rem;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .breadcrumbQ {
    padding: 0.6rem 0.7rem;
    gap: 0.2rem;
  }

  .breadcrumbQ li {
    font-size: 0.5rem;
  }

  .breadcrumbQ li .backLink,
  .breadcrumbQ li[aria-current="page"] .current {
    padding: 0.28rem 0.45rem;
  }
}

/* ==========================================
   ORIGINAL BREADCRUMB STYLES (पुराने के लिए)
   ========================================== */

.breadcrumb {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem 1.5rem;
  margin: 0 0 2rem 0;
  background: var(--bg-color);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.15);
  box-shadow:
    0 8px 32px rgba(31, 38, 135, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
}

.breadcrumb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #667eea 0%,
    #764ba2 33%,
    #f093fb 66%,
    #667eea 100%
  );
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.breadcrumb::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--bg-color);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.breadcrumb li .backLink {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.15) 0%,
    rgba(118, 75, 162, 0.15) 100%
  );
  border: 1px solid transparent;
}

.breadcrumb li:first-child .backLink::before {
  content: "🏠";
  font-size: 1.1rem;
  transition: all 0.3s ease;
  filter: grayscale(0.3);
}

.breadcrumb li:nth-child(3) .backLink::before {
  content: "📑";
  font-size: 1.1rem;
  transition: all 0.3s ease;
  filter: grayscale(0.3);
}

.breadcrumb li .backLink::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  transition: left 0.5s ease;
}

.breadcrumb li .backLink:hover {
  color: var(--text-color);
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.15) 0%,
    rgba(118, 75, 162, 0.15) 100%
  );
  border: 1px solid rgba(102, 126, 234, 0.3);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.breadcrumb li .backLink:hover::before {
  transform: scale(1.3) rotate(-10deg);
  filter: grayscale(0) brightness(1.2);
}

.breadcrumb li .backLink:hover::after {
  left: 100%;
}

.breadcrumb li .backLink:active {
  transform: translateY(-1px) scale(1.02);
}

.breadcrumb li[aria-hidden="true"] {
  color: var(--text-color);
  font-size: 2rem;
  opacity: 0.6;
  margin: 0 0.3rem;
  user-select: none;
  font-weight: 300;
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: arrowPulse 2s ease-in-out infinite;
  position: relative;
}

@keyframes arrowPulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1) translateX(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) translateX(2px);
  }
}

.breadcrumb li[aria-current="page"] .current {
  color: var(--text-color);
  font-weight: 800;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.2) 0%,
    rgba(118, 75, 162, 0.2) 100%
  );
  border-radius: 10px;
  border: 2px solid rgba(102, 126, 234, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 15px rgba(102, 126, 234, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.breadcrumb li[aria-current="page"] .current::before {
  content: "📄";
  font-size: 1.1rem;
  animation: iconBounce 2.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes iconBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-4px) rotate(-5deg);
  }
  75% {
    transform: translateY(-2px) rotate(5deg);
  }
}

.breadcrumb:hover {
  box-shadow:
    0 12px 40px rgba(31, 38, 135, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

[data-theme="dark"] .breadcrumb {
  background: linear-gradient(
    135deg,
    rgba(30, 30, 30, 0.95) 0%,
    rgba(20, 20, 20, 0.9) 100%
  );
  border: 1px solid rgba(102, 126, 234, 0.2);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .breadcrumb li .backLink {
  background: rgba(102, 126, 234, 0.1);
  color: var(--history-text-secondary);
}

[data-theme="dark"] .breadcrumb li .backLink:hover {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.25) 0%,
    rgba(118, 75, 162, 0.25) 100%
  );
  border: 1px solid rgba(102, 126, 234, 0.4);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .breadcrumb li[aria-current="page"] .current {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.3) 0%,
    rgba(118, 75, 162, 0.3) 100%
  );
  border: 2px solid rgba(102, 126, 234, 0.5);
  box-shadow:
    0 4px 15px rgba(102, 126, 234, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .breadcrumb {
  background: rgba(102, 126, 234, 0.1);
  color: var(--history-text-secondary);
}

[data-theme="light"] .breadcrumb li .backLink:hover {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.25) 0%,
    rgba(118, 75, 162, 0.25) 100%
  );
  border: 1px solid rgba(102, 126, 234, 0.4);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .breadcrumb li[aria-current="page"] .current {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.3) 0%,
    rgba(118, 75, 162, 0.3) 100%
  );
  border: 2px solid rgba(102, 126, 234, 0.5);
  box-shadow:
    0 4px 15px rgba(102, 126, 234, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .breadcrumb {
    padding: 1rem 1.2rem;
    gap: 0.4rem;
    border-radius: 12px;
  }

  .breadcrumb li {
    font-size: 0.85rem;
  }

  .breadcrumb li .backLink {
    padding: 0.4rem 0.8rem;
    gap: 0.4rem;
  }

  .breadcrumb li .backLink::before,
  .breadcrumb li[aria-current="page"] .current::before {
    font-size: 1rem;
  }

  .breadcrumb li[aria-current="page"] .current {
    padding: 0.4rem 0.9rem;
  }

  .breadcrumb li[aria-hidden="true"] {
    font-size: 1.5rem;
    margin: 0 0.2rem;
  }
}

@media (max-width: 480px) {
  .breadcrumb {
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    gap: 0.3rem;
  }

  .breadcrumb li {
    font-size: 0.6rem;
  }

  .breadcrumb li .backLink {
    padding: 0.25rem 0.5rem;
  }

  .breadcrumb li[aria-current="page"] .current {
    padding: 0.25rem 0.6rem;
  }

  .breadcrumb li .backLink::before,
  .breadcrumb li[aria-current="page"] .current::before {
    font-size: 0.95rem;
  }

  .breadcrumb li[aria-hidden="true"] {
    font-size: 0.8rem;
    margin: 0 0.15rem;
  }
}

@media (max-width: 360px) {
  .breadcrumb {
    padding: 0.6rem 0.7rem;
    gap: 0.2rem;
  }

  .breadcrumb li {
    font-size: 0.5rem;
  }

  .breadcrumb li .backLink,
  .breadcrumb li[aria-current="page"] .current {
    padding: 0.28rem 0.45rem;
  }
}

@media (prefers-color-scheme: dark) {
  .breadcrumb {
    background: linear-gradient(
      135deg,
      rgba(30, 30, 30, 0.95) 0%,
      rgba(20, 20, 20, 0.9) 100%
    );
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.5),
      0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .breadcrumb li .backLink {
    background: rgba(102, 126, 234, 0.1);
  }

  .breadcrumb li .backLink:hover {
    background: linear-gradient(
      135deg,
      rgba(102, 126, 234, 0.25) 0%,
      rgba(118, 75, 162, 0.25) 100%
    );
    border: 1px solid rgba(102, 126, 234, 0.4);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
  }

  .breadcrumb li[aria-current="page"] .current {
    background: linear-gradient(
      135deg,
      rgba(102, 126, 234, 0.3) 0%,
      rgba(118, 75, 162, 0.3) 100%
    );
    border: 2px solid rgba(102, 126, 234, 0.5);
    box-shadow:
      0 4px 15px rgba(102, 126, 234, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
}

/* ==========================================
   REST OF THE STYLES (पुरानी CSS)
   ========================================== */

/* Coming Soon - Centered Layout */
.comingSoonWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  width: 100%;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.08),
    rgba(118, 75, 162, 0.08)
  );
  border-radius: 15px;
  border: 2px dashed rgba(102, 126, 234, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
}

.comingSoonContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #4a5568;
  padding: 40px 20px;
  max-width: 500px;
}

.comingSoonContent h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #2d3748;
}

.comingSoonContent p {
  font-size: 1rem;
  color: #718096;
  margin: 0;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

/* Subcategory Card Styles */
.subCard {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-left: 20px;
  margin-right: 20px;
  border: 2px solid rgba(102, 126, 234, 0.2);
}

.subCardHeader {
  display: flex;
  gap: 20px;
  padding: 25px;
  align-items: center;
}

.subCardImage,
.subCardImageFallback {
  max-width: 450px;
  width: 100%;
  max-height: 252px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.subCardImage img {
  width: 100%;
  height: 252px;
  object-fit: cover;
}

.subCardImageFallback {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.subCardInfo {
  margin-top: -40px;
  max-height: 250px;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: -40px;
}

.subCardTitle {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #2d3748;
  margin: -10px 0 10px 0;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subCardDescription {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}
.CardDescription {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

/* Quiz Grid */
.quizGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(15px, 2.5vw, 25px);
  margin-top: clamp(20px, 4vw, 30px);
  margin-left: 20px;
  margin-right: 20px;
}

@media screen and (min-width: 1400px) {
  .quizGrid {
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
  .quizGrid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .quizGrid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .quizGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

/* Quiz Card Styles */
.wholeCard {
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
}

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

.quizCard {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition:
    background-color 0.4s ease,
    box-shadow 0.3s ease,
    all 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: clamp(12px, 2vw, 16px);
  min-height: auto;
  height: 100%;
}

.quizCard:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.quizCardContent {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.quizCardTitle {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: #000;
  font-weight: 700;
  text-align: center;
  margin: 0;
  line-height: 1.3;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quizInfo {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  border-top: 1.5px solid #edf2f7;
  border-bottom: 1.5px solid #edf2f7;
  gap: 8px;
}

.quizQuestions,
.quizUserScore {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #000;
  font-size: clamp(0.75rem, 1.6vw, 0.85rem);
  font-weight: 500;
}

.quizQuestions i,
.quizUserScore i {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: #667eea;
}

.quizActionButtons {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.btnStart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: clamp(8px, 1.5vw, 10px) clamp(14px, 2vw, 16px);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  flex: 1;
  font-size: clamp(0.8rem, 1.6vw, 0.9rem);
  border: none;
  cursor: pointer;
}

.btnStart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
}

.shareBtn {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border: 1px solid #667eea;
  padding: clamp(8px, 1.5vw, 10px);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: clamp(0.8rem, 1.6vw, 0.9rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shareBtn:hover {
  background: #667eea;
  color: white;
}

/* Mobile Responsive */
@media screen and (max-width: 767px) {
  .subCardHeader {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .subCardInfo {
    margin-top: -10px;
  }

  .quizCard {
    padding: 15px;
  }

  .quizInfo {
    flex-direction: row;
    padding: 10px 0;
    gap: 15px;
  }

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

@media screen and (max-width: 480px) {
  .quizCard {
    padding: 12px;
  }

  .quizInfo {
    gap: 8px;
  }

  .quizGrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .comingSoonWrapper {
    min-height: 220px;
    margin-top: 20px;
  }

  .comingSoonContent {
    padding: 25px 15px;
  }

  .comingSoonContent h3 {
    font-size: 1.4rem;
  }

  .comingSoonContent p {
    font-size: 0.9rem;
  }
}

@media (min-width: 1001px) {
  .bcPairQ {
    flex: 0 1 auto;
    width: fit-content;
  }

  .bcPairQ .backLink,
  .bcPairQ .current {
    width: auto;
  }

  .breadcrumbQ li[aria-current="page"] {
    flex: 0 1 auto;
    width: fit-content;
  }

  .breadcrumbQ .backLink,
  .breadcrumbQ .current {
    flex: unset;
    width: auto;
  }

  .breadcrumb li {
    flex: 0 1 auto;
    width: fit-content;
  }

  .breadcrumb li .backLink,
  .breadcrumb li[aria-current="page"] .current {
    width: auto;
    flex: unset;
  }
}
