 /* Header updates */
 
 body, html {
  height: auto;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

    .header {
      height: 80px; /* Increased height */
      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; /* Slightly larger logo */
      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-direction: column;
      cursor: pointer;
      padding: 10px;
      gap: 4px;
    }

    .menu-bar {
      width: 35px;
      height: 3px;
      background-color: #1f2937;
      transition: 0.3s;
      border-radius: 2px;
    }

    .menu-toggle:hover .menu-bar {
      background-color: #667eea;
    }

    /* Animated Learner Categories */
    .learner-categories {
      min-height: 70vh;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 120px 30px 60px; /* Adjusted top padding for header */
      position: relative;
      overflow: hidden;
    }

    .categories-container {
      max-width: 900px;
      width: 100%;
      position: relative;
    }

    .center-title {
      text-align: center;
      color: white;
      margin-bottom: 40px; /* Reduced margin */
      position: relative;
      z-index: 10;
    }

    .center-title h1 {
      font-size: 2rem; /* Smaller font size */
      font-weight: 800;
      margin-bottom: 15px;
      text-shadow: 0 4px 8px rgba(0,0,0,0.3);
      animation: titleGlow 2s ease-in-out infinite alternate;
    }

    .center-title p {
      font-size: 1.2rem;
      opacity: 0.95;
      max-width: 600px;
      margin: 0 auto;
    }

    @keyframes titleGlow {
      from { text-shadow: 0 4px 8px rgba(0,0,0,0.3); }
      to { text-shadow: 0 4px 20px rgba(255,255,255,0.3), 0 4px 8px rgba(0,0,0,0.3); }
    }

    /* Learner Cards Grid */
    .learner-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(3, 1fr);
      gap: 20px;
      height: 800px; /* Increased height for better button visibility */
      position: relative;
    }

    /* Individual learner cards */
    .learner-card {
     background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  opacity: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: none;
    }

    .learner-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
      transition: left 0.5s;
    }

    .learner-card:hover::before {
      left: 100%;
    }

   /* .learner-card:hover {  
      transform: translateY(-10px) scale(1.05);
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
      background: rgba(255, 255, 255, 1);
    }  */
.card-6,
{
  margin-bottom: 80px;
}

    .card-icon {
      font-size: 1.5rem;
      margin-bottom: 15px;
      display: block;
    }

    .card-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: #1f2937;
      margin-bottom: 8px;
    }

    .card-subtitle {
      font-size: 0.85rem;
      color: #6b7280;
      margin-bottom: 20px; /* Increased margin for better spacing */
    }

    .card-badge {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      padding: 8px 16px; /* Increased padding */
      border-radius: 15px;
      font-size: 0.8rem;
      font-weight: 600;
      display: inline-block;
    }

    /* Animation delays for different positions */
    .card-1,
    .card-2, 
    .card-3, 
    .card-4,
    .card-5,
    .card-6,
    

    /* Slide in animations from different directions */
    @keyframes slideFromTopLeft {
      from { transform: translate(-100px, -100px) rotate(-10deg); opacity: 0; }
      to { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    }

    @keyframes slideFromTop {
      from { transform: translateY(-100px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    @keyframes slideFromTopRight {
      from { transform: translate(100px, -100px) rotate(10deg); opacity: 0; }
      to { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    }

    @keyframes slideFromLeft {
      from { transform: translateX(-100px) rotate(-5deg); opacity: 0; }
      to { transform: translateX(0) rotate(0deg); opacity: 1; }
    }

    @keyframes slideFromCenter {
      from { transform: scale(0) rotate(180deg); opacity: 0; }
      to { transform: scale(1) rotate(0deg); opacity: 1; }
    }

    @keyframes slideFromRight {
      from { transform: translateX(100px) rotate(5deg); opacity: 0; }
      to { transform: translateX(0) rotate(0deg); opacity: 1; }
    }

    @keyframes slideFromBottomLeft {
      from { transform: translate(-100px, 100px) rotate(-10deg); opacity: 0; }
      to { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    }

    @keyframes slideFromBottom {
      from { transform: translateY(100px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    @keyframes slideFromBottomRight {
      from { transform: translate(100px, 100px) rotate(10deg); opacity: 0; }
      to { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    }

    /* 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; }
}

    /* 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;
	  position: relative;
	  margin-top: 40px;
    }

    .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 ul li a {
      color: white;
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-section ul li a:hover {
      color: #60a5fa;
    }

    .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;
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
      .center-title h1 { font-size: 2.2rem; }
      .learner-grid { height: 550px; gap: 15px; }
      .learner-card { padding: 25px 20px; }
      .card-icon { font-size: 2.5rem; }
    }

    @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: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
        height: 850px;
        gap: 15px;
      }
      .learner-card { padding: 20px 15px; }
      .card-icon { font-size: 2.2rem; }
      .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 { padding: 20px 15px; }
      .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;
    }
.menu-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;       /* ✅ centers dots horizontally */
  align-items: center;           /* ✅ centers dots vertically */
  width: 32px;                   /* slightly wider for 4 dots */
  height: 32px;
  gap: 4px;                      /* consistent spacing */
  padding: 4px;
  margin-left: auto;
  margin-right: 12px;            /* ensures spacing from edge */
  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;
}	

/*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;
}

/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.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;
}

