/*==================================================
  DHANI FINANCE - HOME LOAN HERO
==================================================*/

:root {

    --primary: #ff6b00;
    --secondary: #ff9f43;
    --dark: #0f172a;
    --dark2: #1e293b;
    --white: #ffffff;
    --text: #64748b;
    --border: #e5e7eb;

    --radius: 22px;

    --shadow: 0 20px 60px rgba(15, 23, 42, .08);

    --transition: .35s ease;

}

/*========================*/

.home-loan-hero {

    position: relative;

    overflow: hidden;

    padding: 90px 0;

    background:linear-gradient(135deg,#fff8f2 0%,#ffffff 45%,#f5f9ff 100%);

}

/*========================*/

.home-loan-hero::before {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    background:linear-gradient(135deg, rgba(255, 107, 0, .18), rgba(255, 159, 67, .05));

    border-radius: 50%;

    top: -180px;

    left: -120px;

    filter: blur(35px);

}

/*========================*/

.home-loan-hero::after {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    background:linear-gradient(135deg, rgba(59, 130, 246, .12), rgba(255, 255, 255, .05));

    border-radius: 50%;

    right: -120px;

    bottom: -120px;

    filter: blur(35px);

}

/*========================*/

.hero-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 60px;

    align-items: center;

}

/*========================*/

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 10px 22px;

    background: #fff3eb;

    border-radius: 100px;

    font-size: 15px;

    font-weight: 700;

    color: var(--primary);

    margin-bottom: 25px;

    box-shadow:0 10px 25px rgba(255, 107, 0, .10);

}

/*========================*/

.hero-content h1 {

    font-size: 56px;

    line-height: 1.15;

    font-weight: 900;

    color: var(--dark);

    margin-bottom: 25px;

    letter-spacing: -1px;

}

/*========================*/

.hero-content p {

    font-size: 19px;

    line-height: 1.9;

    color: var(--text);

    margin-bottom: 35px;

    max-width: 760px;

}

/*========================*/

.hero-features {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    margin-bottom: 40px;

}

.hero-features div {

    background: #ffffff;

    padding: 18px 22px;

    border-radius: 16px;

    font-weight: 600;

    box-shadow:

        0 12px 30px rgba(15, 23, 42, .06);

    border: 1px solid #eef2f7;

    transition: var(--transition);

}

.hero-features div:hover {

    transform: translateY(-6px);

    border-color: #ffd4b4;

}

/*========================*/

.hero-buttons {

    display: flex;

    gap: 18px;

    flex-wrap: wrap;

}

.btn-primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 17px 36px;

    border-radius: 50px;

    background:linear-gradient(135deg,#ff6b00, #ff9f43);

    color: #fff;

    font-size: 17px;

    font-weight: 700;

    transition: .35s;

    box-shadow:0 18px 40px rgba(255, 107, 0, .25);

}

.btn-primary:hover {

    transform: translateY(-5px);

}

.btn-secondary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 17px 36px;

    border-radius: 50px;

    background: #fff;

    color: #0f172a;

    font-weight: 700;

    border: 2px solid #edf2f7;

    transition: .35s;

}

.btn-secondary:hover {

    border-color: #ff6b00;

    color: #ff6b00;

}

/*========================*/

.hero-card {

    display: flex;

    justify-content: center;

}

/*========================*/

.loan-box {

    width: 100%;

    max-width: 420px;

    background:

        rgba(255, 255, 255, .72);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    padding: 35px;

    border-radius: 28px;

    border: 1px solid rgba(255, 255, 255, .8);

    box-shadow:

        0 25px 60px rgba(15, 23, 42, .10);

    position: relative;

    overflow: hidden;

}

/*========================*/

.loan-box::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 6px;

    background:linear-gradient(90deg, #ff6b00, #ffb347);

}

/*========================*/

.loan-box h3 {

    font-size: 30px;

    font-weight: 800;

    margin-bottom: 25px;

    color: #0f172a;

}

