/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-up:nth-child(1) {
  animation-delay: 0.1s;
  opacity: 0;
}

.animate-slide-up:nth-child(2) {
  animation-delay: 0.2s;
  opacity: 0;
}

.animate-slide-up:nth-child(3) {
  animation-delay: 0.3s;
  opacity: 0;
}

.animate-slide-up:nth-child(4) {
  animation-delay: 0.4s;
  opacity: 0;
}

.animate-fade-in-right {
  animation: fadeInRight 1s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

/* ===== HERO SECTION ===== */
.pl-hero {
  position: relative;
  background: linear-gradient(135deg, #0d214f 0%, #0067da 100%);
  padding: 90px 0 80px;
  overflow: hidden;
}

.pl-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/personal_Loan/Personal .png') center/cover no-repeat;
  opacity: 0.15;
  z-index: 1;
}

.pl-bg-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.pl-bg-shape.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.pl-bg-shape.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: 5%;
  animation: float 8s ease-in-out infinite;
}

.pl-hero-content {
  position: relative;
  z-index: 2;
  /* max-width, width, margin handled by .container */
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pl-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pl-hero-left h1 {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}

.pl-hero-left p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 1.8;
}

.pl-cta-btn {
  display: inline-block;
  background: #fff;
  color: #0d214f;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.pl-cta-btn:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.pl-hero-right {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.pl-stat-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: 1;
  min-width: 150px;
}

.pl-stat-box h3 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 700;
}

.pl-stat-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin: 0;
}

/* ===== FEATURES SECTION ===== */



.pl-features {
  padding: 80px 0;
  background: #f8f9fa;
}

.pl-section-title {
  text-align: center;
  margin-bottom: 60px;
}


.pl-section-title h2 {
  font-size: 40px;
  color: black;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.15;
}

.pl-section-title p {
  font-size: 18px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 18px;
  text-align: center;
}

.pl-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pl-feature-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.pl-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0067da, #0d214f);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.pl-feature-card:hover::before {
  transform: scaleX(1);
}

.pl-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 103, 218, 0.15);
  border-color: #0067da;
}

.pl-feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0067da, #0d214f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 32px;
  color: #fff;
}

.pl-feature-card h3 {
  font-size: 22px;
  color: black;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.15;
}

.pl-feature-card p {
  color: #475569;
  line-height: 1.8;
  font-size: 18px;
  margin-bottom: 18px;
}




/* ===== ELIGIBILITY SECTION ===== */
.pl-eligibility {
  padding: 80px 0;
  background: #fff;
}

.pl-eligibility-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.pl-eligibility-left h2 {
  font-size: 40px;
  color: black;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.15;
}

.pl-eligibility-left p {
  font-size: 18px;
  color: #475569;
  margin-bottom: 18px;
  line-height: 1.8;
}

.pl-eligibility-list {
  list-style: none;
  padding: 0;
}

.pl-eligibility-list li {
  padding: 18px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #475569;
  line-height: 1.8;
}

.pl-eligibility-list li:last-child {
  border-bottom: none;
}

.pl-eligibility-list i {
  color: #0067da;
  margin-right: 15px;
  font-size: 20px;
}

.pl-eligibility-image {
  position: relative;
}

.pl-eligibility-image img {
  width: 100%;
  height: 600px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(13, 33, 79, 0.15);
}

/* ===== DOCUMENTS SECTION ===== */
.pl-documents {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pl-documents-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pl-documents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.pl-doc-item {
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border-left: 4px solid #0067da;
}

.pl-doc-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(0, 103, 218, 0.1);
}

.pl-doc-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0067da, #0d214f);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.pl-doc-icon i {
  color: #fff;
  font-size: 22px;
}

.pl-doc-text h4 {
  font-size: 18px;
  color: black;
  margin-bottom: 5px;
  font-weight: 700;
  line-height: 1.15;
}

.pl-doc-text p {
  font-size: 18px;
  color: #475569;
  margin: 0;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* ===== EMI CALCULATOR ===== */
.pl-emi-calc {
  padding: 80px 0;
  background: #fff;
}

.pl-emi-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.pl-calc-box {
  background: linear-gradient(135deg, #0d214f 0%, #0067da 100%);
  padding: 50px;
  border-radius: 20px;
  color: #fff;
  margin-top: 40px;
  box-shadow: 0 20px 60px rgba(13, 33, 79, 0.25);
}

.pl-calc-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.pl-input-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.pl-input-group input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  font-family: "Poppins", Arial, sans-serif;
  transition: all 0.3s ease;
}

.pl-input-group input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.pl-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.pl-calc-btn {
  width: 100%;
  padding: 16px;
  background: #fff;
  color: #0d214f;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Poppins", Arial, sans-serif;
}

.pl-calc-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.pl-result-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  margin-top: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: none;
}

.pl-result-box.active {
  display: block;
}

.pl-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.pl-result-item {
  text-align: center;
}

.pl-result-item span {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.pl-result-item strong {
  font-size: 28px;
  color: #fff;
  font-weight: 700;
}

/* ===== FAQ SECTION ===== */
.pl-faq {
  padding: 80px 0;
  background: #f8f9fa;
}

.pl-faq-wrapper {
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 0 20px;
}

.pl-faq-list {
  margin-top: 50px;
}

.pl-faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.pl-faq-item.active {
  border-color: #0067da;
  box-shadow: 0 8px 25px rgba(0, 103, 218, 0.1);
}

.pl-faq-question {
  width: 100%;
  padding: 25px 30px;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: black;
  transition: all 0.3s ease;
  line-height: 1.15;
}

.pl-faq-question:hover {
  color: #0067da;
}

.pl-faq-icon {
  width: 30px;
  height: 30px;
  background: #0067da;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.pl-faq-item.active .pl-faq-icon {
  transform: rotate(45deg);
}

.pl-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.pl-faq-answer-content {
  padding: 0 30px 25px;
  color: #475569;
  line-height: 1.8;
  font-size: 18px;
  margin-bottom: 18px;
}

/* ===== FOOTER PLACEHOLDER ===== */
.pl-footer-placeholder {
  padding: 60px 0;
  background: #0d214f;
  text-align: center;
  color: #fff;
}

.pl-footer-placeholder p {
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
  .pl-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pl-hero-left h1 {
    font-size: 36px;
  }

  .pl-eligibility-wrapper {
    grid-template-columns: 1fr;
  }

  .pl-eligibility-left {
    order: 1;
  }

  .pl-eligibility-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
  }

  .pl-eligibility-image {
    order: 2;
  }

  .pl-calc-inputs {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pl-result-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pl-documents-grid {
    grid-template-columns: 1fr;
  }

  .pl-eligibility-image img {
    height: auto;
    margin-top: 30px;
  }

  /* Ensure the badge spans correctly */
  .pl-eligibility-header span[data-testid="eligibility-tag"] {
    display: inline-block !important;
    margin-left: auto;
    margin-right: auto;
  }
}



/* ===== HERO RIGHT - STAT BOXES ===== */
.sbl-hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.sbl-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sbl-stats-single {
  grid-template-columns: 1fr;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.sbl-stat-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px 25px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.sbl-stat-box:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.sbl-stat-box h3 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  margin-top: 5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sbl-stat-box p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.sbl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.sbl-btn-primary {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.sbl-btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.sbl-btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.sbl-btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-3px);
}