 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  margin: 0; padding: 0; 
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  text-align: center;
}

/* Header Navigation */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 16px;
  color: white; 
}

.logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* Navigation */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  min-height: 60px;
}

.nav-brand,
.nav-brand h1,
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-brand h1 {
  font-size: 20px;
  color: #2563eb;
  font-weight: 700;
}

.auth-buttons {
  display: flex;
  gap: 8px;
}

/* Layout & Containers */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}



/*Main */
main {
	padding-top: var(--header-height, 70px);
}

.formSection { 
margin: 20px auto;
 padding: 20px;
 background: white;
 border-radius: 5px;
 box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
 
 }
 
/*Form */
form { 
display: flex; flex-direction: column; flex-wrap:wrap;justify-content: flex-start;
}

        form label { 
margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  display: block;
   }
  
        form select {
  font-size: 13px;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #bbb;
  margin-bottom: 2px; /* 👈 reduced spacing below each dropdown */
  width: 100%;
    
}
	
		
	.response-fieldset, .response-fieldset2 {
    border: 2px solid #0073e6; /* Adds a blue border */
    padding: 15px;
    border-radius: 5px; /* Softens corners */
    background-color: #f8f9fa; /* Light gray background */
}


.response-options {
    display: flex;
    flex-wrap: wrap; /* Ensures good mobile compatibility */
    gap: 12px;
	margin-top:10px;
    justify-content: space-between;
}



.response-options label:hover {
    background-color: #add8e6; /* Light blue on hover */
}



.aiButtons { margin-top: 15px; background-color: #0073e6; color: white; border: none; padding: 10px; cursor: pointer; }





/* Index */
/* Buttons */
.btn,
.btn-primary,
.btn-outline,
.btn-large {
  border: none;
  border-radius: 2px;
  
  min-height:30px;
  
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover,
.btn-primary:active {
  background: #1d4ed8;
}

.btn-outline {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: 2px solid #2563eb;
}

.btn-outline:hover,
.btn-outline:active {
  background: #2563eb;
  color: white;
}

.btn-large {
  padding: 15px 30px;
  font-size: 16px;
  min-height: 50px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 16px 40px;
  text-align: center;
  margin-top: 60px;
}

.hero-content,
.hero-title,
.hero-subtitle,
.hero-buttons,
.hero-stats {
  max-width: 100%;
  display: block;
}

.hero-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 16px;
  margin-bottom: 24px;
  opacity: 0.95;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #fbbf24;
}

.stat-label {
  font-size: 12px;
  opacity: 0.9;
}

/* Features & Courses */
.features,
.popular-courses {
  padding: 40px 16px;
  background: white;
}

.feature-icon {
  font-size: 42px;       /* 👈 Larger icon size */
  margin-bottom: 16px;
  line-height: 1;        /* Tighter spacing around the icon */
  text-align: center;    /* Ensures emoji or icon stays centered */
}


.section-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: #1f2937;
}

.features-grid,
.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card,
.course-card {
  background: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e5e7eb;
}

.course-image {
  font-size: 60px;
  text-align: center;
  padding: 24px;
  background: #f3f4f6;
}

.course-content {
  padding: 20px;
}

.course-content h3,
.course-content p {
  font-size: 14px;
  color: #1f2937;
  margin-bottom: 8px;
}

/* CTA */
.cta {
  padding: 40px 16px;
  background: #2563eb;
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta p {
  font-size: 16px;
  margin-bottom: 24px;
  opacity: 0.9;
}

/* Assessment & Footer */
.assessment-preview,
.assessment,
.footer {
  padding: 24px 16px;
  background: #f3f4f6;
  color: #1f2937;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  border-top: 1px solid #374151;
  padding-top: 16px;
  color: #9ca3af;
}


@media (min-width: 768px) {
  .container {
    max-width: 1200px;
    padding: 0 24px;
  }
  
  .formSection {
	max-width: 60%;
  }

  .nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
  }

  .nav-links a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

.stat-number {
  transition: all 0.4s ease-out;
}

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}
/*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 {
  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;
}
