
/* ==========================================
   KWICK FIN SOLUTIONS - HOME LOAN PAGE
========================================== */

.loan-breadcrumb {
    padding: 14px 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.loan-breadcrumb .breadcrumb-item,
.loan-breadcrumb .breadcrumb-item a {
    color: var(--text-secondary);
    font-size: 13px;
    text-decoration: none;
}

.loan-breadcrumb .breadcrumb-item.active {
    color: var(--primary);
    font-weight: 600;
}

.loan-eyebrow,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    margin-bottom: 17px;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    color: #fff;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-normal);
}

.btn-primary-custom:hover {
    color: #fff;
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.loan-text-link {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.loan-text-link:hover {
    color: var(--secondary);
}

/* Common Headings */

.home-section-heading {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.home-section-heading h2,
.home-section-content h2,
.home-eligibility-section h2 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 16px;
}

.home-section-heading h2 span,
.home-section-content h2 span,
.home-eligibility-section h2 span {
    color: var(--secondary);
}

.home-section-heading p,
.home-section-content p,
.home-eligibility-section p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.85;
}

/* Hero */

.home-loan-hero {
    padding: 75px 0 85px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, var(--primary-light), transparent 35%),
        var(--bg-body);
}

.home-hero-content h1 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 22px;
}

.home-hero-content h1 span {
    color: var(--secondary);
}

.home-hero-content > p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.85;
}

.home-hero-points {
    display: grid;
    gap: 13px;
    margin: 25px 0 30px;
}

.home-hero-points div {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.home-hero-points i {
    color: var(--secondary);
    font-size: 17px;
}

.home-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.home-hero-image {
    position: relative;
    padding: 12px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.home-hero-image > img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: calc(var(--radius-xl) - 8px);
}

.home-image-card {
    position: absolute;
    left: -18px;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.home-image-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--secondary);
    border-radius: 12px;
    font-size: 21px;
}

.home-image-card strong,
.home-image-card span {
    display: block;
}

.home-image-card strong {
    color: var(--text-primary);
    font-size: 14px;
}

.home-image-card span {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 4px;
}

/* About */

.home-about-section {
    padding: var(--section-space) 0;
    background: var(--bg-surface);
}

.home-about-visual {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px;
    text-align: center;
    background: linear-gradient(145deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-xl);
}

.home-about-icon {
    width: 125px;
    height: 125px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 35px;
    font-size: 60px;
    margin-bottom: 25px;
}

.home-about-visual > span {
    color: var(--secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.home-about-visual h3 {
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    margin-top: 10px;
}

.home-section-content .btn-primary-custom {
    margin-top: 12px;
}

/* Home Types */

.home-types-section {
    padding: var(--section-space) 0;
    background: var(--bg-body);
}

.home-type-card {
    height: 100%;
    padding: 30px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.home-type-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.home-type-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    color: var(--secondary);
    background: var(--secondary-light);
    border-radius: 16px;
    font-size: 25px;
    margin-bottom: 22px;
}

.home-type-card h3,
.home-benefit-card h3,
.home-feature-item h3,
.home-document-card h3,
.home-step-card h3 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.home-type-card p,
.home-benefit-card p,
.home-feature-item p,
.home-step-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Benefits */

.home-benefits-section {
    padding: var(--section-space) 0;
    background: var(--bg-surface);
}

.home-benefit-card {
    height: 100%;
    padding: 30px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.home-benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.home-benefit-card > i {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    color: var(--secondary);
    background: var(--secondary-light);
    border-radius: 16px;
    font-size: 25px;
    margin-bottom: 22px;
}

/* Features */

.home-features-section {
    padding: var(--section-space) 0;
    background: var(--primary-dark);
}

.home-features-section .home-section-heading h2 {
    color: #fff;
}

.home-features-section .home-section-heading p {
    color: rgba(255,255,255,.7);
}

.home-feature-item {
    display: flex;
    gap: 20px;
    height: 100%;
    padding: 27px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: var(--radius-lg);
}

.home-feature-item > i {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--secondary);
    background: rgba(22,166,161,.15);
    border-radius: 14px;
    font-size: 24px;
}

.home-feature-item h3 {
    color: #fff;
}

.home-feature-item p {
    color: rgba(255,255,255,.7);
}

.home-loan-disclaimer {
    margin: 25px 0 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.7;
}

.home-features-section .home-loan-disclaimer {
    color: rgba(255,255,255,.6);
}

/* Eligibility */

.home-eligibility-section {
    padding: var(--section-space) 0;
    background: var(--bg-body);
}

.home-check-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
}

.home-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 16px;
}

.home-check-list i {
    color: var(--secondary);
    margin-top: 2px;
}

