/* =========================================================
   UTANG WISE - LENDERS PAGE
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #062347;
    --navy-dark: #041A35;

    --gold: #E5A129;
    --gold-light: #FABC4F;

    --cream: #FFF4DF;
    --cream-light: #FFF9EE;

    --white: #FFFFFF;

    --text-gray: #59636F;
    --border: #E4E0D8;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: "DM Sans", sans-serif;

    color: var(--navy);
    background: var(--cream-light);
}

a {
    color: inherit;
}


/* =========================================================
   NAVBAR
========================================================= */

.main-header {
    position: sticky;

    top: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid rgba(6, 35, 71, 0.07);

    box-shadow:
        0 4px 18px
        rgba(6, 35, 71, 0.04);

    z-index: 1000;

    backdrop-filter: blur(12px);
}

.navbar {
    width: 100%;
    max-width: 1400px;

    min-height: 82px;

    margin: 0 auto;

    padding:
        0
        clamp(35px, 6vw, 90px);

    display: flex;
    align-items: center;

    gap: 30px;
}


/* =========================================================
   NAV BRAND
========================================================= */

.nav-brand {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-right: auto;

    text-decoration: none;
}

.nav-brand img {
    width: 54px;
    height: 54px;

    display: block;

    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    color: var(--navy);

    font-family: "Playfair Display", serif;

    font-size: 20px;
    font-weight: 700;

    line-height: 1;
}

.brand-text span {
    margin-top: 5px;

    color: #B47A16;

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 1.25px;
}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links {
    display: flex;
    align-items: center;

    gap: clamp(22px, 3vw, 42px);
}

.nav-links a {
    position: relative;

    padding: 31px 0 27px;

    color: #344356;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 20px;

    width: 0;
    height: 3px;

    border-radius: 100px;

    background: var(--gold);

    transform: translateX(-50%);

    transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 24px;
}

.nav-links a.active {
    color: var(--navy);

    font-weight: 700;
}


/* =========================================================
   NAV ACTIONS
========================================================= */

.nav-actions {
    display: flex;
    align-items: center;

    gap: 12px;
}

