/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #f5f7fa;
    color: #222;
}

/* ===== HERO SECTION ===== */
.loan-hero {
    position: relative;
    background: url('./loan.webp') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loan-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
}

.loan-hero-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.loan-hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.loan-hero-content p {
    font-size: 1.2rem;
}

/* ===== LOAN TYPES ===== */
.loan-types {
    padding: 50px 8%;
    text-align: center;
}

.loan-types h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.loan-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.loan-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.loan-card:hover {
    transform: translateY(-5px);
}

.loan-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #003366;
}

.loan-card p {
    color: #444;
    margin-bottom: 15px;
}

.loan-card .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #003366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.loan-card .btn:hover {
    background: #0055aa;
}

/* ===== EMI HIGHLIGHTS ===== */
.emi-section {
    padding: 50px 8%;
    text-align: center;
    background: #eef3f9;
}

.emi-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.emi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.emi-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.emi-card h3 {
    margin-bottom: 10px;
    color: #003366;
}

.emi-card p {
    color: #555;
}

/* ===== RESPONSIVE TEXT ===== */
@media (max-width: 768px) {
    .loan-hero-content h1 {
        font-size: 2.2rem;
    }
    .loan-hero {
        height: 45vh;
    }
}
