/* ================= ROOT COLORS ================= */
:root {
    --primary: #6C63FF;
    --secondary: #00BFA6;
    --dark: #1A1A2E;
    --light: #F5F7FF;
}

/* ================= GLOBAL ================= */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--light);
    margin: 0;
}

/* ================= TOP STRIP ================= */
.top-strip {
    background: var(--dark);
    color: white;
    padding: 8px;
    font-size: 13px;
}

/* ================= NAVBAR ================= */
.main-navbar {
    background: transparent;
    padding: 20px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 22px;
    color: var(--dark);
}

.nav-link {
    color: var(--dark) !important;
    margin-left: 20px;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* ===============================
NAVBAR LOGO
================================= */

.navbar-logo {
    height: 55px;
    /* logo size */
    width: auto;
}

/* optional hover effect */
.navbar-logo:hover {
    transform: scale(1.05);
    transition: 0.3s ease;
}

/* ================= BUTTON ================= */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    border: none;
    transition: 0.3s;
}

.btn-primary-custom:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.3);
}

/* ================= HERO ================= */
.hero {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    margin-top: 20px;
    font-size: 18px;
    color: #555;
}

/* Floating Image Animation */
.floating-img {
    animation: float 5s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Background Shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

.shape1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.shape2 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
}

/* ===============================
   LOAN MODAL STYLING
================================ */

.loan-modal {
    border-radius: 20px;
    border: none;
    padding: 20px;
    animation: modalFade 0.4s ease;
}

.modal-title {
    font-weight: 600;
}

/* Input Styling */
.form-control,
.form-select {
    border-radius: 12px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.2);
}

/* Modal Animation */
@keyframes modalFade {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ================= HOW IT WORKS TIMELINE ================= */
.how-it-works-timeline {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9ff, #e6ebff);
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
}

/* Section Header */
.how-it-works-timeline .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
}

.how-it-works-timeline .section-header p {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

/* Timeline Container */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 80px;
    flex-wrap: wrap;
}

/* Timeline Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    width: 90%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 0;
}

/* Step */
.timeline-step {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    width: 22%;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.timeline-step .step-icon {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline-step h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.timeline-step p {
    font-size: 14px;
    color: #555;
}

/* Scroll Animation Active */
.how-it-works-timeline.active .timeline-step {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    .timeline {
        flex-direction: column;
        align-items: center;
    }

    .timeline-step {
        width: 80%;
        margin-bottom: 40px;
    }

    .timeline::before {
        top: 0;
        left: 50%;
        height: 100%;
        width: 4px;
    }
}

/* ================= WHY CHOOSE US ================= */

.why-choose {
    padding: 120px 0;
    background: #fff;
}

/* image */

.why-image img {
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

/* heading */

.why-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.why-content span {
    color: var(--primary);
}

.why-sub {
    color: #555;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* vertical feature line */

.feature-line {
    position: relative;
    padding-left: 40px;
}

.feature-line::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(var(--primary), var(--secondary));
}

/* feature item */

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s;
}

/* icon */

.feature-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin-right: 20px;
    position: relative;
    z-index: 2;
    transition: 0.3s;
}

.feature-icon:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

/* text */

.feature-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

.feature-text p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

/* responsive */

@media(max-width:991px) {

    .why-image {
        margin-bottom: 40px;
    }

}

/* ================= LOAN SOLUTIONS / PRODUCT CARDS ================= */
.loan-solutions {
    padding: 120px 0;
    background: #f5f7ff;
    /* light section */
    position: relative;
}

.loan-solutions .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
}

.loan-solutions .section-header p {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
    margin-bottom: 60px;
}

/* Card Styles */
.loan-card {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.loan-card .card-inner {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.loan-card .card-inner:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

/* Card Icon */
.card-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Card Title & Description */
.loan-card h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.loan-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* CTA Button */
.loan-card .btn-primary-custom {
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loan-card .btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .loan-card {
        width: 45%;
        margin: 15px auto;
    }
}

@media (max-width: 576px) {
    .loan-card {
        width: 90%;
        margin: 20px auto;
    }
}

/* ================= COMPLIANCE SECTION ================= */

.compliance-section {
    padding: 120px 0;
    background: #ffffff;
    border-top: 1px solid #eee;
}

/* heading */

.compliance-header {
    margin-bottom: 60px;
}

.compliance-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.compliance-header p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    max-width: 850px;
}

/* list layout */

.compliance-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* item */

.compliance-item {
    padding-left: 25px;
    border-left: 3px solid var(--primary);
    transition: .3s;
}

.compliance-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.compliance-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* subtle hover */

.compliance-item:hover {
    border-color: var(--secondary);
    padding-left: 35px;
}

/* responsive */

@media(max-width:768px) {

    .compliance-header h2 {
        font-size: 30px;
    }

    .compliance-item h4 {
        font-size: 18px;
    }

}

/* ================= FAQ SECTION ================= */

.faq-section {
    padding: 120px 0;
    background: var(--light);
}

.faq-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark);
}