.home-eligibility-panel {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.eligibility-panel-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--primary);
    border-radius: 18px;
    font-size: 27px;
    margin-bottom: 25px;
}

.home-eligibility-panel h3 {
    color: var(--text-primary);
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 14px;
}

.home-eligibility-panel p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Documents */

.home-documents-section {
    padding: var(--section-space) 0;
    background: var(--bg-surface);
}

.home-document-card {
    height: 100%;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.home-document-card > i {
    display: inline-block;
    color: var(--secondary);
    font-size: 32px;
    margin-bottom: 20px;
}

.home-document-card ul {
    padding-left: 18px;
    margin: 0;
}

.home-document-card li {
    padding: 5px 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* Application Process */

.home-process-section {
    padding: var(--section-space) 0;
    background: var(--bg-body);
}

.home-step-card {
    position: relative;
    height: 100%;
    padding: 30px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.home-step-number {
    position: absolute;
    top: 18px;
    right: 20px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
}

.home-step-card > i {
    display: block;
    color: var(--secondary);
    font-size: 35px;
    margin: 20px 0;
}

/* FAQ */

.home-faq-section {
    padding: var(--section-space) 0;
    background: var(--bg-surface);
}

.home-faq-accordion {
    max-width: 850px;
    margin: 0 auto;
}

.home-faq-accordion .accordion-item {
    margin-bottom: 13px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.home-faq-accordion .accordion-button {
    padding: 21px 23px;
    color: var(--text-primary);
    background: var(--bg-card);
    box-shadow: none;
    font-size: 15px;
    font-weight: 700;
}

.home-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--secondary);
}

.home-faq-accordion .accordion-body {
    padding: 0 23px 22px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
}

/* Final CTA */

.home-loan-cta {
    padding: 65px 0;
    background: var(--bg-body);
}

.home-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 45px 50px;
    background: linear-gradient(120deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-xl);
}

.home-cta-inner > div > span {
    color: var(--secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.home-cta-inner h2 {
    color: #fff;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 800;
    margin: 12px 0;
}

.home-cta-inner p {
    max-width: 650px;
    color: rgba(255,255,255,.75);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.home-cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 27px;
    color: var(--primary-dark);
    background: #fff;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition-normal);
}

.home-cta-btn:hover {
    color: #fff;
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Responsive */

@media (max-width: 991px) {
    .home-loan-hero {
        padding: 55px 0 65px;
    }

    .home-hero-image > img {
        height: 360px;
    }

    .home-image-card {
        left: 15px;
    }

    .home-cta-inner {
        padding: 35px;
    }
}

@media (max-width: 767px) {
    .home-loan-hero {
        padding: 42px 0 55px;
    }

    .home-hero-content h1 {
        font-size: 37px;
    }

    .home-hero-content > p {
        font-size: 14px;
    }

    .home-hero-image > img {
        height: 280px;
    }

    .home-image-card {
        bottom: 20px;
        padding: 12px 15px;
    }

    .home-about-visual {
        min-height: 280px;
    }

    .home-section-heading {
        margin-bottom: 30px;
    }

    .home-type-card,
    .home-benefit-card,
    .home-document-card {
        padding: 24px 20px;
    }

    .home-feature-item {
        padding: 22px 18px;
    }

    .home-eligibility-panel {
        padding: 28px 22px;
    }

    .home-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px 23px;
    }

    .home-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .home-hero-content h1 {
        font-size: 32px;
    }

    .home-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-hero-actions .btn-primary-custom {
        width: 100%;
    }
}

/* =========================================
   HOME LOAN HERO - CREATIVE VISUAL
========================================= */

.home-loan-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background: var(--bg-body);
}

.home-hero-content {
    position: relative;
    z-index: 2;
}

.home-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(38px, 4.2vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin: 22px 0;
    letter-spacing: -1.8px;
}

.home-hero-content h1 span {
    color: var(--secondary);
    display: inline-block;
}

.home-hero-content > p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    max-width: 530px;
}

.home-hero-points {
    display: grid;
    gap: 13px;
    margin: 28px 0;
}

.home-hero-points > div {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.home-hero-points i {
    color: var(--secondary);
    font-size: 17px;
}

.home-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.home-hero-visual {
    position: relative;
    min-height: 490px;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.home-visual-bg-shape {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: var(--primary-light);
    z-index: -2;
    opacity: .9;
}

.home-visual-main-card {
    position: relative;
    width: min(100%, 410px);
    padding: 22px;
    border-radius: 26px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.home-visual-top,
.home-visual-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-visual-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.home-visual-dots {
    color: var(--text-muted);
    font-size: 22px;
}

.home-illustration {
    height: 275px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--primary-light), var(--secondary-light));
}

.home-sun {
    position: absolute;
    top: 32px;
    right: 55px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .9;
}

.home-cloud {
    position: absolute;
    width: 65px;
    height: 18px;
    border-radius: 30px;
    background: rgba(255,255,255,.8);
}

.home-cloud::before,
.home-cloud::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: inherit;
}

.home-cloud::before {
    width: 25px;
    height: 25px;
    left: 10px;
    bottom: 5px;
}

.home-cloud::after {
    width: 32px;
    height: 32px;
    right: 10px;
    bottom: 3px;
}

.home-cloud-one {
    top: 65px;
    left: 45px;
}

.home-cloud-two {
    top: 115px;
    right: 40px;
    transform: scale(.7);
}

.home-house {
    position: absolute;
    left: 50%;
    bottom: 35px;
    width: 190px;
    transform: translateX(-50%);
}

.house-roof {
    position: relative;
    width: 190px;
    height: 95px;
    background: var(--primary);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.house-body {
    position: relative;
    width: 155px;
    height: 110px;
    margin: -1px auto 0;
    background: #fff;
    border-radius: 2px 2px 8px 8px;
    box-shadow: 0 8px 15px rgba(18, 59, 112, .12);
}

.house-window {
    position: absolute;
    top: 22px;
    width: 30px;
    height: 30px;
    background: #BFE9E7;
    border: 4px solid var(--primary);
    border-radius: 3px;
}

.window-left {
    left: 15px;
}

.window-right {
    right: 15px;
}

.house-door {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 36px;
    height: 65px;
    transform: translateX(-50%);
    background: var(--secondary);
    border-radius: 5px 5px 0 0;
}

.house-door span {
    position: absolute;
    right: 6px;
    top: 32px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
}

.home-ground {
    position: absolute;
    bottom: 20px;
    left: 12%;
    width: 76%;
    height: 12px;
    border-radius: 50%;
    background: rgba(22, 166, 161, .25);
}

.home-visual-bottom {
    gap: 15px;
}

.home-visual-bottom strong,
.home-visual-bottom span {
    display: block;
}

.home-visual-bottom strong {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 800;
}

.home-visual-bottom span {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 5px;
}

.home-visual-arrow {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--secondary);
    font-size: 19px;
}

.home-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 17px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    z-index: 3;
}

