/* ══════════════════════════════════════
   APPLY LOAN — SERVICE CARD GRID
══════════════════════════════════════ */

.applyloan-wrapper {
  padding: 0 15px 40px;
  font-family: Arial, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* MOD006.Update.Begin */
/* ══════════════════════════════════════
   HERO LOGO — floating over the banner
══════════════════════════════════════ */

.hero-logo-overlay {
  position: absolute;
  top: 40px;
  left: 72px;
  z-index: 3;
}

.hero-logo-overlay img {
  height: 65px;
  width: auto;
  display: block;
}
/* MOD006.Update.END */


/* ── Section heading below the header ── */
.applyloan-header {
  padding: 28px 0 20px;
}
/* MOD001.Create.Begin */
.applyloan-header h2 {
  font-size: 26px;
  font-weight: 700;
  color: #231F20;
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}
/* MOD001.Create.END */
.applyloan-header p {
  font-size: 13px;
  color: #666;
  margin: 0;
}

/* ── 2 × 2 Card Grid ── */
.loan-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── Individual Card ── */
.loan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 160px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.loan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.16);
  text-decoration: none;
}

/* MOD001.Create.Begin */
/* ── Gradient Background per card ── */
.loan-card-vehicle   { background: linear-gradient(135deg, #D2DB30 0%, #15A748 50%, #6CB744 100%); }
.loan-card-realestate { background: linear-gradient(135deg, #D2DB30 0%, #15A748 50%, #6CB744 100%); }
.loan-card-business  { background: linear-gradient(135deg, #D2DB30 0%, #15A748 50%, #6CB744 100%); }
.loan-card-sss       { background: linear-gradient(135deg, #D2DB30 0%, #15A748 50%, #6CB744 100%); }
.loan-card-esl {
    background: linear-gradient(135deg, #D2DB30 0%, #15A748 50%, #6CB744 100%);
}

/* MOD001.Create.END */

/* ── Decorative circle accent ── */
.loan-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.loan-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

/* ── Card Body ── */
.loan-card-body {
  position: relative;
  z-index: 1;
  padding: 28px 28px 24px;
}

/* ── Large Icon ── */
.loan-card-icon {
  font-size: 42px;
  color: rgba(255,255,255,0.90);
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}

/* ── Title ── */
.loan-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: -0.2px;
}

/* ── Arrow CTA ── */
.loan-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  color: #fff;
  font-size: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.loan-card:hover .loan-card-cta {
  background: rgba(255,255,255,0.35);
  transform: translateX(4px);
}

/* ── Responsive: single column on small screens ── */
@media (max-width: 640px) {
  .loan-card-grid {
    grid-template-columns: 1fr;
  }
  .loan-card {
    min-height: 130px;
  }
}

/* MOD001.Create.Begin */
/* ══════════════════════════════════════
   HERO BANNER — Full Bleed
══════════════════════════════════════ */

/* MOD006.Update.Begin */
.hero-banner-wrap {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 32px;
  max-height: 625px;
  overflow: hidden;
}

/* Full-bleed background scene — drives the banner height */
.hero-image-area {
  position: relative;
  width: 100%;
}
.hero-image-area img {
  width: 100%;
  height: auto;
  display: block;
}
/* Circular portrait — center aligned with Real Estate card (~75% from left) */
.hero-circle-wrap {
  position: absolute;
  left: 68%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: clamp(220px, 30vw, 420px);
  height: clamp(220px, 30vw, 420px);
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.90);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  z-index: 2;
}
.hero-circle-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Left-side title overlay */
.hero-text-area {
  position: absolute;
  left: 9%;
  top: -7%;
  bottom: 0;
  width: 46%;
  display: flex;
  align-items: center;
  padding: 40px 20px 40px 5%;
  background: none;
  z-index: 1;
}

/* Two-tier title typography */
.hero-title {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.hero-title-sub {
  font-size: clamp(28px, 4vw, 60px);
  font-weight: 100;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.40);
  display: block;
}

.hero-title-main {
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.40);
  display: block;
  letter-spacing: 1px;
}

/* ── Tablet breakpoint (iPad, Surface, etc.) ── */
@media (min-width: 769px) and (max-width: 1100px) {

  .hero-title-sub  { font-size: 36px; }
  .hero-title-main { font-size: 52px; }

  .hero-text-area {
    left: 4%;
    width: 52%;
    padding: 30px 20px 30px 4%;
  }

  .hero-circle-wrap {
    width: clamp(200px, 26vw, 340px);
    height: clamp(200px, 26vw, 340px);
  }
}

@media (max-width: 768px) {

  /* Logo — smaller, centered on mobile */
  .hero-logo-overlay {
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-logo-overlay img {
    height: 32px;
  }

  /* Force banner to be tall enough on mobile */
  .hero-banner-wrap {
    min-height: 400px;
  }

  /* Make image fill the forced height */
  .hero-image-area {
    position: absolute;
    inset: 0;
  }
  .hero-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Circle — centered, upper portion */
  .hero-circle-wrap {
    left: 50%;
    top: 35%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
  }

  /* Title — centered, lower portion */
  .hero-text-area {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    text-align: center;
  }

  .hero-title {
    align-items: center;
  }

  .hero-title-sub  { font-size: 28px; }
  .hero-title-main { font-size: 28px; }
}
/* MOD006.Update.END */
/* MOD001.Create.END */