@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&display=swap');

:root {
  --default: #f4333d;
  --hover: #b0262d;
  --active: #801e23;
}

* {
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

main {
  padding: 1rem;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

h1 {
  font-weight: 600;
  font-size: 2rem;
  line-height: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;

  border: none;
  border-radius: 6px;
  padding: 0.75rem 1em;
  cursor: pointer;

  background-color: var(--default);
  color: white;
  text-decoration: none;

  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5rem;
  white-space: pre;
}
.btn:hover {
  background-color: var(--hover);
}
.btn:active {
  background-color: var(--active);
}

/* Banking Services Section */
.loan-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #f0f0f0;
}

.loan-section h2 {
  color: #2c3e50;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.service-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  border-color: var(--default);
  box-shadow: 0 4px 20px rgba(244, 51, 61, 0.1);
  transform: translateY(-2px);
}

.service-card h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: #7f8c8d;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-primary {
  background-color: var(--default);
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 51, 61, 0.3);
}

/* Responsive Design for Service Cards */
@media (max-width: 768px) {
  .service-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
}
