* {
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Header updates */
.header {
  height: 80px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 50px;
  margin-right: 12px;
}

.logo-container h1 {
  font-size: 28px;
  margin: 0;
  color: #1f2937;
  font-weight: 700;
}

/* Hamburger menu for right side */
.menu-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  gap: 4px;
  padding: 4px;
  margin-left: auto;
  margin-right: 10px;
  box-sizing: border-box;
  cursor: pointer;
  z-index: 1002;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #1f2937;
  border-radius: 50%;
}

.menu-options {
  display: none;
  position: absolute;
  top: 70px;
  right: 20px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  list-style: none;
  padding: 10px;
  z-index: 1001;
}

.menu-options li {
  margin: 8px 0;
}

.menu-options li a {
  text-decoration: none;
  color: #1f2937;
}

/* Animated Learner Categories */
.learner-categories {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 30px 60px;
  position: relative;
  overflow: hidden;
}

.categories-container {
  max-width: 900px;
  width: 100%;
  position: relative;
}

.center-title {
  text-align: center;
  color: white;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}

.center-title h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.center-title p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* Learner Cards Grid - REMOVED ALL ANIMATIONS */
.learner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
  height: auto;
  position: relative;
  min-height: 600px;
}

.learner-grid-new {
background: white;
    padding: 1rem;
    border-radius: 10px;
}


/* Individual learner cards - SIMPLIFIED WITHOUT ANIMATIONS */
.learner-card {
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
  
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 1; /* Always visible */
}

/* REMOVED ::before pseudo-element animation */

/* .learner-card:hover { */
  /* transform: translateY(-5px); */
  /* box-shadow: 0 15px 35px rgba(0,0,0,0.25); */
  /* background: rgba(255, 255, 255, 1); */
/* } */



.card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 15px;
  text-align: left;
}

.card-subtitle {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 20px;
}

.card-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

/* REMOVED ALL ANIMATION CLASSES AND KEYFRAMES */

/* Floating particles effect */
.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #ffeb3b 0%, #fdd835 100%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite, twinkle 2s infinite alternate;
  opacity: 0.8;
}