/*========================*/

.loan-box ul {

    list-style: none;

    padding: 0;

    margin: 0;

}

.loan-box li {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 15px 0;

    border-bottom: 1px solid #eef2f7;

    font-size: 17px;

    font-weight: 600;

    color: #334155;

}

.loan-box li:last-child {

    border-bottom: none;

}



/*==================================================
 HOME LOAN HERO - PART 2
 Premium Animation & Responsive
==================================================*/

/* Floating Decorative Shapes */

.hero-grid {
    position: relative;
}

.hero-grid::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ff6b00, #ffb347);
    border-radius: 30px;
    opacity: .08;
    right: 45%;
    top: -20px;
    transform: rotate(35deg);
    animation: rotateShape 16s linear infinite;
}

.hero-grid::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #3b82f6;
    opacity: .08;
    bottom: 30px;
    left: 45%;
    animation: floatCircle 6s ease-in-out infinite;
}

/*=============================*/

@keyframes floatCircle {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-18px);
    }

    100% {
        transform: translateY(0px);
    }

}

/*=============================*/

@keyframes rotateShape {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

/*=============================*/

.hero-content {

    animation: fadeLeft .9s ease;

}

.hero-card {

    animation: fadeRight .9s ease;

}

/*=============================*/

@keyframes fadeLeft {

    from {

        opacity: 0;

        transform: translateX(-60px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}

/*=============================*/

@keyframes fadeRight {

    from {

        opacity: 0;

        transform: translateX(60px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}

/*=============================*/

.loan-box {

    transition: .35s;

}

.loan-box:hover {

    transform: translateY(-10px);

    box-shadow:
        0 35px 70px rgba(15, 23, 42, .15);

}

/*=============================*/

.loan-box li {

    transition: .35s;

    cursor: pointer;

}

.loan-box li:hover {

    padding-left: 15px;

    color: #ff6b00;

}

/*=============================*/

.hero-features div {

    position: relative;

    overflow: hidden;

}

.hero-features div::before {

    content: "";

    position: absolute;

    left: -100%;

    top: 0;

    width: 100%;

    height: 100%;

    background:

        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .7),
            transparent);

    transition: .8s;

}

.hero-features div:hover::before {

    left: 100%;

}

/*=============================*/

.btn-primary,
.btn-secondary {

    position: relative;

    overflow: hidden;

}

.btn-primary::before,
.btn-secondary::before {

    content: "";

    position: absolute;

    left: -100%;

    top: 0;

    width: 100%;

    height: 100%;

    background:

        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .35),
            transparent);

    transition: .8s;

}

.btn-primary:hover::before,
.btn-secondary:hover::before {

    left: 100%;

}

/*=============================*/

@media(max-width:1200px) {

    .hero-content h1 {

        font-size: 48px;

    }

}

/*=============================*/

@media(max-width:992px) {

    .home-loan-hero {

        padding: 70px 0;

    }

    .hero-grid {

        grid-template-columns: 1fr;

        gap: 40px;

    }

    .hero-content {

        text-align: center;

    }

    .hero-features {

        grid-template-columns: repeat(2, 1fr);

    }

    .hero-buttons {

        justify-content: center;

    }

    .hero-card {

        justify-content: center;

    }

    .loan-box {

        max-width: 100%;

    }

}

/*=============================*/

@media(max-width:768px) {

    .hero-content h1 {

        font-size: 38px;

    }

    .hero-content p {

        font-size: 17px;

    }

    .hero-features {

        grid-template-columns: 1fr;

    }

    .hero-features div {

        padding: 15px 18px;

    }

    .btn-primary,
    .btn-secondary {

        width: 100%;

    }

    .loan-box {

        padding: 28px;

    }

    .loan-box h3 {

        font-size: 25px;

    }

}

/*=============================*/

@media(max-width:480px) {

    .home-loan-hero {

        padding: 55px 0;

    }

    .hero-badge {

        font-size: 13px;

        padding: 8px 16px;

    }

    .hero-content h1 {

        font-size: 30px;

        line-height: 1.25;

    }

    .hero-content p {

        font-size: 16px;

    }

    .loan-box li {

        font-size: 15px;

    }

}



/*==============================
Home Loan Dashboard
==============================*/

.loan-dashboard {

    background: rgba(255, 255, 255, .82);

    backdrop-filter: blur(22px);

    padding: 35px;

    border-radius: 30px;

    box-shadow: 0 30px 70px rgba(0, 0, 0, .12);

    border: 1px solid rgba(255, 255, 255, .8);

}

.live-badge {

    display: inline-block;

    padding: 8px 16px;

    background: #e9fff2;

    color: #16a34a;

    border-radius: 50px;

    font-weight: 700;

    font-size: 14px;

    margin-bottom: 15px;

}

.dashboard-top h3 {

    font-size: 32px;

    margin-bottom: 10px;

    color: #0f172a;

}

.dashboard-top p {

    color: #64748b;

    margin-bottom: 25px;

    line-height: 1.8;

}

.stats-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    margin-bottom: 30px;

}

