:root{
  --bg:#ffffff;
  --card:#f3f7fb;
  --accent:#ff7a00;
  --text:#002D62;
  --muted:#587CA0;
  --glass: rgba(0,0,0,0.04);
  --maxw: 1200px;
  --radius:14px;
}

/* Base */
* {
  box-sizing: border-box;
}

body {
  font-family: Inter, system-ui, Arial, Helvetica, sans-serif;
  margin: 0;
  color: var(--text);
  background: #ffffff;      /* PURE WHITE PAGE BACKGROUND */
  -webkit-font-smoothing: antialiased;
}

.container{
  max-width:var(--maxw);
  margin:0 auto;
  padding:28px;
}

/* Card Layout */
.loan-card{
  background:#fff;
  border:1px solid rgba(0,0,0,0.06);
  padding:24px;
  margin-bottom:30px;
  border-radius:16px;
  box-shadow:0 10px 26px rgba(2,34,70,0.05);
}

/* Always visible bullet points */
.loan-points{
  margin:0 0 16px 0;
  padding-left:18px;
  color:var(--text);
}

.loan-points li{
  margin-bottom:6px;
  font-size:0.95rem;
  color:var(--text);
}


/* Header */
.card-head{
  display:flex;
  align-items:center;
  gap:12px;
}

.card-icon{
  width:48px;
  height:48px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,122,0,0.18);
  font-size:22px;
}

.card-badge{
  margin-left:auto;
  padding:6px 12px;
  background:rgba(2,34,70,0.08);
  border-radius:20px;
  font-size:0.85rem;
}

.loan-lead{
  color:var(--muted);
  margin:10px 0 16px;
}

/* Hidden expandable content */
.extra-content{
  display:none;
  margin:14px 0;
  background:#fff6ec;
  border:1px solid rgba(255,122,0,0.2);
  padding:16px;
  border-radius:12px;
}

.extra-content.open{
  display:block;
}

/* CTA Row */
.loan-actions{
  display:flex;
  gap:12px;
  margin-top:16px;
}

/* Buttons */
.btn{
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
  border:none;
  font-weight:600;
}

.btn.primary{
  background:var(--accent);
  color:#fff;
  text-decoration: none;
}

.showmore-btn{
  background:rgba(255,122,0,0.12);
  color:var(--accent);
  border:1px solid rgba(255,122,0,0.35);
}

.showmore-btn:hover{
  background:rgba(255,122,0,0.18);
}

/* Arrow rotation handled by JS */
.arrow{
  transition:transform .3s ease;
}

/* showmore button arrow transition and expanded state */
.showmore-btn .arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform .22s ease;
}

/* rotate arrow when expanded (optional visual) */
.showmore-btn.expanded .arrow {
  transform: rotate(90deg);
}

/* stronger highlight for expanded state */
.showmore-btn.expanded {
  background: rgba(255,122,0,0.18);
  box-shadow: 0 6px 16px rgba(255,122,0,0.08);
  border-color: rgba(255,122,0,0.38);
}


/* Other Loans Section */

.other-loan-card {
  background: linear-gradient(180deg, #ffffff 0%, #fef7f0 100%);
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(255,122,0,0.22);
  position: relative;
  box-shadow: 0 8px 22px rgba(255,122,0,0.12), 
              inset 0 0 12px rgba(255,122,0,0.08);
  transition: 0.25s ease;
  margin-bottom: 30px;
  margin-top: 0px;
}

/* Accent top bar */
.other-loan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 6px;
  background: var(--accent);
  border-radius: 6px 6px 0 0;
}

/* On Hover */
.other-loan-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 14px 32px rgba(255,122,0,0.18),
    inset 0 0 18px rgba(255,122,0,0.12);
  border-color: var(--accent);
}

.other-loan-card h3 {
  margin: 10px 0 8px;
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 700;
}

.other-loan-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.other-loans {
  margin-top: 50px;
  background: #ffffff;
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px rgba(2,34,70,0.04);
}

.other-loans .section-title {
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--text);
}

.other-intro {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 24px;
  max-width: 800px;
}

/* Grid */
.other-loan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Cards */
.other-loan-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(2,34,70,0.05);
  transition: 0.25s ease;
   position: relative;
  box-shadow: 0 8px 22px rgba(255,122,0,0.12), 
              inset 0 0 12px rgba(255,122,0,0.08);
}

/* Accent top bar */
.other-loan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 6px;
  background: var(--accent);
  border-radius: 6px 6px 0 0;
}

.other-loan-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 14px 32px rgba(255,122,0,0.18),
    inset 0 0 18px rgba(255,122,0,0.12);
  border-color: rgba(255,122,0,0.25);
}

.other-loan-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 700;
}

.other-loan-card p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.45;
}

