@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

body {
  font-family: "Poppins", sans-serif;
  /* background: linear-gradient(135deg, #f0f5ff 0%, #fffef0 100%); */
  background: #ffcd00;
  min-height: 100vh;
}

.big-heading{
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #1e3a8a;
}

.medium-heading{
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  color: #1e3a8a;
}

@media (max-width: 600px) {
  .big-heading {
    font-size: 1.2rem; /* smaller size for phones */
  }

  .medium-heading {
    font-size: 1rem; /* smaller size for phones */
  }
}

.slide {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.option-card {
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
}

.option-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.option-card.selected {
  border-color: #ffcd00;
  background-color: #fff9c2;
  box-shadow: 0 4px 15px rgba(255, 216, 18, 0.25);
}

.progress-bar {
  transition: width 0.5s ease;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  animation: modalFadeIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.category-bar {
  transition: width 1s ease-out;
}

.nav-btn {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.question-counter {
  background: #0f236e;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(23, 47, 175, 0.3);
  flex-shrink: 0;
}

.glow {
  box-shadow: 0 0 20px rgba(255, 216, 18, 0.4);
}

.question-content {
  flex-grow: 1;
  min-width: 0;
}

.nav-buttons {
  padding-top: 2rem;
  padding-bottom: 1rem;
  margin-top: 1rem;
}

.option-circle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #c7d2fe;
  background: white;
  margin-right: 12px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.option-circle span {
  font-weight: bold;
  color: #1e3a8a;
  font-size: 16px;
}

.logo-container {
  background: linear-gradient(135deg, #0f236e 0%, #0a1a66 100%);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 20px rgba(23, 47, 175, 0.3);
}

.logo-container img {
  border-radius: 50%;
}

.logo-text {
  font-weight: 700;
  font-size: 2rem;
  background: linear-gradient(135deg, #ffcd00 0%, #ffb700 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* .quiz-container {
        max-height: 75vh;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #0f236e #f0f5ff;
      } */

.quiz-container::-webkit-scrollbar {
  width: 8px;
}

.quiz-container::-webkit-scrollbar-track {
  background: #f0f5ff;
  border-radius: 4px;
}

.quiz-container::-webkit-scrollbar-thumb {
  background: #0f236e;
  border-radius: 4px;
}

/* Toast container */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  width: calc(100% - 40px);
  font-family: "Poppins", sans-serif;
}

/* Toast base */
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  color: #fff;
  opacity: 0;
  transform: translateX(100%);
  animation: slideIn 0.5s forwards, fadeOut 0.5s ease forwards 3s;
  position: relative;
  overflow: hidden;
}

/* Toast types with gradient */
.toast.error {
  background: #fca5a5; /* pastel red */
  color: #7f1d1d;
}
.toast.success {
  background: #a7f3d0; /* pastel green */
  color: #064e3b;
}
.toast.info {
  background: #bfdbfe; /* pastel blue */
  color: #1e3a8a;
}
.toast.warning {
  background: #fde68a; /* pastel yellow */
  color: #78350f;
}

/* Icons */
.toast i {
  font-size: 18px;
  flex-shrink: 0;
}

/* Text */
.toast span {
  flex: 1;
  line-height: 1.4;
}

/* Close button */
.toast button {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.toast button:hover {
  opacity: 1;
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Progress wrapper */
.progress-wrapper {
  width: 100%;
  /* max-width: 600px; */
  margin: 25px auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-family: "Poppins", sans-serif;
}

/* Bar container */
.progress-bar {
  width: 100%;
  height: 14px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Fill */
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0f236e, #344a9c);
  border-radius: 10px;
  transition: width 0.4s ease;
}

/* Text */
.progress-text {
  font-size: 15px;
  font-weight: 600;
  color: #4b5563;
}

/* Responsive: center bottom on mobile */
@media (max-width: 600px) {
  .toast-container {
    bottom: auto;
    top: 20px;
    right: 50%;
    transform: translateX(50%);
    max-width: 90%;
  }
}

@media (max-width: 640px) {
  /* .question-header {
          flex-direction: column;
          align-items: flex-start;
        } */

  .question-counter {
    margin-bottom: 1rem;
    margin-right: 0;
  }

  .nav-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-buttons button {
    width: 100%;
    text-align: center;
  }

  .option-card {
    padding: 12px;
  }

  .option-circle {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }

  .option-circle span {
    font-size: 15px;
  }

  .logo-container {
    width: 75px;
    height: 75px;
  }
}

.lead-title {
      font-weight: 700;
      margin-bottom: 18px;
    }

    .section {
      margin-bottom: 26px;
    }

    .section h2 {
      margin: 0 0 8px 0;
      font-size: 1.05rem;
      font-weight: 700;
    }

    .cta {
      font-weight: 700;
    }

    a {
      color: #0a58ca;
      text-decoration: underline;
    }

    .small-muted {
      font-style: italic;
      color: #222;
      display: block;
      margin-top: 6px;
    }

    .emphasis {
      font-style: italic;
      font-weight: 600;
      margin-top: 8px;
      display: block;
    }

    .foot {
      margin-top: 14px;
    }