.faq-header p {
    max-width: 650px;
    margin: 15px auto 50px;
    color: #555;
    font-size: 17px;
}

.faq-container {
    max-width: 800px;
    margin: auto;
}

/* FAQ ITEM */

.faq-item {
    background: white;
    border-radius: 14px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: .3s;
}

/* QUESTION */

.faq-question {
    width: 100%;
    padding: 20px;
    border: none;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: var(--dark);
}

.faq-question:hover {
    background: #f9f9ff;
}

/* ICON */

.faq-icon {
    font-size: 20px;
    color: var(--primary);
    transition: .3s;
}

/* ANSWER */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

/* ACTIVE STATE */

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ================= CTA SECTION ================= */

.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff, #f1f4ff);
    position: relative;
    overflow: hidden;
}

/* glow shapes */

.cta-section::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(108, 99, 255, 0.15);
    border-radius: 50%;
    top: -120px;
    right: -120px;
    filter: blur(100px);
}

.cta-section::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(0, 191, 166, 0.15);
    border-radius: 50%;
    bottom: -120px;
    left: -120px;
    filter: blur(100px);
}

/* wrapper */

.cta-wrapper {
    max-width: 700px;
    margin: auto;
    position: relative;
    z-index: 2;
}

/* heading */

.cta-wrapper h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

/* text */

.cta-wrapper p {
    font-size: 18px;
    color: #555;
    margin-bottom: 35px;
    line-height: 1.7;
}

/* trust line */

.cta-trust {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
}

.cta-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* responsive */

@media(max-width:768px) {

    .cta-wrapper h2 {
        font-size: 30px;
    }

    .cta-wrapper p {
        font-size: 16px;
    }

    .cta-trust {
        gap: 15px;
    }

}

/* ===============================
FOOTER LOGO
================================= */

.footer-logo img {
    height: 48px;
    width: auto;
    margin-bottom: 15px;
}

/* ================= FOOTER ================= */

.footer {
    padding: 80px 0 30px;
    background: var(--light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* subtle background shape to keep animation flow */

.footer::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 50%;
    top: -120px;
    right: -120px;
}

.footer-logo {
    font-weight: 700;
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 15px;
}

.footer-desc {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

/* links */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--dark) !important;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary) !important;
    padding-left: 4px;
}

/* contact links */

.footer a {
    color: var(--primary);
    text-decoration: none;
}

/* bottom */

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* ================= CONTACT PAGE HERO ================= */

.contact-page-hero {
    padding: 120px 0 90px;
    background: var(--light);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* heading */

.contact-page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

/* description */

.contact-page-hero p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    max-width: 650px;
    margin: auto;
}

/* shapes (continue website flow) */

.contact-shape1 {
    width: 250px;
    height: 250px;
    background: var(--primary);
    top: -80px;
    right: -80px;
    opacity: 0.08;
}

.contact-shape2 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    bottom: -70px;
    left: -70px;
    opacity: 0.08;
}

/* ================= CONTACT MAIN SECTION ================= */

.contact-main-section {
    padding: 100px 0;
    background: var(--light);
}

/* title */

.contact-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

/* text */

.contact-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* contact items */

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 20px;
    color: var(--primary);
    margin-top: 4px;
}

.contact-item h6 {
    margin: 0;
    font-weight: 600;
    color: var(--dark);
}

.contact-item p {
    margin: 3px 0 0;
    color: #666;
    font-size: 14px;
}

/* form box */

.contact-form-box {
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* form title */

.contact-form-box h4 {
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--dark);
}

/* input style */

.contact-form-box .form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.contact-form-box .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.2);
}

/* ================= LEGAL HERO ================= */

.legal-hero {
    padding: 100px 0 0px;
    background: var(--light);
    text-align: center;
}

.legal-hero h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark);
}

.legal-update {
    margin-top: 10px;
    color: #777;
    font-size: 14px;
}


/* ================= LEGAL CONTENT ================= */

.legal-content {
    padding: 60px 0 100px;
    background: var(--light);
}

.legal-box {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

/* headings */

.legal-box h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 10px;
    color: var(--dark);
}

/* paragraphs */

.legal-box p {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

/* list */

.legal-box ul {
    margin-left: 20px;
    margin-top: 10px;
}

.legal-box li {
    margin-bottom: 8px;
    color: #555;
}