/* =========================
   LOAN OPTIONS SECTION
   ========================= */
.loan-options-section {
    padding: 80px 5%;
    background: var(--white-color);
    text-align: center;
    overflow: hidden;
}

.loan-header h2 {
    font-size: 2.2rem;
    color: var(--rich-black-color);
    margin-bottom: 10px;
}

.loan-header p {
    color: var(--granite-gray-color);
    margin-bottom: 50px;
}

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

/* Card base style */
.loan-card {
    background: var(--anti-flash-white-color);
    border-radius: 16px;
    padding: 40px 25px;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: left;
}

.loan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    background: var(--white-color);
}

/* Icon styling */
.loan-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.loan-icon img {
    width: 100%;
    height: auto;
}

.loan-card:hover .loan-icon {
    transform: scale(1.1);
}

/* Title and description */
.loan-card h3 {
    font-size: 1.4rem;
    color: var(--dark-charcoal-color);
    margin-bottom: 10px;
}

.loan-card p {
    font-size: 1rem;
    color: var(--granite-gray-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Details list */
.loan-details {
    list-style: none;
    margin-bottom: 20px;
}

.loan-details li {
    font-size: 0.95rem;
    color: var(--dark-charcoal-color);
    margin-bottom: 6px;
    position: relative;
    padding-left: 18px;
}

.loan-details li::before {
    content: "✔";
    color: var(--lime-green-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Button style */
.loan-card .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.95rem;
    border-radius: 8px;
    text-align: center;
}

/* Fade-up animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loan-card {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.loan-card:nth-child(1) {
    animation-delay: 0.1s;
}

.loan-card:nth-child(2) {
    animation-delay: 0.2s;
}

.loan-card:nth-child(3) {
    animation-delay: 0.3s;
}

.loan-card:nth-child(4) {
    animation-delay: 0.4s;
}

.loan-card:nth-child(5) {
    animation-delay: 0.5s;
}

/* Responsive */
@media (max-width: 768px) {
    .loan-header h2 {
        font-size: 1.8rem;
    }

    .loan-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .loan-card h3 {
        font-size: 1.2rem;
    }

    .loan-card p,
    .loan-details li {
        font-size: 0.9rem;
    }
}