.stat-box {

    background: #fff;

    padding: 20px;

    border-radius: 18px;

    text-align: center;

    transition: .35s;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .05);

}

.stat-box:hover {

    transform: translateY(-6px);

}

.stat-box h4 {

    font-size: 28px;

    color: #ff6b00;

    margin-bottom: 8px;

}

.stat-box span {

    font-size: 14px;

    color: #64748b;

}

.trust-box {

    margin-bottom: 30px;

}

.trust-item {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px 0;

    border-bottom: 1px solid #edf2f7;

}

.trust-item:last-child {

    border: none;

}

.trust-item span {

    font-size: 26px;

}

.trust-item strong {

    display: block;

    color: #0f172a;

}

.trust-item small {

    color: #64748b;

}

.dashboard-btn {

    display: block;

    width: 100%;

    padding: 16px;

    text-align: center;

    border-radius: 50px;

    background: linear-gradient(135deg, #ff6b00, #ff9f43);

    color: #fff;

    font-weight: 700;

    transition: .35s;

}

.dashboard-btn:hover {

    transform: translateY(-4px);

    box-shadow: 0 15px 35px rgba(255, 107, 0, .25);

}




.home-about {

    padding: 100px 0;

    background: #fff;

}

.about-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    margin-top: 60px;

}

.about-card {

    background: #fff;

    padding: 35px;

    border-radius: 24px;

    border: 1px solid #edf2f7;

    box-shadow: 0 20px 50px rgba(0, 0, 0, .06);

    transition: .35s;

}

.about-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 30px 60px rgba(255, 107, 0, .15);

}

.about-icon {

    width: 80px;

    height: 80px;

    background: linear-gradient(135deg, #ff6b00, #ff9f43);

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 38px;

    margin-bottom: 25px;

}

.about-card h3 {

    font-size: 24px;

    margin-bottom: 15px;

    color: #0f172a;

}

.about-card p {

    color: #64748b;

    line-height: 1.8;

}

@media(max-width:992px) {

    .about-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media(max-width:768px) {

    .about-grid {

        grid-template-columns: 1fr;

    }

}




/*=========================
Home Guide
=========================*/

.home-guide {

    padding: 100px 0;

    background: #f8fbff;

}

.guide-wrapper {

    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 40px;

    margin-top: 60px;

}

.guide-content h3 {

    font-size: 34px;

    margin-bottom: 20px;

    color: #0f172a;

}

.guide-content p {

    font-size: 17px;

    line-height: 1.9;

    color: #64748b;

    margin-bottom: 22px;

}

.guide-points {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    margin-top: 35px;

}

.point {

    background: #fff;

    padding: 18px;

    border-radius: 16px;

    font-weight: 600;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);

}

.point span {

    color: #ff6b00;

    margin-right: 8px;

}

.info-card {

    background: #fff;

    padding: 35px;

    border-radius: 24px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);

    position: sticky;

    top: 100px;

}

