
.loan-content {
    position: relative;
    width: 100%;
    max-height: 80vh; 
    overflow: hidden;
    background-color: rgba(204, 99, 40, 0.15);


}

.loan-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position:middle;
}


.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    color: white;
    text-align: center;
    padding: 2em 3em; /* Adjust padding to shape the box */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);

    background-color: rgba(204, 99, 40, 0.85); /* #CC6328 with 85% opacity */
    border-radius: 5px; /* Optional: rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Optional: subtle elevation */
}


.overlay-text h1,
.overlay-text .tagline {
    margin: 0.3em 0;
}

.description, .loanimpact, .loan-process, .loanpartners {
    padding: 20px 5% 20px;
}
.tagline {
    font-size: 2em;
}
div.loan-container> h2 {
    width:100%;
    padding:10px;
    background-color:#CC6328;
    font-family: 'quicksand', sans-serif;
  font-weight: 300;
  letter-spacing: .1em;
  font-size: 2em;
  line-height: .8em;
}

div.loan-container{
padding: 70px 5% 100px;
}

.loanimpact {
    padding: 2em;
    width:100%;
    background-color: #f9f9f9;

}

.loanimpact-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    text-align: center;

}

.loanimpact h2, .how-it-works h2, .loanimpact h2, .loanpartners h2 {
    margin-bottom: 0.5em;
    font-size: 2.5em;
    color:#CC6328;
    font-family: "quicksand", sans-serif;
    letter-spacing: .1em;
}

.loanimpact hr, .how-it-works hr, .loanimpact hr, .loanpartners hr {
    border: none;
    border-top: 2px dotted #FFC83B;
    width: 100%;
    margin: 0 auto 2em auto;
}

.loan-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2em;
}

.stat-item-0, .stat-item-1, .stat-item-2 {
    flex: 1 1 200px;
    max-width: 250px;
    padding: 1em;
}

.stat-item-0 {
    
}
.stat-icon-0, .stat-icon-1, .stat-icon-2 {
    width: 70px;
    height: 70px;
    color: white;
    font-size: 2em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1em auto;
}

.stat-icon-0 {
    background-color: rgba(0, 165, 162, 0.2); 
}

.stat-icon-1 {
    background-color: rgba(33, 33, 83, 0.2); 
}

.stat-icon-2 {
    background-color: rgba(255, 200, 59, 0.2);
}
.stat-number {
    font-size: 1.5em;
    font-weight: bold;
}

.stat-label {
    font-size: 1.3em;
    color: #555;
    line-height: 3em;  
}

.process-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.process-photos {
    display: flex;
    align-items: center;
    /* gap: 20px; */
    flex: 1 1 300px; /* Allow shrink and grow */
    max-width: 45%;
}

.process-text {
    flex: 1 1 400px;
    max-width: 50%;
}

.big-image {
    flex-shrink: 0;
}

.small-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.circular-img {
    border-radius: 50%;
    object-fit: cover;
}

.circular-img.big {
    width: 400px;
    height: 400px;
}

.circular-img.small {
    width: 120px;
    height: 120px;
}

.loanpartners {
  padding: 50px 0;
  overflow: hidden;
}

.partner-logos {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #544f4f; /* Light grey background */
  padding:20px;

}

.logo-track {
  display: flex;
  width: max-content;
  animation: scrollLogos 25s linear infinite;
}

.logo {
  height: 60px;
  margin: 0 30px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Ensure white logos appear bright */
}

/* Animation for infinite scroll */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive logo size */
@media (max-width: 600px) {
  .logo {
    height: 40px;
    margin: 0 15px;
  }
}


.feature-title {
    font-family: 'quicksand', sans-serif;
    font-size: 1em;
    color: #CC6328;
    font-weight: 600;
    line-height: 2em;
}
/* Responsive for small screens */
@media (max-width: 768px) {
    .process-content {
        flex-direction: column;
        align-items: center;
    }

    .process-photos, .process-text {
        max-width: 100%;
    }

    .small-images {
        flex-direction: row;
        justify-content: center;
    }
}