@keyframes float {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.2); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes twinkle {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

/* Chip button styles */
.chip-container {
  display: flex;
  gap: 10px;
  min-height: 60px;
  flex-wrap: wrap;
}

.chip {
  flex: 1 1 calc(25% - 10px); /* 4 buttons per row with gap */
   min-width: 200px; /* Minimum button width */
  padding: 1rem;
  font-size: 14px;
  border-radius: 12px;
  border: 2px solid #ccc;
background: white;
  color: black;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-wrap: auto;
  box-sizing: border-box; /* Important for accurate width calculations */
}

.chip .button-icon{
	font-size: 24px;
}


/* Hide the actual radio buttons */
.chip-radio {
  display: none;
  pointer-events: none;
}

.grid2 .chip { 
flex: 0 1 calc(50% - 5px); /* 50% width minus half the gap */
  max-width: calc(50% - 5px);
}

.grid3 .chip {
 flex: 0 1 calc(33.333% - 6.67px); /* 33.33% width minus proportional gap */
  max-width: calc(33.333% - 6.67px);
}

.grid4 .chip {
  flex: 0 1 calc(25% - 7.5px); /* 25% width minus proportional gap */
  max-width: calc(25% - 7.5px);
}

.grid5 .chip {
   flex: 0 1 calc(20% - 8px); /* 20% width minus proportional gap */
  max-width: calc(20% - 8px);
}




/* Responsive behavior - fall back to fewer items per row on smaller screens */
@media (max-width: 768px) {
  .grid3 .chip,
  .grid4 .chip,
  .grid5 .chip {
    flex: 0 1 calc(50% - 5px);
    max-width: calc(50% - 5px);
  }
}

@media (max-width: 480px) {
  .grid2 .chip,
  .grid3 .chip,
  .grid4 .chip,
  .grid5 .chip {
    flex: 0 1 100%;
    max-width: 100%;
  }
  
  .mobileCol2 .chip {
	 flex: 0 1 calc(50% - 5px); /* 50% width minus half the gap */
	 max-width: calc(50% - 5px);
	 min-width: 10px;
  }
}

.chip:hover {
  background-color: #e3f2fd;
  border-color: #5a67d8;
  transform: translateY(-1px);
}

.chip.selected, .chip-radio:checked + .chip {
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
  color: rgb(29 78 216 / var(--tw-text-opacity, 1));
  border-color: rgb(59, 130, 246);
  border-width: 2px;
  font-weight: bold;
}

.placeholder-text {
  color: #9ca3af;
  font-style: italic;
  margin: 0;
  text-align: center;
  padding: 20px;
}

/* Stats section */
.stats-section {
  background: #1f2937;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #60a5fa;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Footer updates */
.footer {
  background: white;
  color: white;
  padding: 50px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-section {
  background: #7551ab;
  color: white;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  
}

.footer-section h3,
.footer-section h4 {
  color: #60a5fa;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section  a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Form Input Styles */
.form-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='gray' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

.form-input:hover {
  border-color: #0078D4;
  background-color: #f0f8ff;
}

.form-input:focus {
  outline: none;
  border-color: #0078D4;
  box-shadow: 0 0 0 2px rgba(0,120,212,0.2);
  background-color: #fff;
}

/* AI Trigger Button */
.ai-trigger-button {
  background-color: #0078D4;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease;
}

.ai-trigger-button:hover {
  background-color: #005A9E;
}

/* Response Options */
.response-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

.radio-card {
  display: inline-block;
  width: 90px;
  padding: 8px 6px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  text-align: center;
}

.radio-card:hover {
  border-color: #0078D4;
  background-color: #eef6ff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.radio-card input[type="radio"] {
  display: none;
}

.radio-card input[type="radio"]:checked + .card-content {
  font-weight: bold;
  color: #0078D4;
  background-color: #e6f2ff;
  border-radius: 6px;
}

.card-content {
  font-size: 15px;
  color: #333;
  display: block;
}

/* Response fieldset */
.response-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.response-fieldset legend {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 8px;
}

/* Language fieldset */
.language-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.language-fieldset legend {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 8px;
}

.radio-chip {
  display: inline-block;
  margin: 6px;
  cursor: pointer;
}

.radio-chip input[type="radio"] {
  display: none;
}

.chip-content {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 16px;
  border: 2px solid #ccc;
  background-color: #f9f9f9;
  color: #333;
  transition: background-color 0.3s ease, border-color 0.3s ease, font-weight 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.radio-chip:hover .chip-content {
  border-color: #0078D4;
  background-color: #eef6ff;
}

.radio-chip input[type="radio"]:checked + .chip-content {
  background-color: #0078D4;
  color: white;
  font-weight: bold;
  border-color: #0078D4;
}

/* Toast message */
.toast {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4facfe;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  font-size: 16px;
  z-index: 9999;
}

/* Popup Modal */
.popup-modal {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 2px solid #0288d1;
  padding: 20px;
  z-index: 9999;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

.popup-query-box {
  background: #f1f1f1;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 16px;
}

.popup-buttons button {
  margin: 5px;
  padding: 10px 15px;
  border: none;
  background-color: #0288d1;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background-color: white;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.popup-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.popup-content h3 {
  margin-bottom: 20px;
  color: #1f2937;
}

.popup-content button {
  margin: 10px 5px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.popup-content button:first-of-type {
  background: #667eea;
  color: white;
}

.popup-content button:last-child {
  background: #dc2626;
  color: white;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .center-title h1 { font-size: 2.2rem; }
  .learner-grid { gap: 15px; }
  .learner-card { padding: 0.75rem; }
  
}

@media (max-width: 768px) {
  .header { height: 70px; }
  .learner-categories { padding: 100px 15px 60px; }
  .center-title h1 { font-size: 1.8rem; }
  .center-title p { font-size: 1rem; }
  .learner-grid { 
    grid-template-columns: 1fr;
    gap: 15px;
    min-height: auto;
  }
  .learner-card { padding: 0.5rem; }
  .stats-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
}

@media (max-width: 480px) {
  .learner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding-bottom: 100px; /* ensures space before footer */
    height: auto; /* allow natural height */
  }

  .learner-card {
    margin: 0;
    padding: 0.5rem;
  }

  .logo-container h1 { font-size: 24px; }
  .logo { height: 40px; }
  
}

/* CTA section */
.cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.cta p {
  font-size: 1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: white;
  color: #667eea;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
}



.learner-grid1 {
background: white;
}