.info-card h3 {

    margin-bottom: 20px;

}

.info-card ul {

    list-style: none;

    padding: 0;

    margin: 0 0 25px;

}

.info-card li {

    padding: 14px 0;

    border-bottom: 1px solid #eee;

}

.info-btn {

    display: block;

    text-align: center;

    padding: 15px;

    background: linear-gradient(135deg, #ff6b00, #ff9f43);

    color: #fff;

    border-radius: 50px;

    font-weight: 700;

}

@media(max-width:992px) {

    .guide-wrapper {

        grid-template-columns: 1fr;

    }

    .guide-points {

        grid-template-columns: 1fr;

    }

    .info-card {

        position: relative;

        top: 0;

    }

}


/*======================================
WHY DHANI HOME
======================================*/

.why-dhani-home {

    padding: 110px 0;

    background: linear-gradient(180deg, #ffffff, #f8fbff);

}

.why-home-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    margin-top: 60px;

}

.why-home-card {

    background: #fff;

    padding: 35px;

    border-radius: 24px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, .08);

    border: 1px solid #edf2f7;

    transition: .35s;

    position: relative;

    overflow: hidden;

}

.why-home-card:before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 5px;

    background: linear-gradient(90deg, #ff6b00, #ffb347);

}

.why-home-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 30px 70px rgba(255, 107, 0, .18);

}

.why-icon {

    width: 85px;

    height: 85px;

    background: linear-gradient(135deg, #ff6b00, #ff9f43);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 40px;

    border-radius: 22px;

    margin-bottom: 25px;

}

.why-home-card h3 {

    font-size: 24px;

    margin-bottom: 15px;

    color: #0f172a;

}

.why-home-card p {

    line-height: 1.9;

    color: #64748b;

}

.why-bottom {

    margin-top: 70px;

    background: #fff;

    padding: 50px;

    border-radius: 30px;

    text-align: center;

    box-shadow: 0 20px 60px rgba(0, 0, 0, .08);

}

.why-bottom h3 {

    font-size: 38px;

    margin-bottom: 20px;

    color: #0f172a;

}

.why-bottom p {

    max-width: 900px;

    margin: auto;

    font-size: 18px;

    line-height: 2;

    color: #64748b;

    margin-bottom: 35px;

}

.why-btns {

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

}

@media(max-width:992px) {

    .why-home-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media(max-width:768px) {

    .why-home-grid {

        grid-template-columns: 1fr;

    }

    .why-bottom {

        padding: 35px 25px;

    }

    .why-bottom h3 {

        font-size: 30px;

    }

}


/*==================================
Complete Guide
==================================*/

.complete-home-guide {

    padding: 110px 0;

    background: #ffffff;

}

.guide-content {

    max-width: 1100px;

    margin: auto;

}

.guide-content h3 {

    font-size: 34px;

    margin: 45px 0 18px;

    color: #0f172a;

    font-weight: 800;

}

.guide-content p {

    font-size: 18px;

    line-height: 2;

    color: #5b6475;

    margin-bottom: 22px;

}

.guide-feature-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin: 50px 0;

}

.guide-box {

    padding: 30px;

    background: #fff;

    border-radius: 22px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);

    border: 1px solid #eef2f7;

    transition: .35s;

}

.guide-box:hover {

    transform: translateY(-8px);

    box-shadow: 0 30px 70px rgba(255, 107, 0, .18);

}

.guide-box h4 {

    font-size: 22px;

    margin-bottom: 15px;

    color: #ff6b00;

}

.guide-box p {

    font-size: 16px;

    margin: 0;

    line-height: 1.8;

}

@media(max-width:992px) {

    .guide-feature-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media(max-width:768px) {

    .guide-feature-grid {

        grid-template-columns: 1fr;

    }

    .guide-content h3 {

        font-size: 28px;

    }

    .guide-content p {

        font-size: 16px;

    }

}