.uk-loan-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    font-size: 24px;
    color: #fec64f;
}

.hero-text {
    transform: translateX(-88px);
    padding-right: 10px;
    margin-right: -100px;
    /* Expanding to the right side more */
}

.hero-counselor-btns .btn-tiny {
    padding: 4px 10px !important;
    /* Decreased padding */
    font-size: 1rem !important;
    /* Increased font size */
}


.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .1rem;
    width: 100%;
}

.hero-image {
    margin-right: 5px !important;
    /* Total 95px including 20px container padding */
    transform: translateX(150px) !important;
}

.hero-image-wrapper {
    transform: none !important;
}





.text-gold {
    color: #fec64f;
}

.bg-navy {
    background-color: #042048;
}

.approval-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.highlight-item {
    font-weight: 700;
    color: #042048;
    background: #f8fafc;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.decision-section {
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 32px;
    margin: 40px auto;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 1100px;
}

.decision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.decision-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.decision-card:hover {
    border-color: #042048;
}

.decision-card i {
    font-size: 2rem;
    color: #042048;
    margin-bottom: 15px;
}

.decision-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.decision-footer {
    background: #042048;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 30px;
    font-weight: 600;
}

.lender-logos-card {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 12px;
    margin-top: 10px;
    border: 1px solid #e2e8f0;
}

.lender-logos-card img {
    height: 45px;
    max-width: 150px;
    object-fit: contain;
}

/* Pathway Card Optimizations */
.pathway-card {
    padding: 30px !important;
}

.pathway-card h3 {
    font-size: 1.9rem !important;
    margin-bottom: 10px !important;
}

.pathway-card p.lead-text {
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
}

.pathway-list {
    margin-bottom: 15px !important;
}

.pathway-list li {
    padding: 3px 0 !important;
    font-size: 1.25rem !important;
}

.pathway-footer {
    padding: 15px !important;
    margin-bottom: 20px !important;
}

.pathway-footer h4 {
    margin-bottom: 10px !important;
}

.pathway-footer ul li {
    font-size: 1.15rem !important;
}

.btn-pathway {
    padding: 15px !important;
    font-size: 1.3rem !important;
    margin-top: auto !important;
}

.font-size-16 {
    font-size: 16px !important;
}

.text-bold {
    font-weight: 700 !important;
}

/* Lending Partners Section Optimizations */
.lending-partners-premium {
    padding: 20px 0 !important;
    overflow: hidden;
    /* Prevent scrollbar issues */
}

.logo-wall-container {
    width: 100%;
    overflow: hidden;
    padding: 0 0 10px 0;
    position: relative;
    margin-top: 0;
}

.logo-wall {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll 60s linear infinite;
    /* Slightly slower for readability */
    align-items: center;
}

.logo-wall:hover {
    animation-play-state: paused;
}

.logo-item {
    flex: 0 0 auto;
    width: 170px !important;
    /* Slightly wider */
    height: 90px !important;
    /* Slightly taller */
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}


.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* filter: grayscale(100%); */
    opacity: 1;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    /* filter: grayscale(0%); */
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50%));
    }
}

.criteria-grid {
    margin-top: 20px !important;
    gap: 12px !important;
}

.criteria-card {
    padding: 15px 10px !important;
}

.criteria-card span {
    font-size: 1.1rem !important;
}

.match-notice {
    margin-top: 40px !important;
    padding: 15px 35px !important;
    font-size: 1.1rem !important;
}

@media (max-width: 768px) {
    .logo-wall {
        gap: 20px !important;
    }

    .logo-item {
        width: 110px !important;
    }
}