
body {
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(88, 43, 140, 0.08), transparent 35%), radial-gradient(circle at 80% 10%, rgba(31, 99, 240, 0.08), transparent 30%), #f7f6ff;
  color: #1f1d2b;
}

.page-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 64px;
}

/* Flip switch styling for tabs */
.flip-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: #f2efff;
  border: 1px solid #e0def5;
  border-radius: 18px;
  margin-bottom: 1.25rem;
  padding: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.flip-switch a {
  text-align: center;
  padding: 10px 12px;
  text-decoration: none;
  color: #3c2d66;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.flip-switch a.active {
  background: linear-gradient(135deg, #5b2ea6, #7e4edd);
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(91, 46, 166, 0.25);
}
.nav-tabs .nav-link {
  
    border-top-left-radius: none !important;
    border-top-right-radius: none !important;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.error{
  color:red;
}

a.nav-link.active{
  background-color: #461d74 !important;
  color: #fff !important;
}

.col-auto.d-flex {
  white-space: nowrap;
}

@media (max-width: 500px) {
  .col-auto.d-flex button {
    padding: 4px 8px;
    font-size: 14px;
  }
}

/* Hero Section with Purple Gradient */
.hero-section {
  background: linear-gradient(to right, #471F75, #5A2A8B, #471F75);
  padding: 64px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(71, 31, 117, 0.3);
  border-radius: 22px;
  margin-bottom: 30px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-12deg);
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

/* Stamp Icon with Glow Effect */
.hero-icon-container {
  display: inline-block;
  position: relative;
  margin-bottom: 24px;
}

.hero-icon-blur {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #a78bfa, #c084fc);
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.3;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-icon {
  position: relative;
  background: linear-gradient(to bottom right, #c4b5fd, #a78bfa);
  padding: 16px;
  border-radius: 50%;
  box-shadow: 0 10px 40px rgba(167, 139, 250, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon svg {
  width: 40px;
  height: 40px;
  color: #581c87;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-logo-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.hero-subtitle {
  font-size: 1rem;
  color: #e9d5ff;
  font-weight: 500;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-subtitle svg {
  width: 16px;
  height: 16px;
}

/* Three Steps in Hero Section */
.hero-three-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: nowrap;
}

.hero-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.hero-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: white;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  line-height: 1;
}

.hero-step-text {
  font-size: 13px;
  color: white;
  font-weight: 500;
  text-align: center;
  max-width: 120px;
  line-height: 1.3;
}

.hero-step-arrow {
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  font-weight: 300;
  margin: 0 8px;
  align-self: flex-start;
  padding-top: 8px;
}

@media (max-width: 768px) {
  .hero-three-steps {
    gap: 12px;
    margin-top: 14px;
    
  }
 
  .hero-step-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .hero-step-text {
    font-size: 14px;
    /* max-width: 100%; */
   text-wrap: wrap;
  }
  
  .hero-step-arrow {
   display: none;
  }
}

.tab-shell {
  max-width: 840px;
  margin: auto ;
  position: relative;
  z-index: 2;
}

.tab-card {
  background: #fff;
  border-radius: 22px;
  padding: 14px 10px 15px;
  box-shadow: 0 18px 55px rgba(48, 22, 95, 0.12);
  border: 1px solid #ede9ff;
}

.header-title {
  font-weight: 700;
  color: #2c2250;
  margin-bottom: 6px;
}

.sub-label {
  color: #6b658c;
  font-size: 0.95rem;
  margin: 0;
}

.input-hint {
  font-size: 0.85rem;
  color: #8b86a5;
}

.highlight_label {
  color: #5b2ea6;
  font-weight: 600;
}


.form-section {
  border: 1px solid #f0ebff;
  border-radius: 14px;
  padding: 16px;
  background: #fbfaff;
  margin-bottom: 16px;
}

.section-label {
  font-weight: 600;
  color: #4a3a78;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.section-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7d4ef7;
  box-shadow: 0 0 0 4px rgba(125, 78, 247, 0.1);
}

.radio-row label {
  margin-left: 8px;
  margin-right: 18px;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #efe7ff;
  color: #472b94;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.sub_btn_pack {
  background: linear-gradient(135deg, #5626c4, #7c58ff) !important;
  border: none;
  padding: 12px 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 24px rgba(86, 38, 196, 0.22);
}

.pill-bar {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.pill {
  background: #f1edff;
  color: #564387;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
} 

.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e7e3ff, transparent);
  margin: 16px 0;
} 

.modern-card {
  background: #fff;
  border: 1px solid #ece8ff;
  border-radius: 16px;
  padding: 18px 18px 12px;
  box-shadow: 0 14px 35px rgba(48, 22, 95, 0.08);
  margin-bottom: 12px;
}