.home-floating-card strong,
.home-floating-card span {
    display: block;
}

.home-floating-card strong {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 800;
}

.home-floating-card span {
    color: var(--text-muted);
    font-size: 10px;
    margin-top: 4px;
}

.floating-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--secondary);
    background: var(--secondary-light);
    font-size: 18px;
}

.home-floating-top {
    top: 55px;
    right: -5px;
}

.home-floating-bottom {
    bottom: 55px;
    left: -15px;
}

.home-visual-decoration {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--accent);
    z-index: -1;
}

.decoration-one {
    top: 80px;
    left: 50px;
}

.decoration-two {
    bottom: 85px;
    right: 35px;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    opacity: .6;
}

/* Dark Theme */
[data-theme="dark"] .home-illustration {
    background: linear-gradient(145deg, #1C3451, #183D42);
}

[data-theme="dark"] .house-body {
    background: #EAF2FC;
}

/* Responsive */
@media (max-width: 991px) {
    .home-loan-hero {
        padding: 65px 0;
    }

    .home-hero-visual {
        min-height: 460px;
        margin-top: 10px;
    }

    .home-floating-top {
        right: 0;
    }

    .home-floating-bottom {
        left: 0;
    }
}

@media (max-width: 575px) {
    .home-loan-hero {
        padding: 55px 0;
    }

    .home-hero-content h1 {
        font-size: 37px;
        letter-spacing: -1px;
    }

    .home-hero-content > p {
        font-size: 14px;
    }

    .home-hero-visual {
        min-height: 390px;
    }

    .home-visual-bg-shape {
        width: 300px;
        height: 300px;
    }

    .home-visual-main-card {
        width: 90%;
        padding: 15px;
        border-radius: 20px;
    }

    .home-illustration {
        height: 230px;
    }

    .home-house {
        transform: translateX(-50%) scale(.82);
        transform-origin: bottom center;
    }

    .home-floating-card {
        padding: 10px;
        gap: 8px;
    }

    .home-floating-card strong {
        font-size: 10px;
    }

    .home-floating-card span {
        font-size: 9px;
    }

    .floating-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .home-floating-top {
        top: 15px;
        right: -2px;
    }

    .home-floating-bottom {
        bottom: 15px;
        left: -2px;
    }
}
