/* =========================================
   LENDING CLUB FINANCE - MAIN STYLESHEET
   Home | Services | About | Header | Footer
========================================= */


/* =========================================
   1. GLOBAL STYLES
========================================= */

:root {
    --primary: #153b65;
    --primary-dark: #0c2948;
    --secondary: #ff4b35;
    --accent: #f5a623;
    --dark: #172536;
    --text: #596779;
    --light: #f5f7fa;
    --white: #ffffff;
    --border: #e7ebf0;
    --shadow: 0 12px 35px rgba(21, 59, 101, 0.09);
    --transition: all 0.35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

section {
    position: relative;
}

.container {
    max-width: 1180px;
}


/* =========================================
   2. HEADER / NAVBAR
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(21, 59, 101, 0.08);
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.035);
    animation: headerSlide 0.7s ease;
}

.site-header .navbar {
    min-height: 82px;
    padding: 12px 0;
}

.navbar-nav .nav-link {
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff5b45;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* All Input Fields Design */
.loan-field .form-control {
    height: 42px;
    padding: 8px 12px;
    border: 1px solid #dce3ec;
    border-radius: 7px;
    background-color: #f8faff;
    color: #173b65;
    font-size: 12px;
    font-weight: 500;
    box-shadow: none;
    transition: all 0.3s ease;
}

/* Input Hover */
.loan-field .form-control:hover {
    border-color: #9bb9e5;
    background-color: #f2f6ff;
}

/* Input Focus */
.loan-field .form-control,
.loan-field .form-select {
    padding-left: 12px !important;
    padding-right: 14px !important;
    box-sizing: border-box;
}

/* Placeholder */
.loan-field .form-control::placeholder {
    color: #8290a4;
    opacity: 1;
}

/* Password Eye Alignment */
.password-wrap .form-control {
    padding-right: 38px !important;
}

.password-toggle {
    top: 10px;
    right: 8px;
}

.brand-logo,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1.2px;
}

.brand-logo:hover,
.footer-brand:hover {
    color: var(--primary);
}

.brand-logo span:last-child span,
.footer-brand span:last-child span {
    color: var(--secondary);
}

.brand-mark {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 28px;
}

.site-header .navbar-nav {
    gap: 32px;
}

.site-header .nav-link {
    position: relative;
    padding: 10px 0 !important;
    color: #4b596b;
    font-size: 14px;
    font-weight: 600;
}

.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 3px;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--primary);
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
    width: 100%;
}

.header-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 23px;
    border: none;
    border-radius: 50px;
    background: var(--primary-dark);
    color: var(--white);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(12, 41, 72, 0.17);
    transition: all 0.3s ease;
}

.header-apply:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(255, 75, 53, 0.22);
}

.header-apply:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

.site-header .navbar-toggler {
    border: 1px solid var(--border);
    padding: 9px 12px;
    color: var(--primary);
    box-shadow: none !important;
}


/* =========================================
   3. HOME PAGE - HERO SECTION
========================================= */

.hero-section {
    position: relative;
    padding: 115px 0 100px;
    overflow: hidden;
    background:
    radial-gradient(circle at 85% 20%, rgba(255, 75, 53, 0.10), transparent 27%),
    radial-gradient(circle at 5% 90%, rgba(21, 59, 101, 0.07), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f1f5fa 55%, #eaf1f8 100%);
}

/* Background Decorative Shapes */
.hero-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -190px;
    right: -110px;
    border: 1px solid rgba(21, 59, 101, 0.10);
    border-radius: 50%;
    animation: floatShape 9s ease-in-out infinite;
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    left: -120px;
    bottom: -130px;
    border: 1px solid rgba(255, 75, 53, 0.13);
    border-radius: 50%;
    animation: floatShape 7s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Hero Text */
.hero-text {
    max-width: 700px;
    animation: fadeUp 0.9s ease both;
}

/* Small Label */
.small-label,
.about-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 75, 53, 0.18);
    border-radius: 50px;
    background: rgba(255, 75, 53, 0.06);
    color: var(--secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.small-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 4px rgba(255, 75, 53, 0.12);
}

