/* ================================
   WHY CHOOSE - FLIP CARDS
   ================================ */
.why-choose-flip {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}
.why-choose-flip h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}
.why-choose-flip h2 span {
  color: #c29d0b;
}
.flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-content: center;
}
.flip-card {
  perspective: 1000px;
  cursor: pointer;
}
.flip-inner {
  position: relative;
  width: 100%;
  height: 160px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}
.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}
.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 20px;
}
.flip-front {
  background: #2d7d46;
  color: #fff;
}
.flip-back {
  background: #f4f4f4;
  color: #333;
  transform: rotateY(180deg);
}
.hint {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 5px;
}

/* Section background */
.loan-section {
  background: linear-gradient(135deg, #bde8eb, #e6f7f8);
  padding: 80px 20px;
  text-align: center;
}

/* Title */
.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 50px;
  letter-spacing: -1px;
}

/* Grid Layout */
.loan-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

/* Card */
.loan-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.loan-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Icon */
.loan-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* Headings & Text */
.loan-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #222;
}

.loan-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Button */
.loan-btn {
  background: linear-gradient(135deg, #00c49a, #00e0b8);
  border: none;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.loan-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 196, 154, 0.4);
}

.modal-content {
  text-align: left; /* Default alignment for text */
  line-height: 1.6;
}

/* Main heading (center + dark green) */
.modal-content h2 {
  text-align: center;
  color: #006400;  /* Dark Green */
  margin-bottom: 15px;
}

/* Sub headings (left + black) */
.modal-content h3 {
  text-align: left;
  color: #000;   /* Black */
  margin: 12px 0 6px;
}