/* ==========================================================
   LOAN AGAINST PROPERTY PAGE STYLES
   ========================================================== */

/* ============ PAGE HERO ============ */
.lap-hero {
  position: relative;
  padding: 140px 0 160px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5ff 0%, #e6e6ff 50%, #f0f0ff 100%);
}

.lap-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,255,0.18), transparent 65%);
  animation: float 9s ease-in-out infinite;
  pointer-events: none;
}

.lap-hero::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,255,0.15), transparent 65%);
  animation: floatSlow 11s ease-in-out infinite;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 0, 255, 0.08);
  border: 1px solid rgba(0, 0, 255, 0.15);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.lap-hero h1 {
  font-family: var(--font-secondary);
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 900;
  color: var(--headline);
  margin-bottom: 22px;
  letter-spacing: -0.04em;
  line-height: 1.05;
  position: relative;
  display: inline-block;
  z-index: 2;
}

.lap-hero h1::after {
  content: '';
  display: block;
  width: 120px;
  height: 5px;
  margin: 22px auto 0;
  background: var(--grad-primary);
  border-radius: 3px;
  box-shadow: 0 8px 25px rgba(0, 0, 255, 0.4);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--body);
  margin-bottom: 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 255, 0.1);
  border-radius: 100px;
  font-size: 14px;
  color: var(--body);
  position: relative;
  z-index: 2;
}
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .current { color: var(--headline); font-weight: 600; }

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
}

/* ============ MAIN CONTENT SECTION ============ */
.lap-section {
  padding: 110px 0 100px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.lap-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.06), transparent 70%);
  border-radius: 50%;
  animation: floatSlow 12s ease-in-out infinite;
  pointer-events: none;
}

.lap-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ---------- Left column ---------- */
.lap-text h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 700;
  color: var(--headline);
  line-height: 1.2;
  margin-bottom: 26px;
  letter-spacing: -0.03em;
}

.lap-text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
  margin-bottom: 32px;
}

.lap-text p strong {
  color: var(--headline);
  font-weight: 700;
}

/* Dots-style sub-heading */
.sub-heading.dots-center {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}
.sub-heading.dots-center::before,
.sub-heading.dots-center::after {
  content: '• • •';
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--primary);
  opacity: 0.6;
}

/* ---------- Feature list ---------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #fafbff, #f3f5ff);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-list li:hover::before { transform: scaleY(1); }

.feature-list li:hover {
  transform: translateX(6px);
  border-color: rgba(0, 0, 255, 0.15);
  box-shadow: 0 15px 35px -12px rgba(0, 0, 255, 0.2);
}

.feature-list strong {
  color: var(--headline);
  font-weight: 700;
}

.check-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 15px -3px rgba(0, 0, 255, 0.5);
  margin-top: 2px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-list li:hover .check-icon {
  transform: rotate(-12deg) scale(1.12);
}

/* ---------- Right column: image ---------- */
.lap-image {
  position: relative;
  perspective: 1500px;
}

.lap-image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: visible;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.lap-image-wrap > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 255, 0.25),
    0 15px 40px -10px rgba(0, 0, 255, 0.1);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lap-image-wrap:hover > img {
  transform: scale(1.03);
}

/* Floating badge on image */
.image-badge {
  position: absolute;
  bottom: -22px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.2);
  animation: floatSlow 4s ease-in-out infinite;
  z-index: 2;
}

.image-badge i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-primary);
  color: var(--white);
  border-radius: 12px;
  font-size: 18px;
  box-shadow: 0 10px 25px -6px rgba(0, 0, 255, 0.5);
}

.image-badge div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.image-badge strong {
  font-family: var(--font-secondary);
  font-size: 16px;
  color: var(--headline);
  font-weight: 800;
}

.image-badge span {
  font-size: 12px;
  color: var(--body);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============ CTA BANNER ============ */
.loan-cta-section {
  padding: 20px 0 110px;
  background: var(--white);
}

.loan-cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 55px 65px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0a0a2e 0%, #1a1a4d 100%);
  overflow: hidden;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 255, 0.3),
    0 15px 40px -10px rgba(0, 0, 255, 0.15);
}

.loan-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 194, 255, 0.2), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(0, 0, 255, 0.3), transparent 45%);
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 0, 255, 0.5), transparent 60%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite;
  pointer-events: none;
}

.loan-cta-content {
  position: relative;
  z-index: 1;
}

.loan-cta-content h3 {
  color: var(--white);
  font-family: var(--font-secondary);
  font-size: clamp(22px, 2.6vw, 32px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.loan-cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin: 0;
  max-width: 620px;
  line-height: 1.6;
}

.loan-cta-card .btn {
  position: relative;
  z-index: 1;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 15px 40px -10px rgba(255, 255, 255, 0.35);
}

.loan-cta-card .btn:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 255, 0.6);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .lap-hero { padding: 110px 0 130px; }
  .lap-section { padding: 90px 0 80px; }
  .lap-grid { gap: 50px; }
  .loan-cta-card { padding: 45px 40px; }
}

@media (max-width: 900px) {
  .lap-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .lap-image { order: -1; }
  .loan-cta-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .loan-cta-content p { margin: 0 auto; }
}

@media (max-width: 767px) {
  .lap-hero { padding: 90px 0 110px; }
  .lap-hero h1 { font-size: 32px; }
  .lap-hero h1::after { width: 80px; height: 4px; }
  .hero-subtitle { font-size: 15px; }

  .lap-section { padding: 70px 0 60px; }
  .lap-text h2 { font-size: 22px; }
  .lap-text p { font-size: 14.5px; }

  .feature-list li {
    padding: 14px 18px;
    font-size: 14.5px;
    gap: 12px;
  }
  .check-icon { width: 22px; height: 22px; font-size: 11px; }

  .image-badge {
    padding: 12px 16px;
    gap: 10px;
    bottom: -18px;
    left: 16px;
  }
  .image-badge i { width: 36px; height: 36px; font-size: 15px; border-radius: 10px; }
  .image-badge strong { font-size: 14px; }
  .image-badge span { font-size: 10.5px; }

  .loan-cta-section { padding: 20px 0 70px; }
  .loan-cta-card { padding: 35px 25px; border-radius: 20px; }
  .loan-cta-content h3 { font-size: 22px; }
  .loan-cta-content p { font-size: 14.5px; }
}