:root {
  --primary: #5B3DDE;  /* Deep purple */
  --primary-light: #7E5AFF;
  --secondary: #FF7D33;  /* Vibrant orange */
  --dark: #1A1B41;
  --light: #F8F9FF;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* Header Styles */
.navbar {
  background-color: white;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  padding: 1rem 0;
}

.brand-logo {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.8rem;
}

.brand-logo span {
  color: var(--secondary);
}

/* Hero Section */
.journey-hero {
  position: relative;
  padding: 8rem 0;
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(110%) brightness(0.7);
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Gradient overlay for better text readability */
.journey-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(91, 61, 222, 0.9) 0%, rgba(126, 90, 255, 0.8) 100%);
  z-index: 1;
}

.icon-box {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.discount-percent {
  font-size: 1.1rem;
}

/* Features Section */
.features-section {
  padding: 5rem 0;
  background: white;
}

.feature-card {
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid #E0E2EB;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(91, 61, 222, 0.1);
  border-color: var(--primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonial-section {
  padding: 5rem 2rem;
  background-color: #f7f8fa;
}

.testimonial-section h2 {
  font-size: 2.5rem;
  color: #333;
  font-weight: bold;
}

.testimonial-section p {
  font-size: 1.1rem;
  color: #6c757d;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonial-header h5 {
  font-size: 1.25rem;
  font-weight: bold;
}

.testimonial-header p {
  font-size: 1rem;
  color: #6c757d;
}

.testimonial-rating i {
  font-size: 1.2rem;
}

.testimonial-text {
  font-size: 1rem;
  color: #333;
  margin-top: 1rem;
  line-height: 1.6;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
}

.testimonial-card:hover .testimonial-header h5 {
  color: #007bff; /* Change name color on hover */
}

/* Responsive Styling */
@media (max-width: 768px) {
  .testimonial-section h2 {
    font-size: 2rem;
  }

  .testimonial-section p {
    font-size: 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-rating i {
    font-size: 1.1rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }
}

/* Salary Info Card */
.salary-info-card {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: -5rem; /* Reduced margin to decrease space */
}

.salary-info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.salary-info-card h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.2rem;
}

.salary-info-card .salary-amount {
  font-size: 2.5rem;
  font-weight: bold;
  color: #f8f9fa;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.salary-info-card p {
  font-size: 1.2rem;
  color: #f1f1f1;
}

@media (max-width: 768px) {
  .salary-info-card h3 {
      font-size: 1.75rem;
  }

  .salary-info-card .salary-amount {
      font-size: 2rem;
  }

  .salary-info-card p {
      font-size: 1rem;
  }
}


/* Application Form */
.application-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  overflow: hidden;
  margin: 3rem auto;
  margin-top: -3rem; /* Reduced margin to decrease space */
}

.form-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 2.5rem;
}

.form-body {
  padding: 2.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  padding: 12px 16px;
  border: 1px solid #E0E2EB;
  border-radius: 8px;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 61, 222, 0.15);
}

/* Payment Options */
.payment-option {
  border: 1px solid #E0E2EB;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.payment-option:hover {
  border-color: var(--primary);
  background: #F5F3FF;
}

.payment-option.selected {
  border: 2px solid var(--primary);
  background: #F5F3FF;
}

.payment-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--primary);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  border: none;
  padding: 12px 28px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #4A32C2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91, 61, 222, 0.3);
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-links a {
  color: #A0A4B8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-text  {
  color: #A0A4B8;
  text-decoration: none;
  transition: color 0.3s;
}
/* Progress Steps */
.progress-steps {
  display: flex;
  margin-bottom: 2.5rem;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  color: #A0A4B8;
  font-weight: 600;
}

.step.active {
  color: var(--primary);
}

.step-number {
  width: 36px;
  height: 36px;
  background: #E0E2EB;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

.active .step-number {
  background: var(--primary);
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: #E0E2EB;
  z-index: -1;
}

.active:not(:last-child)::after {
  background: linear-gradient(90deg, var(--primary), #E0E2EB);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-image-container {
      margin: 0 auto;
      max-width: 400px;
  }
  
  .journey-hero {
      text-align: center;
  }
  
  .d-flex.flex-wrap {
      justify-content: center;
  }
}

@media (max-width: 768px) {
  .journey-hero {
      padding: 5rem 0;
  }
  
  .display-3 {
      font-size: 2.5rem;
  }
  
  .btn-lg {
      padding: 0.8rem 1.5rem;
      font-size: 1rem;
      margin-bottom: 0.5rem;
  }
}


/*New CSS*/
/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Payment Options */
.payment-option {
  border: 1px solid #E0E2EB;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.payment-option:hover {
  border-color: var(--primary);
  background: #F5F3FF;
}

.payment-option.selected {
  border: 2px solid var(--primary);
  background: #F5F3FF;
}

.payment-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--primary);
}

/* WhatsApp Button */
.whatsapp-btn {
  background-color: #25D366;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
}

/* Success Modal */
.modal-content {
  border-radius: 16px;
  overflow: hidden;
}


/*New CSS*/
/* Radio button styles */
.form-check-input {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.15em;
}

.form-check-label {
  margin-left: 0.5em;
}

/* Form spacing */
.mb-4 {
  margin-bottom: 1.5rem !important;
}

/* Responsive adjustments for radio buttons */
@media (max-width: 576px) {
  .d-flex.gap-3 {
      gap: 1rem !important;
  }
}


/*New CSS*/
.modal {
  z-index: 1060 !important;
}
.whatsapp-btn {
  background-color: #25D366;
  border: none;
}
.whatsapp-btn:hover {
  background-color: #128C7E;
}




.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 10px;
  padding: 25px;
  width: 300px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1001;
  text-align: center;
  display: none;
}

.whatsapp-btn {
  background-color: #25D366;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
}

.close-link {
  display: inline-block;
  margin-top: 15px;
  color: #5B3DDE;
  cursor: pointer;
  font-weight: bold;
}

.popup strong {
  color: #FF7D33;
}