/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --heading-font: 'Inter', sans-serif;
    --default-font: 'Roboto', sans-serif;

    /* FinGrow Palette */
    --primary-color: #007BE5;
    /* Blue */
    --secondary-color: #6CC24A;
    /* Green */
    --accent-color: #6CC24A;
    --background-color: #ffffff;
    --surface-color: #f4f9ff;
    --text-color: #333;

    --nav-color: #212529;
    --nav-hover-color: #007BE5;
}

body {
    font-family: var(--default-font);
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: 700;
}

/* Navbar */
.header {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 7px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    font-family: var(--heading-font);
    font-weight: 500;
    color: var(--nav-color) !important;
    padding: 10px 15px !important;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--nav-hover-color) !important;
}

.btn-getstarted {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: none;
}

.btn-getstarted:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 121, 64, 0.4);
    color: #fff;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fff 0%, #e6f3ff 100%);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.hero .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
}

.hero .btn-primary:hover {
    background-color: #005a9e;
}

.hero .btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    margin-left: 10px;
    text-decoration: none;
}

.hero .btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Section Titles */
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Services / Loans Grid */
.loan-card {
    border: none;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.loan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.loan-card .card-body {
    padding: 30px 20px;
    text-align: center;
}

.loan-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #e6f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary-color);
    font-size: 32px;
}

.loan-card h5 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.loan-rate {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.loan-card .btn-apply {
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 8px 25px;
    margin-bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
}

.loan-card .btn-call {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50px;
    padding: 8px 25px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
}

/* AI Tool Section */
.ai-section {
    background-color: var(--surface-color);
    padding: 80px 0;
}

.tool-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.form-control,
.form-select {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #eee;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(239, 121, 64, 0.25);
}

/* Footer */
.footer {
    background-color: var(--surface-color);
    padding: 60px 0 30px;
    border-top: 1px solid #eee;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    padding: 8px 0;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Scroll Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-color);
    color: white;
}