/* Nandafincap Website - Main Stylesheet */

/* CSS Variables */
:root {
    --primary-color: #2d8a5a;
    --primary-hover: #63cd8b;
    --primary-dark: #1f6844;
    --primary-light: #3da66e;
    --secondary-color: #64748b;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --success-color: #2d8a5a;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: Georgia, serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.header {
    background-color: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 0.875rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo:hover {
    background-color: var(--bg-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    border-radius: 0.375rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover {
    background-color: var(--bg-light);
}

.nav-link.active {
    background-color: rgba(45, 138, 90, 0.1);
    color: var(--primary-color);
}

.dropdown-arrow {
    font-size: 0.625rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-nav {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-outline-nav {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline-nav:hover {
    background-color: var(--bg-light);
}

.btn-primary-nav {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary-nav:hover {
    background-color: var(--primary-dark);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero Section - Modern Design */
.hero-modern {
    position: relative;
    padding: 7rem 0 5rem;
    overflow: hidden;
    width: 100%;
    background-color: var(--bg-color);
}

.hero-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 3rem;
    position: relative;
    z-index: 10;
}

.hero-text-content {
    max-width: 42rem;
    margin-left: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem 0.25rem 0.25rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: white;
    margin-bottom: 2.5rem;
    transition: var(--transition);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.hero-badge:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.hero-badge-label {
    background-color: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
}

.hero-badge-text {
    font-size: 0.875rem;
    color: var(--text-color);
}

.hero-badge-divider {
    width: 1px;
    height: 1rem;
    background-color: var(--border-color);
}

.hero-badge-arrow {
    width: 1rem;
    height: 1rem;
    color: var(--text-color);
}

.hero-main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 2rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-form-section {
    max-width: 32rem;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
}

.hero-form {
    margin-bottom: 1rem;
}

.hero-form-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: stretch;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0 0 0 0 transparent;
    transition: all 0.2s ease;
    gap: 0;
    overflow: hidden;
}

.hero-form-wrapper:focus-within {
    box-shadow: 0 0 0 3px rgba(45, 138, 90, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.hero-form-input {
    height: 100%;
    min-height: 3.5rem;
    width: 100%;
    background-color: transparent;
    border-radius: 0;
    padding: 0 1.25rem;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.hero-form-input:first-of-type {
    border-radius: 1rem 0 0 1rem;
}

.hero-form-input:focus {
    background-color: transparent;
    border-color: transparent;
}

.hero-form-input::placeholder {
    color: var(--text-light);
}

.hero-form-button {
    height: 100%;
    min-height: 3.5rem;
    padding: 0 1.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 1rem 1rem 0;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-sizing: border-box;
}

.hero-form-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.hero-form-button-text {
    display: block;
}

.hero-form-button-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: none;
}

.hero-contact-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    width: 100%;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.9rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid rgba(37, 99, 235, 0.15);
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}

.contact-link:hover {
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.contact-value {
    font-weight: 600;
    color: var(--text-color);
}

.hero-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-features-list li {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-color);
}

.hero-features-list li i {
    color: var(--primary-color);
    margin-right: 0.375rem;
}

.hero-loan-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    justify-content: flex-start;
    order: -1;
    margin-bottom: 1.25rem;
}

.loan-icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.625rem;
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.loan-icon-pill i {
    color: var(--primary-color);
    font-size: 1rem;
}

.loan-icon-pill:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(99, 205, 139, 0.3);
}

.loan-icon-pill:hover i {
    color: white;
}

.loan-icon-pill:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.15);
}

.loan-icon-pill span {
    display: none;
}

.hero-image-section {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
}

.hero-gradient-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(to right, var(--bg-color) 30%, rgba(255, 255, 255, 0.8) 50%, transparent 70%);
}

.hero-image-wrapper {
    position: relative;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image-dark {
    display: none;
}

.hero-image-light {
    display: block;
}

@media (prefers-color-scheme: dark) {
    .hero-image-dark {
        display: block;
    }
    
    .hero-image-light {
        display: none;
    }
}

/* Logo Carousel Section */
.logo-carousel-section {
    width: 100%;
    background-color: var(--bg-color);
    padding: 2.5rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.logo-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-carousel-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scroll-logos 30s linear infinite;
    white-space: nowrap;
    width: fit-content;
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.6;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    padding: 0 1rem;
}

.logo-item:hover {
    opacity: 1;
    color: var(--text-color);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Loan Products Cards Section */
.loan-products-cards {
    padding: 3rem 0;
    background-color: var(--bg-color);
    margin-top: 0;
    position: relative;
    z-index: 20;
}

.loan-cards-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.loan-cards-wrapper::-webkit-scrollbar {
    display: none;
}

.loan-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 100%;
    margin: 0 auto;
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

@media (max-width: 1200px) {
    .loan-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .loan-cards-grid {
        grid-template-columns: 1fr;
    }
}

.loan-card {
    background-color: transparent;
    border: none;
    border-right: 1px solid #e5e7eb;
    padding: 2.5rem;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    position: relative;
}

.loan-card:last-child {
    border-right: none;
}

.loan-card:hover {
    background-color: #f9fafb;
}

/* Remove border for specific breakpoints */
@media (max-width: 1200px) {
    .loan-card:nth-child(2n) {
        border-right: none;
    }
    .loan-card:nth-child(3),
    .loan-card:nth-child(4) {
        border-top: 1px solid #e5e7eb;
    }
}

@media (max-width: 768px) {
    .loan-cards-wrapper {
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    .loan-cards-grid {
        display: flex;
        flex-direction: row;
        grid-template-columns: none;
        width: max-content;
        border-radius: 1rem;
    }
    
    .loan-card {
        min-width: 300px;
        max-width: 300px;
        border-right: 1px solid #e5e7eb;
        border-bottom: none;
        flex-shrink: 0;
        min-height: auto;
        padding: 2rem 1.5rem;
    }
    
    .loan-card:last-child {
        border-right: none;
    }
    
    .loan-card-all-products {
        min-width: 300px;
        max-width: 300px;
    }
}

.loan-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.loan-card-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.loan-card-category {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: capitalize;
}

.loan-card-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    margin-top: 0;
    line-height: 1.3;
}

.loan-card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.loan-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.loan-card-features li {
    font-size: 0.9375rem;
    color: var(--text-color);
    padding: 0.625rem 0;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.5;
}

.loan-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.125rem;
    height: 1.125rem;
    background-color: rgba(45, 138, 90, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loan-card-features li::after {
    content: '✓';
    position: absolute;
    left: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
}

.loan-card-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--transition);
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.loan-card-button:hover {
    background-color: var(--primary-hover);
    transform: translateX(4px);
    color: white;
}

.loan-card-button svg {
    width: 1.125rem;
    height: 1.125rem;
    transition: transform 0.3s ease;
}

.loan-card-button:hover svg {
    transform: translateX(4px);
}

.loan-card-button i {
    transition: transform 0.3s ease;
}

.loan-card-button:hover i {
    transform: translateX(4px);
}

/* All Products Card - Special Styling */
.loan-card-all-products {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4ade80 100%);
    color: white;
    position: relative;
}

.loan-card-all-products:hover {
    background: linear-gradient(135deg, #58c794 0%, #3bc86f 100%);
}

.loan-card-all-products::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.all-products-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1;
    position: relative;
}

.all-products-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.all-products-icon i {
    font-size: 2rem;
    color: white;
}

.all-products-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.all-products-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.all-products-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.all-products-button {
    background-color: white;
    color: var(--primary-color);
}

.all-products-button:hover {
    background-color: rgba(255, 255, 255, 0.95);
    transform: translateX(4px);
    color: var(--primary-hover);
}


/* Powerful Features Section */
.powerful-features {
    padding: 3rem 0 6rem;
    background-color: #fafbfc;
    overflow: hidden;
}

.section-header-center {
    text-align: center;
    margin-bottom: 2rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: rgba(255, 165, 0, 0.1);
    color: #ff9500;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.section-title-large {
    font-size: 2.75rem;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.3;
    margin: 0;
}

.section-title-large strong {
    font-weight: 700;
}

.features-showcase {
    position: relative;
    padding: 0 0 0 3rem;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.features-showcase::-webkit-scrollbar {
    display: none;
}

.features-carousel {
    display: flex;
    gap: 1.5rem;
    padding-right: 3rem;
}

.feature-showcase-card {
    background-color: #e8e5f3;
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    min-width: 320px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    width: calc((100% - 4.5rem) / 4);
    border: none;
    box-shadow: none;
    position: relative;
    height: 480px;
}

.feature-showcase-card:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 10;
    background-color: #ffffff;
}

.feature-showcase-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
    border-radius: 2rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-showcase-card:nth-child(1) {
    background: linear-gradient(135deg, #e8e5f3 0%, #f0edf7 100%);
}

.feature-showcase-card:nth-child(2) {
    background: linear-gradient(135deg, #dbe7f5 0%, #edf4fb 100%);
}

.feature-showcase-card:nth-child(3) {
    background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%);
}

.feature-showcase-card:nth-child(4) {
    background: linear-gradient(135deg, #fce7f3 0%, #fdf2f8 100%);
}

.feature-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.feature-showcase-overlay {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Feature Stats (Card 1) */
.feature-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.stat-badge {
    background: white;
    border-radius: 0.875rem;
    padding: 0.875rem 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.stat-income .stat-icon {
    background-color: #d1f4e0;
    color: #10b981;
}

.stat-expense .stat-icon {
    background-color: #ffd4d4;
    color: #ef4444;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

/* Bill Items (Card 2) */
.bill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.bill-item {
    background: white;
    border-radius: 0.875rem;
    padding: 1rem 1.125rem;
    display: flex;
    gap: 0.875rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bill-icon {
    font-size: 2rem;
}

.bill-details {
    flex: 1;
}

.bill-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.bill-date {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.bill-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progress-bar {
    flex: 1;
    height: 0.5rem;
    background-color: #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 1rem;
    transition: width 0.3s ease;
}

.bill-amount {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
}

/* Wallet Display (Card 3) */
.wallet-display {
    width: 100%;
}

.wallet-balance {
    background: white;
    border-radius: 0.875rem;
    padding: 1.25rem;
    margin-bottom: 0.875rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.balance-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.wallet-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.wallet-action {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem 0.75rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Savings Display (Card 4) */
.savings-display {
    width: 100%;
}

.savings-card {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border-radius: 0.875rem;
    padding: 1.5rem 1.25rem;
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.savings-header {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.savings-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.savings-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.savings-percent {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
}

.feature-showcase-content {
    padding: 2.25rem 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    background-color: transparent;
    border-radius: 0 0 2rem 2rem;
    pointer-events: none;
}

.feature-showcase-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-showcase-description {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #6b7280;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0);
}

/* Hover Effects - Title moves up minimal, description appears below */
.feature-showcase-card:hover .feature-showcase-title {
    transform: translateY(-115px);
    color: var(--text-color);
    position: relative;
    z-index: 15;
}

.feature-showcase-card:hover .feature-showcase-description {
    max-height: 150px;
    opacity: 1;
    margin-top: 0.5rem;
    transform: translateY(-115px);
}

.feature-showcase-card:hover .feature-showcase-content {
    padding-top: 2.25rem;
    padding-bottom: 2rem;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
}

.carousel-nav:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav:hover svg {
    color: white;
}

.carousel-nav svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--text-color);
}

.carousel-prev {
    left: 0.5rem;
}

.carousel-next {
    right: 1rem;
}

/* App Download Section */
.app-download {
    padding: 5rem 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

.app-download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.app-download-left {
    padding-right: 2rem;
}

.app-download-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(45, 138, 90, 0.1);
    color: var(--primary-color);
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.app-download-badge i {
    font-size: 1rem;
}

.app-download-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.app-download-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.app-store-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background-color: var(--text-color);
    color: white;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--text-color);
}

.app-store-btn i {
    font-size: 1.75rem;
}

.app-store-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.store-text {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.store-name {
    font-size: 1rem;
    font-weight: 600;
}

.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.app-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.app-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9375rem;
    font-weight: 500;
}

.app-feature-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.app-download-right {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.phone-mockups {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.phone-mockup {
    width: 180px;
    height: 360px;
    background-color: #1a1a1a;
    border-radius: 2rem;
    padding: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup-left {
    transform: rotate(-5deg);
    z-index: 1;
}

.phone-mockup-right {
    transform: rotate(5deg);
    margin-left: -2rem;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #000;
    background-color: white;
}

.phone-icons {
    display: flex;
    gap: 0.25rem;
    color: #000;
    font-size: 0.625rem;
}

.phone-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.75rem;
}

.phone-greeting {
    color: #666;
    margin: 0;
    font-size: 0.875rem;
}

.phone-balance {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.balance-label {
    font-size: 0.75rem;
    color: #666;
}

.balance-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

.balance-change {
    font-size: 0.875rem;
    font-weight: 600;
}

.balance-change.positive {
    color: #10b981;
}

.phone-portfolio h4 {
    font-size: 1rem;
    margin: 0.5rem 0;
    color: #000;
}

.portfolio-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.portfolio-item span:first-child {
    font-weight: 600;
    color: #000;
}

.price {
    font-weight: 600;
}

.price.positive {
    color: #10b981;
}

.price.negative {
    color: #ef4444;
}

.phone-gains {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gain-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: #f3f4f6;
}

.gain-item.positive {
    background-color: #d1fae5;
}

.gain-item.negative {
    background-color: #fee2e2;
}

.gain-item span:first-child {
    color: #666;
    font-size: 0.875rem;
}

.gain-item.positive span:last-child {
    color: #10b981;
    font-weight: 700;
}

.gain-item.negative span:last-child {
    color: #ef4444;
    font-weight: 700;
}

.qr-code-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0;
}

.qr-code {
    background-color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-code-text {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    max-width: 150px;
    margin: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* Footer */
/* Footer */
.footer-modern {
    background-color: #050505;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
    color: white;
}

.footer-inner {
    position: relative;
    border-radius: 2rem 2rem 0 0;
    background-color: #0b0c0d;
    padding: 3rem 0 1.5rem;
}

.footer-gradient {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1531746790731-6c087fecd65a?auto=format&fit=crop&w=1400&q=60');
    opacity: 0.05;
    z-index: 0;
}

.footer-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    color: white;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: start;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
}

.subscribe-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    border-radius: 999px;
    padding: 0.35rem 0.35rem 0.35rem 1.25rem;
    transition: box-shadow 0.3s ease;
}

.subscribe-input:focus-within {
    box-shadow: 0 0 0 3px rgba(45, 138, 90, 0.2);
}

.subscribe-input button {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.subscribe-input button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(45, 138, 90, 0.3);
}

.subscribe-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9375rem;
    color: #0b0c0d;
    min-width: 0;
}

.subscribe-input input::placeholder {
    color: rgba(11, 12, 13, 0.5);
}

.subscribe-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-updates {
    max-width: 400px;
}

.footer-updates h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-weight: 600;
}

.footer-updates p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.footer-updates span {
    color: var(--primary-color);
}

.footer-logo-img {
    height: 45px;
    width: auto;
    display: block;
    margin-bottom: 0.75rem;
    filter: brightness(1.1);
}

.footer-logo .footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-social h4 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-social p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.social-icons {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 138, 90, 0.3);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
}

.footer-links-grid h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.footer-links-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links-grid a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0;
    position: relative;
    font-size: 0.9375rem;
}

.footer-links-grid a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.25rem;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links-grid a:hover {
    color: white;
    padding-left: 0.625rem;
}

.footer-links-grid a:hover::before {
    width: calc(100% - 0.625rem);
}

.footer-bottom {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal a:hover::after {
    width: 100%;
}

@media (max-width: 992px) {
    .footer-modern {
        padding: 2rem 0 1rem;
    }
    
    .footer-inner {
        padding: 2.5rem 0 1.5rem;
        border-radius: 1.5rem 1.5rem 0 0;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 2rem;
        padding-bottom: 2rem;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
    
    .footer-updates {
        grid-column: span 2;
        max-width: 100%;
    }
    
    .footer-logo,
    .footer-social {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-modern {
        padding: 1.5rem 0 0.75rem;
    }
    
    .footer-inner {
        padding: 2rem 0 1rem;
        border-radius: 1rem 1rem 0 0;
    }
    
    .footer-container {
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-updates {
        grid-column: span 2;
    }
    
    .footer-updates h3 {
        font-size: 1.375rem;
    }
    
    .subscribe-input {
        max-width: 100%;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }
    
    .footer-links-grid h4 {
        text-align: left;
        font-size: 0.9375rem;
    }
    
    .footer-links-grid ul {
        align-items: flex-start;
    }
    
    .footer-links-grid a {
        font-size: 0.875rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: 1.25rem;
        gap: 0.75rem;
    }
    
    .footer-legal {
        justify-content: center;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        padding: 1.5rem 0 0.75rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-bottom: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-updates {
        grid-column: auto;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }
    
    .footer-updates h3 {
        font-size: 1.25rem;
        line-height: 1.25;
    }
    
    .footer-updates p {
        font-size: 0.875rem;
    }
    
    .subscribe-input {
        padding: 0.3rem 0.3rem 0.3rem 1rem;
    }
    
    .subscribe-input button {
        width: 40px;
        height: 40px;
        font-size: 0.9375rem;
    }
    
    .subscribe-input input {
        font-size: 0.875rem;
    }
    
    .subscribe-checkbox {
        font-size: 0.8125rem;
    }
    
    .footer-logo-img {
        height: 38px;
    }
    
    .social-icons {
        gap: 0.5rem;
    }
    
    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 0.875rem;
    }
    
    .footer-links-grid h4 {
        font-size: 0.875rem;
        margin-bottom: 0.625rem;
    }
    
    .footer-links-grid a {
        font-size: 0.8125rem;
        padding: 0.25rem 0;
    }
    
    .footer-bottom {
        font-size: 0.8125rem;
        padding-top: 1rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.8125rem;
    }
}

/* How It Works Section */
.how-works {
    position: relative;
    padding: 5rem 0;
    background-color: #ffffff;
    color: var(--text-color);
    overflow: hidden;
}

.how-works::before {
    display: none;
}

.how-works::after {
    display: none;
}

.view-all-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    background-color: rgba(45, 138, 90, 0.22);
    color: white;
    font-weight: 600;
    border: 1px solid rgba(45, 138, 90, 0.4);
    backdrop-filter: blur(6px);
}

.view-all-pill i {
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.view-all-pill:hover {
    background-color: rgba(99, 205, 139, 0.35);
}

.header-kicker {
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(248, 250, 252, 0.65);
}

.how-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.how-heading {
    max-width: 700px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.how-heading h2 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    color: var(--text-color);
    font-weight: 700;
}

.how-heading h2 span {
    color: var(--primary-color);
}

.how-heading p {
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

.how-timeline {
    position: relative;
    z-index: 1;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.how-timeline::-webkit-scrollbar {
    display: none;
}

.timeline-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    position: relative;
}

.timeline-cards::before {
    display: none;
}

.timeline-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-card::before {
    display: none;
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.timeline-card::after {
    display: none;
}

.timeline-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(45, 138, 90, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-card:hover .timeline-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.timeline-icon::before {
    display: none;
}

.timeline-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(45, 138, 90, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-card:hover .timeline-number {
    background: var(--primary-color);
    color: white;
}

.timeline-card h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin: 0.5rem 0 0 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.timeline-card:hover h3 {
    color: var(--primary-color);
}

.timeline-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9375rem;
    flex-grow: 1;
}

.how-cta {
    text-align: center;
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.how-cta p {
    font-size: 1.125rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

.how-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 138, 90, 0.2);
    position: relative;
    overflow: hidden;
}

.how-cta .cta-button::before {
    display: none;
}

.how-cta .cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 138, 90, 0.3);
}

.how-cta .cta-button i {
    transition: transform 0.3s ease;
}

.how-cta .cta-button:hover i {
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .timeline-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .how-header {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .how-works {
        padding: 3.5rem 0;
    }
    
    .timeline-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .timeline-cards::before {
        display: none;
    }
    
    .timeline-card {
        min-height: auto;
        padding: 1.75rem 1.25rem;
    }
    
    .timeline-icon {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }
    
    .timeline-number {
        width: 32px;
        height: 32px;
        font-size: 0.8125rem;
        top: 1.25rem;
        left: 1.25rem;
    }

    .how-heading h2 {
        font-size: 2rem;
    }

    .how-heading p {
        font-size: 0.9375rem;
    }
    
    .timeline-card h3 {
        font-size: 1.0625rem;
    }
    
    .timeline-card p {
        font-size: 0.875rem;
    }
    
    .how-cta {
        margin-top: 2.5rem;
    }

    .loan-products-cards {
        margin-top: -2vh;
    }
}

@media (max-width: 480px) {
    .timeline-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .timeline-card {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .loan-products-cards {
        margin-top: 0;
    }
}

/* Consultation Section */
.consultation {
    background-color: var(--bg-color);
    padding: 4.5rem 0;
}

.consultation-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
}

.consultation-plans {
    background-color: var(--bg-light);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.plan-heading h3 {
    margin: 0.5rem 0 0.75rem 0;
    font-size: 1.75rem;
    color: var(--text-color);
}

.plan-heading p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.plan-label {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Loan Type Selection */
.loan-type-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.loan-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.loan-type-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(45, 138, 90, 0.15);
}

.loan-type-card.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(45, 138, 90, 0.1), rgba(45, 138, 90, 0.05));
    box-shadow: 0 8px 20px rgba(45, 138, 90, 0.25);
}

.loan-type-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.loan-type-card.active .loan-type-icon {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    transform: scale(1.1);
}

.loan-type-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.loan-type-card small {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* More Loan Types */
.more-loan-types {
    margin-bottom: 2rem;
}

.more-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.loan-type-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.loan-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background-color: white;
    color: var(--text-color);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.loan-pill:hover {
    border-color: var(--primary-color);
    background-color: rgba(45, 138, 90, 0.05);
    transform: translateY(-1px);
}

.loan-pill.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.loan-pill i {
    font-size: 1rem;
}

/* Loan Benefits */
.loan-benefits {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.loan-benefits h4 {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.loan-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.loan-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-light);
}

.loan-benefits li:last-child {
    margin-bottom: 0;
}

.loan-benefits li i {
    color: var(--primary-color);
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.plan-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background-color: white;
    color: var(--text-color);
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.plan-option.active {
    border-color: rgba(45, 138, 90, 0.8);
    background: rgba(45, 138, 90, 0.15);
    box-shadow: 0 12px 35px rgba(45, 138, 90, 0.25);
}

.plan-option small {
    display: block;
    color: var(--text-light);
}

.plan-meta {
    text-align: right;
}

.plan-price {
    font-weight: 700;
}

.plan-action {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

.plan-details {
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.plan-details ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.plan-details li {
    position: relative;
    padding-left: 1.5rem;
}

.plan-details li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.consultation-form {
    background-color: white;
    color: var(--text-color);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.consultation-form h2 {
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}

.consultation-form > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Selected Loan Badge */
.selected-loan-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(45, 138, 90, 0.25);
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.badge-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.badge-label {
    font-size: 0.75rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-loan-name {
    font-size: 1.125rem;
    font-weight: 600;
}

.badge-change {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.badge-change:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Form Enhancements */
.required {
    color: #ef4444;
}

.form-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    justify-content: center;
}

.form-note i {
    color: var(--primary-color);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.consultation-form label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
    border: 1px solid rgba(148, 163, 184, 0.6);
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 138, 90, 0.2);
    outline: none;
}

.submit-btn {
    margin-top: 1.5rem;
    border: none;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 100%;
    box-shadow: 0 4px 12px rgba(45, 138, 90, 0.25);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-icon i {
    font-size: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    background-color: var(--primary-hover);
    box-shadow: 0 8px 20px rgba(99, 205, 139, 0.4);
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .consultation-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .consultation {
        padding: 3.5rem 0;
    }

    .consultation-plans,
    .consultation-form {
        padding: 1.75rem;
    }

    .loan-type-main {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .loan-type-card {
        padding: 1rem 0.75rem;
        gap: 0.5rem;
    }
    
    .loan-type-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .loan-type-name {
        font-size: 0.875rem;
    }
    
    .loan-type-card small {
        display: none;
    }

    .loan-type-pills {
        gap: 0.5rem;
    }

    .loan-pill {
        flex: 1;
        min-width: fit-content;
    }

    .selected-loan-badge {
        padding: 0.875rem 1rem;
    }

    .badge-loan-name {
        font-size: 1rem;
    }
}

/* Partners Showcase */
.partners-showcase {
    padding: 4.5rem 0;
    background-color: var(--bg-light);
}

.partners-label {
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: #a855f7;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.partners-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
}

.partners-title span {
    color: var(--text-color);
    font-weight: 700;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 3rem;
    margin-bottom: 2.75rem;
}

.partner-logos span {
    color: #d1d5db;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

.partner-testimonials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.partner-testimonials::-webkit-scrollbar {
    display: none;
}

.partner-card {
    background-color: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.25rem;
    padding: 1.75rem;
    box-shadow: 0 25px 65px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.partner-avatar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.partner-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.partner-stars {
    color: #f97316;
    letter-spacing: 0.25em;
    font-size: 0.85rem;
}

.partner-card h3 {
    margin: 0;
    font-size: 1rem;
}

.partner-role {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.partner-quote {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

.partner-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.partner-card-header div:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.partner-rating {
    margin-top: 2.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-weight: 600;
}

.partner-rating span {
    font-size: 1.1rem;
}

.partner-rating .stars {
    color: #22c55e;
    letter-spacing: 0.25em;
    font-size: 0.9rem;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.rating-badge i {
    color: #16a34a;
}

@media (max-width: 992px) {
    .partner-testimonials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .partners-showcase {
        padding: 3.5rem 0;
    }
    
    .partner-testimonials {
        display: flex;
        flex-direction: row;
        grid-template-columns: none;
        width: max-content;
        gap: 1.25rem;
        margin: 0 -1rem;
        padding: 0 1rem 0.5rem 1rem;
    }
    
    .partner-card {
        min-width: 300px;
        max-width: 300px;
        flex-shrink: 0;
    }
}

@media (max-width: 640px) {
    .partner-card {
        min-width: 280px;
        max-width: 280px;
    }

    .partner-logos {
        gap: 1rem 2rem;
    }
}

/* Loan Calculator Section */
.loan-calculator-section {
    padding: 5rem 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.loan-calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(45, 138, 90, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(45, 138, 90, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Side - Company Intro */
.calculator-intro {
    color: var(--text-color);
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-item:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(45, 138, 90, 0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.intro-label {
    display: inline-block;
    color: var(--primary-hover);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.intro-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
    margin: 0 0 1.25rem 0;
}

.intro-content p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.intro-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.badge-item {
    display: flex;
    gap: 1rem;
}

.badge-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(45, 138, 90, 0.1), rgba(45, 138, 90, 0.05));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.badge-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.25rem 0;
}

.badge-content p {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

/* Right Side - Calculator Widget */
.calculator-widget {
    display: flex;
    justify-content: center;
}

.calculator-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(45, 138, 90, 0.25);
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.calculator-card h3 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* Calculator Input Groups */
.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calc-range-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.calc-range-labels span:nth-child(2) {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

/* Custom Range Slider */
.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    position: relative;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.calc-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
}

/* Calculator Results */
.calc-results {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    font-weight: 500;
}

.result-value {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
}

.result-value.total {
    font-size: 1.5rem;
    color: var(--primary-hover);
}

/* Calculator Apply Button */
.calc-apply-btn {
    width: 100%;
    padding: 1rem;
    background: white;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.calc-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: var(--bg-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .calculator-grid {
        gap: 3rem;
    }
    
    .intro-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .loan-calculator-section {
        padding: 3.5rem 0;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .intro-badges {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .intro-content h2 {
        font-size: 1.75rem;
    }
    
    .calculator-card {
        padding: 2rem;
    }
    
    .calculator-card h3 {
        font-size: 1.5rem;
    }
}

/* Blog Section */
.blog-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
    position: relative;
    z-index: 1;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.blog-title-wrapper {
    flex: 1;
}

.blog-label {
    display: inline-block;
    color: #ff6b3d;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.blog-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.view-all-btn {
    padding: 0.875rem 1.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: white;
}

.view-all-btn:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(45, 138, 90, 0.2);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.blog-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    flex: 1;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
    margin: 0;
}

.blog-content p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.read-more-link {
    color: #ff6b3d;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    color: #e05530;
    gap: 0.75rem;
}

.read-more-link:hover::after {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 3.5rem 0;
    }
    
    .blog-header {
        margin-bottom: 2rem;
    }
    
    .blog-header h2 {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .view-all-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* FAQ Section */
.faq-section {
    padding: 4.5rem 0;
    background-color: var(--bg-color);
}

.faq-wrapper {
    background-color: transparent;
    border-radius: 2.25rem;
    padding: 3rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.faq-header {
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.faq-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.faq-header h2 span {
    color: var(--primary-color);
}

.faq-header p {
    color: var(--text-light);
    margin: 0;
}

.faq-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background-color: white;
    border-radius: 1.5rem;
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.faq-item[open] {
    border-color: rgba(45, 138, 90, 0.5);
    box-shadow: 0 20px 45px rgba(45, 138, 90, 0.15);
}

.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    transition: transform 0.2s ease;
    color: var(--primary-color);
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-item p {
    margin: 0.75rem 0 0 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .faq-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .faq-wrapper {
        padding: 2rem;
    }

    .faq-header h2 {
        font-size: 2rem;
    }
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem;
    min-width: 900px;
    z-index: 1000;
    margin-top: 0.75rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown:hover .dropdown-menu {
    display: flex;
    gap: 1rem;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-column {
    flex: 1;
    min-width: 180px;
}

.dropdown-column h4 {
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
}

.dropdown-column > div {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem;
    color: var(--text-color);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    background-color: rgba(45, 138, 90, 0.05);
    transform: translateX(4px);
}

.dropdown-item:hover .dropdown-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(45, 138, 90, 0.2);
}

.dropdown-item:focus {
    background-color: rgba(45, 138, 90, 0.1);
    outline: none;
}

.dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(45, 138, 90, 0.08), rgba(45, 138, 90, 0.04));
    border: 1px solid rgba(45, 138, 90, 0.12);
    border-radius: 0.75rem;
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.dropdown-icon i {
    font-size: 1.125rem;
}

.dropdown-content {
    flex: 1;
}

.dropdown-content h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.125rem;
}

.dropdown-content p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.dropdown-footer {
    padding: 0.5rem 0.75rem;
    margin-top: 0.5rem;
}

.dropdown-footer p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.dropdown-footer a {
    color: var(--text-color);
    font-weight: 600;
}

.dropdown-footer a:hover {
    text-decoration: underline;
}

.dropdown-column a.view-all {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: var(--transition);
}

.dropdown-column a.view-all:hover {
    background-color: var(--bg-light);
}

.dropdown-simple-links {
    list-style: none;
    padding: 0.5rem;
    margin: 0;
}

.dropdown-simple-links li {
    margin-bottom: 0.5rem;
}

.dropdown-simple-links li:last-child {
    margin-bottom: 0;
}

.dropdown-simple-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: var(--text-color);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: var(--transition);
}

.dropdown-simple-links a i {
    color: var(--primary-color);
    width: 1rem;
    text-align: center;
}

.dropdown-simple-links a:hover {
    background-color: var(--bg-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-modern {
        padding: 5rem 0 4rem;
    }
    
    .hero-container {
        padding: 0 2rem;
    }
    
    .hero-gradient-overlay {
        background: linear-gradient(to right, var(--bg-color) 40%, rgba(255, 255, 255, 0.9) 60%, transparent 80%);
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .section-title-large {
        font-size: 2.25rem;
    }
    
    .features-showcase {
        padding: 0 3rem;
    }
    
    .feature-showcase-card {
        width: calc((100% - 3rem) / 3);
        min-width: 280px;
    }
}

/* App Download Responsive Styles */
@media (max-width: 992px) {
    .app-download-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .app-download-left {
        padding-right: 0;
        text-align: center;
    }

    .app-store-buttons {
        align-items: center;
    }

    .app-download-right {
        justify-content: center;
    }

    .phone-mockups {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .app-download {
        padding: 3.5rem 0;
    }

    .app-download-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .app-download-left {
        padding-right: 0;
        text-align: center;
    }

    .app-download-title {
        font-size: 2rem;
    }

    .app-store-buttons {
        justify-content: center;
    }

    .app-features {
        justify-content: center;
    }

    .phone-mockup {
        width: 150px;
        height: 300px;
    }

    .phone-mockup-right {
        margin-left: -1.5rem;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }

    .footer-logo-img {
        height: 40px;
    }

    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        min-width: auto;
        width: 100%;
        padding: 1rem 0 1rem 1rem;
        box-shadow: none;
        background-color: var(--bg-light);
        margin-top: 0.5rem;
        border-radius: 0.25rem;
        opacity: 1;
        transform: scale(1);
    }
    
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-column {
        margin-bottom: 1.5rem;
    }
    
    .dropdown-column h4 {
        font-size: 0.8125rem;
    }
    
    .dropdown-column a {
        font-size: 0.875rem;
        padding: 0.4rem 0.5rem;
    }
    
    .hero-modern {
        padding: 4rem 0 3rem;
    }
    
    .hero-container {
        padding: 0 1.5rem;
    }
    
    .hero-gradient-overlay {
        background: linear-gradient(to bottom, var(--bg-color) 0%, rgba(255, 255, 255, 0.95) 50%, transparent 100%);
    }
    
    .hero-badge {
        flex-wrap: wrap;
    }
    
    .hero-badge-text {
        font-size: 0.8125rem;
    }
    
    .hero-main-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-form {
        margin-bottom: 2rem;
    }
    
    /* Keep desktop layout for hero form on mobile */
    .hero-form-wrapper {
        grid-template-columns: 1fr 1fr auto;
        gap: 0;
        border-radius: 0.75rem;
        padding: 0.25rem;
    }
    
    .hero-form-input {
        min-height: 2.75rem;
        height: 2.75rem;
        padding: 0 0.875rem;
        font-size: 0.875rem;
    }
    
    .hero-form-input:first-of-type {
        border-radius: 0.5rem 0 0 0.5rem;
    }
    
    .hero-form-button {
        min-height: 2.75rem;
        height: 2.75rem;
        padding: 0 1.25rem;
        border-radius: 0 0.5rem 0.5rem 0;
        font-size: 0.875rem;
    }
    
    .hero-form-button-text {
        display: none;
    }
    
    .hero-form-button-icon {
        display: block;
    }
    
    .hero-features-list {
        font-size: 0.875rem;
    }
    
    .hero-form-section {
        max-width: 100%;
    }

    .hero-contact-links {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .hero-loan-icons {
        gap: 0.5rem;
    }
    
    .loan-icon-pill {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .loan-icon-pill i {
        font-size: 0.9rem;
    }
    
    .logo-carousel-section {
        padding: 1.5rem 0;
    }

    .logo-item {
        font-size: 1.25rem;
    }

    .logo-carousel-track {
        gap: 3rem;
    }

    .loan-products-cards {
        padding: 1.5rem 0;
        margin-top: 0;
    }
    
    .loan-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .loan-card {
        padding: 1.5rem;
    }
    
    .loan-card-title {
        font-size: 1.25rem;
    }
    
    .loan-card-button {
        width: 100%;
        justify-content: center;
    }
    
    .powerful-features {
        padding: 3rem 0;
    }
    
    .section-title-large {
        font-size: 1.75rem;
    }
    
    .features-showcase {
        padding: 0 2.5rem;
    }
    
    .feature-showcase-card {
        width: calc(100% - 1.5rem);
        min-width: 280px;
    }
    
    .feature-showcase-image {
        height: 250px;
    }
    
    .feature-showcase-content {
        padding: 1.25rem;
    }
    
    .feature-showcase-title {
        font-size: 1.125rem;
    }
    
    .feature-showcase-description {
        display: block !important;
        font-size: 0.875rem;
    }
    
    .carousel-nav {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .carousel-nav svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