.login-btn,
.register-btn {
    min-width: 92px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.login-btn {
    border: 1px solid var(--navy);

    color: var(--navy);

    background: transparent;
}

.login-btn:hover {
    background: var(--navy);

    color: var(--white);
}

.register-btn {
    border: 1px solid var(--navy);

    background: var(--navy);

    color: var(--white);
}

.register-btn:hover {
    background: var(--navy-dark);

    transform: translateY(-1px);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu-btn {
    width: 42px;
    height: 42px;

    display: none;
    place-items: center;

    border: none;
    border-radius: 8px;

    background: var(--navy);

    color: var(--white);

    cursor: pointer;
}

.mobile-menu-btn
.material-symbols-outlined {
    font-size: 25px;
}


/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-nav {
    display: none;

    padding:
        10px
        30px
        25px;

    background: var(--white);

    border-top:
        1px solid
        rgba(6, 35, 71, 0.07);
}

.mobile-nav.show {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.mobile-nav > a {
    padding: 12px 5px;

    color: #344356;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    border-bottom:
        1px solid
        rgba(6, 35, 71, 0.06);
}

.mobile-nav > a.active {
    color: var(--gold);
}

.mobile-actions {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    margin-top: 15px;
}

.mobile-actions a {
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--navy);
    border-radius: 7px;

    color: var(--navy);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.mobile-actions
.mobile-register {
    background: var(--navy);

    color: var(--white);
}


/* =========================================================
   LENDERS SECTION
========================================================= */

.lenders-section {
    position: relative;

    width: 100%;

    min-height: calc(100vh - 82px);

    padding:
        70px
        40px
        100px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 0% 30%,
            rgba(229, 161, 41, 0.08) 0,
            rgba(229, 161, 41, 0.08) 180px,
            transparent 181px
        ),
        radial-gradient(
            circle at 100% 85%,
            rgba(6, 35, 71, 0.035) 0,
            rgba(6, 35, 71, 0.035) 200px,
            transparent 201px
        ),
        var(--cream-light);
}

.lenders-container {
    position: relative;

    width: 100%;
    max-width: 1220px;

    margin: 0 auto;

    z-index: 2;
}


/* =========================================================
   PAGE HEADING
========================================================= */

.lenders-heading {
    margin-bottom: 42px;

    text-align: center;
}

.section-tag {
    display: inline-block;

    padding:
        8px
        22px;

    margin-bottom: 16px;

    border-radius: 100px;

    background: #F8E8C8;

    color: var(--navy);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;
}

.lenders-heading h1 {
    color: var(--navy);

    font-family: "Playfair Display", serif;

    font-size: clamp(42px, 5vw, 62px);
    font-weight: 700;

    line-height: 1.05;
}

.lenders-heading h1 span {
    color: #C89539;
}

.heading-line {
    width: 42px;
    height: 4px;

    margin:
        13px
        auto
        17px;

    border-radius: 100px;

    background: #C89539;
}

.lenders-heading p {
    color: var(--text-gray);

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================================
   LENDERS GRID
========================================================= */

.lenders-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   LENDER CARD
========================================================= */

.lender-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border:
        1px solid
        rgba(6, 35, 71, 0.07);

    border-radius: 17px;

    background: var(--white);

    box-shadow:
        0 10px 35px
        rgba(6, 35, 71, 0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.lender-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 45px
        rgba(6, 35, 71, 0.12);
}


/* =========================================================
   LENDER IMAGE
========================================================= */

.lender-image {
    position: relative;

    height: 205px;

    margin:
        9px
        9px
        0;

    overflow: hidden;

    border-radius: 12px;

    background: #EEEAE2;
}

.lender-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform
        0.35s ease;
}

.lender-card:hover
.lender-image img {
    transform: scale(1.035);
}


/* =========================================================
   VERIFIED BADGE
========================================================= */

.verified-badge {
    position: absolute;

    left: 10px;
    bottom: 10px;

    display: flex;
    align-items: center;

    gap: 5px;

    padding:
        6px
        10px;

    border-radius: 100px;

    background:
        rgba(255, 249, 238, 0.96);

    color: #9B6B0B;

    font-size: 10px;
    font-weight: 700;

    box-shadow:
        0 3px 12px
        rgba(0, 0, 0, 0.08);
}

.verified-badge
.material-symbols-outlined {
    color: #B7820C;

    font-size: 17px;

    font-variation-settings:
        "FILL" 1;
}


/* =========================================================
   LENDER CONTENT
========================================================= */

.lender-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding:
        14px
        16px
        16px;
}

.lender-content h2 {
    margin-bottom: 9px;

    color: var(--navy);

    font-family: "Playfair Display", serif;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.15;
}


/* =========================================================
   LENDER DETAILS
========================================================= */

.lender-details {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.lender-details p {
    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--text-gray);

    font-size: 11px;

    line-height: 1.4;
}

.lender-details
.material-symbols-outlined {
    width: 17px;

    flex-shrink: 0;

    color: #A97913;

    font-size: 16px;

    font-variation-settings:
        "FILL" 1;
}


/* =========================================================
   DIVIDER
========================================================= */

.lender-divider {
    width: 100%;
    height: 1px;

    margin:
        11px
        0;

    background: var(--border);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.lender-description {
    margin-bottom: 15px;

    color: var(--text-gray);

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   APPLY NOW
========================================================= */

.apply-lender-btn {
    width: 100%;
    height: 44px;

    margin-top: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.apply-lender-btn
.material-symbols-outlined {
    font-size: 18px;

    transition:
        transform
        0.2s ease;
}

.apply-lender-btn:hover {
    transform: translateY(-2px);
}

.apply-lender-btn:hover
.material-symbols-outlined {
    transform: translateX(3px);
}


/* NAVY */

.navy-btn {
    color: var(--white);

    background:
        linear-gradient(
            90deg,
            var(--navy),
            var(--navy-dark)
        );
}

.navy-btn:hover {
    box-shadow:
        0 8px 20px
        rgba(6, 35, 71, 0.20);
}


/* GOLD */

.gold-btn {
    color: var(--white);

    background:
        linear-gradient(
            90deg,
            #D6A74E,
            #E5B85F
        );
}

.gold-btn:hover {
    box-shadow:
        0 8px 20px
        rgba(229, 161, 41, 0.22);
}


/* =========================================================
   SMALL DESKTOP
========================================================= */

@media (max-width: 1150px) {

    .nav-links {
        gap: 22px;
    }

    .navbar {
        padding-left: 35px;
        padding-right: 35px;
    }

    .lenders-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET / NAVIGATION COLLAPSE
========================================================= */

@media (max-width: 900px) {

    .navbar {
        min-height: 75px;

        padding:
            0
            25px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: grid;
    }

    .nav-brand img {
        width: 48px;
        height: 48px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .lenders-section {
        padding:
            60px
            25px
            80px;
    }

    .lenders-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .navbar {
        padding:
            0
            18px;
    }

    .brand-text span {
        display: none;
    }

    .lenders-section {
        padding:
            50px
            18px
            65px;
    }

    .lenders-heading {
        margin-bottom: 32px;
    }

    .lenders-heading h1 {
        font-size: 38px;
    }

    .lenders-heading p {
        font-size: 13px;
    }

    .lenders-heading p br {
        display: none;
    }

    .section-tag {
        padding:
            7px
            17px;

        font-size: 9px;

        letter-spacing: 2px;
    }

    .lenders-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .lender-image {
        height: 260px;
    }

    .lender-content {
        padding:
            16px
            18px
            18px;
    }

    .lender-content h2 {
        font-size: 24px;
    }

    .lender-details p,
    .lender-description {
        font-size: 12px;
    }

}



@media (max-width: 400px) {

    .brand-text strong {
        font-size: 16px;
    }

    .nav-brand img {
        width: 43px;
        height: 43px;
    }

    .lenders-heading h1 {
        font-size: 34px;
    }

    .lender-image {
        height: 225px;
    }

}