/* Hero Content Center */
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Hero Text Center */
.hero-text {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    animation: fadeUp 0.9s ease both;
}

/* Hero Description Center */
.hero-text p {
    max-width: 650px;
    margin: 0 auto 32px;
}

/* Hero Buttons Center */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

/* Client Info Center */
.client-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.client-images {
    display: flex;
    align-items: center;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .hero-content {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 39px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .client-info {
        justify-content: center;
    }
}

/* Main Heading */
.hero-text h1 {
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 5.5vw, 70px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.8px;
    margin-bottom: 25px;
}

.hero-text h1 span {
    color: var(--secondary);
}

/* Description */
.hero-text p {
    max-width: 590px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 32px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-dark,
.btn-outline {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 11px;
    padding: 15px 28px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Primary Button */
.btn-dark {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
    box-shadow: 0 8px 20px rgba(21, 59, 101, 0.17);
}

.btn-dark:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(255, 75, 53, 0.22);
}

.btn-dark i {
    transition: transform 0.3s ease;
}

.btn-dark:hover i {
    transform: translateX(5px);
}

/* Outline Button */
.btn-outline {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid #cbd5e1;
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(21, 59, 101, 0.15);
}

/* Client Information */
.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-images {
    display: flex;
    align-items: center;
    padding-left: 5px;
}

.client-images img {
    width: 43px;
    height: 43px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    margin-left: -11px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease;
}

.client-images img:first-child {
    margin-left: 0;
}

.client-images img:hover {
    position: relative;
    z-index: 2;
    transform: translateY(-5px);
}

.client-info p {
    margin: 0;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        padding: 90px 0 75px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: clamp(40px, 6vw, 58px);
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 75px 0 65px;
    }

    .hero-section::before {
        width: 250px;
        height: 250px;
        top: -120px;
        right: -100px;
    }

    .hero-text h1 {
        font-size: 39px;
        line-height: 1.2;
        letter-spacing: -1px;
        margin-bottom: 20px;
    }

    .hero-text p {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 25px;
    }

    .small-label,
    .about-label {
        font-size: 10px;
        letter-spacing: 1.3px;
        margin-bottom: 18px;
    }

    .hero-buttons {
        gap: 12px;
        margin-bottom: 32px;
    }

    .btn-dark,
    .btn-outline {
        padding: 13px 21px;
        font-size: 13px;
    }

    .client-images img {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-dark,
    .btn-outline {
        width: 100%;
    }
}



/* =========================================
   4. HOME PAGE - GALLERY
========================================= */

.gallery-section {
    padding: 80px 0;
    background: var(--white);
}

.gallery-heading {
    margin-bottom: 30px;
}

.gallery-heading h2 {
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    font-size: 36px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #e8edf3;
}

.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.loan-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.loan-tags span {
    padding: 9px 16px;
    background: #f0f4f8;
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}


/* =========================================
   5. HOME PAGE - STATS
========================================= */

.stats-section {
    padding: 55px 0;
    background: var(--primary-dark);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h2,
.stat-item h3 {
    color: var(--white);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-item p {
    color: #c4d0df;
    font-size: 13px;
    margin: 0;
}


/* =========================================
   6. HOME PAGE - FEATURES
========================================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 75px 0;
}

.feature-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 75, 53, 0.3);
}

.feature-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 14px;
    background: #fff0ed;
    color: var(--secondary);
    font-size: 23px;
}

.feature-card h3 {
    color: var(--primary);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}


/* =========================================
   7. HOME PAGE - SERVICES / PORTFOLIO
========================================= */

.services-section {
    padding: 90px 0;
    background: var(--light);
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading h2,
.section-title {
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    font-size: 39px;
    font-weight: 700;
    margin-bottom: 14px;
}

.section-heading p,
.section-subtitle {
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    height: 100%;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 17px;
    box-shadow: 0 5px 20px rgba(21, 59, 101, 0.045);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 18px 40px rgba(21, 59, 101, 0.13);
}

.service-image {
    position: relative;
    height: 225px;
    overflow: hidden;
}

.service-image img,
.service-card > img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.service-card:hover .service-image img,
.service-card:hover > img {
    transform: scale(1.07);
}

.service-number {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 7px 13px;
    border-radius: 30px;
    background: var(--white);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var(--primary);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 13px;
}

.service-content p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.service-content h5 {
    color: #198754;
    font-size: 15px;
    font-weight: 800;
    margin: 18px 0;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 23px;
    border-radius: 7px;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
}

.service-btn:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}


/* =========================================
   8. HOME PAGE - PROCESS
========================================= */

.process-section {
    padding: 90px 0;
    background: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.process-card {
    position: relative;
    padding: 28px 22px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: var(--transition);
}

.process-card:hover {
    background: var(--white);
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 15px;
    font-weight: 800;
}

.process-card h3 {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-card p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.8;
}

.process-line {
    height: 2px;
    background: #e2e8f0;
}


/* =========================================
   9. HOME PAGE - CTA
========================================= */

.cta-section {
    padding: 70px 0;
    background: var(--white);
}

.cta-box {
    position: relative;
    overflow: hidden;
    padding: 65px 45px;
    border-radius: 22px;
    background: linear-gradient(120deg, #0c2948, #1b4b78);
    text-align: center;
    color: var(--white);
}

.cta-box h2 {
    position: relative;
    z-index: 1;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    margin-bottom: 15px;
}

.cta-box p {
    position: relative;
    z-index: 1;
    color: #d5e0ec;
    font-size: 15px;
    margin-bottom: 25px;
}

.cta-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 2px solid var(--secondary);
    border-radius: 50px;
    background: var(--secondary);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-decoration {
    position: absolute;
    width: 240px;
    height: 240px;
    right: -70px;
    top: -100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: floatShape 7s ease-in-out infinite;
}


/* =========================================
   10. ABOUT PAGE - MISSION
========================================= */

.about-page {
    background: var(--white);
}

.mission-section {
    padding: 95px 0;
    background: linear-gradient(135deg, #f8fafc, #eef3f8);
}

.mission-content {
    animation: fadeUp 0.8s ease both;
}

.mission-content h1 {
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 4vw, 52px);
    font-weight: 700;
    margin-bottom: 25px;
}

.mission-content h1 span {
    color: var(--secondary);
}

.mission-content p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.95;
    margin-bottom: 17px;
}

.mission-image {
    position: relative;
    padding: 12px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    animation: fadeUp 1s ease both;
}

.mission-image img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    border-radius: 13px;
    transition: var(--transition);
}

.mission-image:hover img {
    transform: scale(1.015);
}

.image-caption {
    position: absolute;
    left: 28px;
    bottom: 27px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 17px;
    border-radius: 9px;
    background: rgba(12, 41, 72, 0.91);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.image-caption i {
    color: #ff806e;
    font-size: 16px;
}


/* =========================================
   11. ABOUT PAGE - WHY CHOOSE US
========================================= */

.why-choose-section {
    padding: 85px 0;
    background: #f1f3f6;
}

.why-heading {
    text-align: center;
    margin-bottom: 45px;
}

.why-heading h2 {
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
}

.why-heading h2 span {
    color: var(--secondary);
}

.choose-card {
    height: 100%;
    padding: 35px 25px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(21, 59, 101, 0.04);
    transition: var(--transition);
}

.choose-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 75, 53, 0.25);
}

.choose-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: #fff0ed;
    color: var(--secondary);
    font-size: 25px;
    transition: var(--transition);
}

.choose-card:hover .choose-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.choose-card h3 {
    color: var(--primary-dark);
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    margin-bottom: 10px;
}

.choose-card p {
    color: #8994a2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}


/* =========================================
   12. FOOTER
========================================= */

.site-footer {
    padding: 55px 0 20px;
    background: #FFFFFF;
    color: #0b2036;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-bottom: 35px;
}

.footer-brand {
    color: #12395b;
}

.footer-brand:hover {
    color: #12395b;
}

.footer-tagline {
    margin: 13px 0 0;
    color: #526477;
    font-size: 13px;
}

.footer-address span {
    display: inline-block;
    margin-bottom: 10px;
    color: #ff806e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.footer-address p {
    color: #34485d;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.footer-top-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border: 1px solid rgba(11, 32, 54, 0.3);
    border-radius: 50px;
    background: transparent;
    color: #0b2036;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-top-link:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-top-link:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(11, 32, 54, 0.15);
}

.footer-bottom p,
.footer-bottom a {
    margin: 0;
    color: #526477;
    font-size: 12px;
}

.footer-bottom a:hover {
    color: #0b2036;
}

/* =========================================
   13. ANIMATIONS
========================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes headerSlide {
    from {
        transform: translateY(-15px);
        opacity: 0.7;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(18px) rotate(8deg);
    }
}


/* =========================================
   14. RESPONSIVE - TABLET
========================================= */

@media (max-width: 991px) {

    .site-header .navbar {
        min-height: 72px;
    }

    .site-header .navbar-collapse {
        padding: 20px 0;
    }

    .site-header .navbar-nav {
        gap: 5px;
        align-items: flex-start;
    }

    .site-header .nav-link {
        padding: 10px 0 !important;
    }

    .header-apply {
        margin-top: 12px;
    }

    .hero-section {
        padding: 75px 0;
    }

    .gallery-grid {
        grid-auto-rows: 160px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-section {
        padding: 70px 0;
    }

    .mission-image img {
        height: 330px;
    }

}


/* =========================================
   15. RESPONSIVE - MOBILE
========================================= */

@media (max-width: 767px) {

    .brand-logo,
    .footer-brand {
        font-size: 23px;
    }

    .hero-section {
        padding: 65px 0;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .btn-dark,
    .btn-outline {
        padding: 12px 19px;
        font-size: 12px;
    }

    .gallery-section {
        padding: 55px 0;
    }

    .gallery-heading h2 {
        font-size: 29px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 145px;
        gap: 10px;
    }

    .gallery-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-tall {
        grid-row: span 1;
    }

    .stats-section {
        padding: 35px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.17);
        padding: 18px 10px;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .stat-item h2,
    .stat-item h3 {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding: 55px 0;
    }

    .services-section,
    .process-section {
        padding: 60px 0;
    }

    .section-heading h2,
    .section-title {
        font-size: 31px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 45px 0;
    }

    .cta-box {
        padding: 45px 22px;
        border-radius: 16px;
    }

    .cta-box h2 {
        font-size: 29px;
    }

    .mission-section {
        padding: 55px 0;
    }

    .mission-content h1 {
        font-size: 39px;
    }

    .mission-content p {
        font-size: 14px;
    }

    .mission-image img {
        height: 260px;
    }

    .image-caption {
        left: 20px;
        bottom: 22px;
        font-size: 10px;
    }

    .why-choose-section {
        padding: 60px 0;
    }

    .why-heading h2 {
        font-size: 31px;
    }

    .choose-card {
        padding: 28px 20px;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

}


/* =========================================
   16. SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .hero-text h1 {
        font-size: 35px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-dark,
    .btn-outline {
        width: 100%;
    }

    .gallery-grid {
        grid-auto-rows: 115px;
    }

    .mission-content h1 {
        font-size: 34px;
    }

}



/* FOUR IMAGE SLIDER */

.gallery-slider {
    position: relative;
    overflow: hidden;
    padding: 5px 0 15px;
}

.gallery-slider-track {
    display: flex;
    gap: 16px;
    transition: transform 0.65s ease-in-out;
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
    height: 190px;
    overflow: hidden;
    border-radius: 13px;
    box-shadow: 0 7px 20px rgba(21, 59, 101, 0.10);
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-slide:hover img {
    transform: scale(1.08);
}

/* Arrows */

.gallery-arrow {
    position: absolute;
    top: 45%;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-arrow:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.gallery-section .loan-tags {
    margin-top: 22px;
}

/* Tablet */

@media (max-width: 767px) {
    .gallery-slide {
        flex-basis: calc((100% - 16px) / 2);
        height: 170px;
    }
}

/* Mobile */

@media (max-width: 480px) {
    .gallery-slide {
        flex-basis: 85%;
        height: 190px;
    }
}


.mission-image {
    position: relative;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
}

.mission-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
}.mission-image {
    position: relative;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
}

.mission-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
}
