/* =========================
   Dhanam Loans - Main CSS
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

/* -------- HEADER -------- */
header {
    background-color: #2A2AA5; /* Logo Blue */
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header img {
    height: 60px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 25px;
    font-weight: bold;
}

nav a:hover {
    color: #F9A602; /* Logo Gold */
}

/* -------- HERO -------- */
.hero {
    background: linear-gradient(
        rgba(42,42,165,0.85),
        rgba(42,42,165,0.85)
    );
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* -------- BUTTONS -------- */
.btn {
    display: inline-block;
    background-color: #F9A602;
    color: #2A2AA5;
    padding: 12px 25px;
    margin: 5px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

.btn:hover {
    background-color: #ffffff;
}

/* -------- CONTENT -------- */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

.section-title {
    color: #2A2AA5;
    margin-bottom: 15px;
}

/* -------- CARDS -------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    padding: 25px;
    border-left: 5px solid #F9A602;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* -------- FOOTER -------- */
footer {
    background-color: #2A2AA5;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer img {
    height: 40px;
    margin-bottom: 10px;
}

/* -------- WHATSAPP FLOAT -------- */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav {
        margin-top: 10px;
    }

    nav a {
        margin: 10px;
        display: inline-block;
    }

    .hero h1 {
        font-size: 28px;
    }
}
