/* finance.css - styles specific to https://www.alfamotorworld.com/finance.html */

/* Page layout */
.finance-hero {
  padding: 48px 16px;
  text-align: center;
}
.finance-hero h1 {
  color: #111;
  margin-top: 150px;
  font-size: 2.5rem;
}
.finance-hero p {
  color: #111;
  margin-top: 15px;
  font-size: 1.5rem;
}
.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.partner {
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
}
.process {
  max-width: 900px;
  margin: 24px auto;
  padding: 0 16px;
}
.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.step .num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Step description styling */
.step-desc {
  color: #333333; /* darker description color for readability */
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 2px;
}
.step strong {
  color: var(--primary-color);
  font-size: 1.05rem;
}

@media (max-width: 600px) {
  .partners {
    flex-direction: row;
    overflow: auto;
    padding: 8px;
  }
}

/* Responsive tweaks specific to finance page */
@media (max-width: 992px) {
  .finance-hero {
    padding: 32px 12px;
  }

  .partners {
    gap: 12px;
    justify-content: flex-start;
    padding: 8px 12px;
  }

  .partner {
    flex: 0 0 45%;
    width: auto;
    padding: 8px;
  }

  .process {
    padding: 0 12px;
    margin: 12px auto;
  }

  .step {
    flex-direction: column;
    align-items: center;
  }

  .step .num {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .step-desc {
    color: #333333; /* darker description color for readability */
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 2px;
    text-align: center;
  }
  /* Ensure the content container spans full width so headings center properly */
  .step > div {
    width: 100%;
    font-weight: bold;
    box-sizing: border-box;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .finance-hero {
    padding: 24px 12px;
  }

  .finance-hero h1 {
    font-size: 2.5rem;
  }
  .finance-hero p {
    font-size: 1rem;
  }

  .partners {
    gap: 10px;
    padding: 6px 8px;
    justify-content: center;
    overflow-x: auto;
  }

  .partner {
    flex: 0 0 auto;
    width: 140px;
    padding: 8px;
  }

  .partner img {
    width: 100%;
    height: auto;
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    display: block;
  }

  .step .num {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .process {
    padding: 0 10px;
  }

  nav.navbar {
    padding: 12px 4%;
  }

  .mobile-menu {
    width: 85%;
    max-width: 320px;
  }
}
