@font-face {
    font-family: "Leasy";
    src: url("./assets/LeasyVariableVF.ttf") format("truetype");
}

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

:root {
    --color-accent: #003c28;
    --color-warm-yellow: #fff5c3;
    --bg-green: #003c28;
    --white: #ffffff;
    --bg-light-green: #cdf5d7;
    --bg-blue: #a5c3ff;
    --bg-purple: #e1c8ff;
    --text-gray: #364153;
}

body {
    font-family: "Leasy", sans-serif;
    background: #ffffff;
}

.container {
    max-width: 1555px;
}

.inner-container {
    padding-inline: 80px;
}

.page-body {
    padding-block: 0px 65px;
}

/* Base Button Class */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Primary Button */
.btn-primary {
    background: var(--bg-green) !important;
    color: var(--white) !important;
    font-size: 20px;
    padding: 13px 41px;
}

/* Large Button */
.btn-large {
    padding-inline: 40px;
    font-size: 20px;
}

/* Ghost Button */
.btn-secondary {
    background: transparent;
    border: 1px solid var(--bg-green);
    color: var(--color-accent);
}

/* gap */
/* Gap utility classes: 5px to 50px (step 5px) */
.gap-5 {
    gap: 5px !important;
}

.gap-10 {
    gap: 10px !important;
}

.gap-15 {
    gap: 15px !important;
}

.gap-20 {
    gap: 20px !important;
}

.gap-25 {
    gap: 25px !important;
}

.gap-30 {
    gap: 30px !important;
}

.gap-35 {
    gap: 35px !important;
}

.gap-40 {
    gap: 40px !important;
}

.gap-45 {
    gap: 45px !important;
}

.gap-50 {
    gap: 50px !important;
}

.row-gap-5 {
    row-gap: 5px !important;
}

.row-gap-10 {
    row-gap: 10px !important;
}

.row-gap-15 {
    row-gap: 15px !important;
}

.row-gap-20 {
    row-gap: 20px !important;
}

.row-gap-25 {
    row-gap: 25px !important;
}

.row-gap-30 {
    row-gap: 30px !important;
}

.row-gap-35 {
    row-gap: 35px !important;
}

.row-gap-40 {
    row-gap: 40px !important;
}

.row-gap-45 {
    row-gap: 45px !important;
}

.row-gap-50 {
    row-gap: 50px !important;
}

.column-gap-5 {
    column-gap: 5px !important;
}

.column-gap-10 {
    column-gap: 10px !important;
}

.column-gap-15 {
    column-gap: 15px !important;
}

.column-gap-20 {
    column-gap: 20px !important;
}

.column-gap-25 {
    column-gap: 25px !important;
}

.column-gap-30 {
    column-gap: 30px !important;
}

.column-gap-35 {
    column-gap: 35px !important;
}

.column-gap-40 {
    column-gap: 40px !important;
}

.column-gap-45 {
    column-gap: 45px !important;
}

.column-gap-50 {
    column-gap: 50px !important;
}


/* Typography */
.main-h1 {
    font-size: 72px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.1em;
}

.main-h2 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1em;
    color: var(--color-accent);
}

.main-h3 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1em;
}

.font-normal {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.font-2xl {
    font-size: 24px;
    font-weight: 400;
}

/*Main CSS Design*/

header {
    padding-block: 40px;
}

.fill-current {
    fill: var(--color-accent);
}

header .btn {
    padding: 7px 20px;
    font-size: 16px;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    /* space between nav and buttons */
}

nav a {
    margin: 15px 0px;
    text-decoration: none;
    color: var(--color-accent);
}

.header-buttons {
    display: flex;
    gap: 12px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    border-radius: 2px;
    background: var(--color-accent);
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 20px;
    border-top: 1px solid #cce0d6;
}

.mobile-nav a {
    margin: 12px 0;
    font-size: 18px;
    color: #003c28;
    text-decoration: none;
}

/* Mobile sidebar */
.mobile-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1050;
    padding: 16px;
}

.mobile-sidebar.open {
    transform: translateX(0);
}

.mobile-sidebar.is-open {
    transform: translateX(0);
}

.mobile-sidebar__header {
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}


.mobile-close {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1040;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

.hero-section {
    background-image: url("./assets/Home-Page.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
}

/* Speech Bubble Box */
.hero-content {
    position: absolute;
    right: -1px;
    top: -3px;
    background: var(--bg-light-green);
    padding: 65px 65px;
    width: 700px;
    max-width: 100%;
    clip-path: polygon(0 1%, 100% 0, 100% 100%, 0% 100%);
}

.hero-content .font-normal {
    color: var(--color-accent);
}

.hero-section .svg {
    position: absolute;
    top: 266px;
    right: 0;
}


.loan-section {
    background: var(--bg-green);
    color: var(--white);
    padding: 75px 0px;
}

.loan-section .main-h2 {
    color: var(--color-warm-yellow);
    margin-bottom: 48px;
}

.loan-section .head-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-warm-yellow);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.feature {
    margin-bottom: 20px;
}

.feature img {
    width: 24px;
    height: 32px;
    margin-right: 12px;
}

.feature .font-2xl {
    color: var(--color-warm-yellow);
}

.feature p {
    color: var(--white);
    font-size: 20px;
}

/* Right side box */
.loan-box {
    background: var(--color-warm-yellow);
    /* pale yellow */
    padding: 40px;
}

.loan-box label {
    font-weight: 500;
    margin-bottom: 6px;
    color: #003c28;
}

.loan-box .loan-input {
    margin-bottom: 15px;
    border: 1px solid var(--color-accent);
    padding: 3px 10px;
    border-radius: 4px;
    color: var(--color-accent);
    font-weight: 500;
    background-color: #fff;
    width: max-content;
    display: block;
}

.loan-box small {
    display: block;
    margin-top: 8px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #003c28;
}

.loan-box .btn-primary {
    background: #003c28;
    border: none;
    width: 100%;
    padding: 12px;
    font-weight: 600;
    border-radius: 6px;
}

.loan-box .btn-primary:hover {
    background: #00563c;
}

/* Range slider styles moved from index.html and updated */
input[type="range"].form-range {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    width: 100%;
    height: 46px;
}

/* WebKit track and thumb */
input[type="range"].form-range::-webkit-slider-runnable-track {
    height: 46px;
    background: linear-gradient(to right, #cdf5d7 0%, #cdf5d7 var(--range-progress, 0%), #fafafa var(--range-progress, 0%), #fafafa 100%);
    border-radius: 4px;
    border: 1px solid #035429;
}

input[type="range"].form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 54px;
    height: 54px;
    background: url('./assets/slider-thumb.png') no-repeat center center/contain;
    border: none;
    box-shadow: none;
    cursor: pointer;
    margin-top: -5px;
    /* centers thumb on 46px track in WebKit */
}

/* Firefox track and progress */
input[type="range"].form-range::-moz-range-track, input[type="range"].form-range::-ms-track {
    height: 46px;
    background: #fafafa;
    border-radius: 4px;
}

input[type="range"].form-range::-moz-range-progress {
    height: 46px;
    background: #cdf5d7;
    border-radius: 4px;
}

input[type="range"].form-range::-ms-fill-lower {
    background: #cdf5d7;
    border-radius: 6px;
}

input[type="range"].form-range::-ms-fill-upper {
    background: #fafafa;
    border-radius: 6px;
}

input[type="range"].form-range:focus {
    outline: none;
}

/* Hide the outline on focus for Firefox */
input[type="range"].form-range::-moz-focus-outer {
    border: 0;
}

/* Background image */
.forbrugslaan-section {
    background: url("./assets/Coconut-Tree.png") no-repeat center center/cover;
    min-height: 100vh;
    /* Full height section */
    display: flex;
    align-items: flex-start;
    position: relative;
}

.forbrugslaan-bg {
    display: flex;
    flex-direction: column;
    /* align-items: start; */
    justify-content: flex-start;
    max-width: 704px;
    width: 100%;
}

/* Dialogue box */
.dialogue-box {
    background-color: var(--bg-light-green);
    /* light green */
    position: relative;
    padding: 72px 64px;
}

.forbrugslaan-bg svg {
    margin-left: 80px;
}

.dialogue-box p {
    color: #364153;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.75;
}

.dialogue-box a {
    color: #101828;
    font-weight: 500;
}

.process-section {
    background-color: var(--bg-purple);
    padding-inline: 80px;
}

.process-section .main-h2 {
    margin-bottom: 48px;
    color: var(--color-accent);
}

.process-section .head-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Step number styling */
.accordion {
    --bs-accordion-border-color: none;
    --bs-accordion-active-color: none
}

.accordion-item {
    background: transparent !important;
    border-radius: 0px !important;
}

.border-top {
    border-top: 1px solid #9d9c9ca0 !important;
    padding-top: 20px;
}

.accordion-button {
    background: none !important;
    box-shadow: none !important;
    padding: 0px;
}

.accordion-button:not(.collapsed) .step-number {
    background-color: #003c28;
    color: #fff;
}

.accordion-button::after {
    display: none;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #003c28;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #003c28;
    flex-shrink: 0;
    font-size: 14px;
}

.step-title {
    font-size: 20px;
    color: #003c28;
    font-weight: 500;
    margin: 0px;
}

.accordion-body {
    padding-inline: 0px;
    padding-bottom: 0px;
}

/* Remove Bootstrap’s default background */

.process-img:not(.process-img:first-child) {
    position: absolute;
    left: 0px;
    right: 0px;
    margin: auto;
}

.process-img {
    height: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.process-img.is-visible {
    opacity: 1;
    visibility: visible;
}

.loan-info-section {
    background-color: var(--bg-blue);
    padding-block: 40px;
}

.loan-info-section p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5em;
    color: #364153;
}

.loan-info-top {
    margin-bottom: 70px;
}

.loan-info-top .main-h2 {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.loan-info-bottom .main-h3 {
    color: black;
    margin-bottom: 20px;
}


.loan-safety-section {
    background-color: var(--bg-light-green);
    padding-block: 40px;
}

.loan-safety-section .main-h2 {
    color: var(--color-accent);
    margin-bottom: 30px;
}

.loan-safety-section .main-h3 {
    color: black;
    margin-bottom: 30px;
}

.loan-safety-section p {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: var(--text-gray);
}

.loan-safety-section ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 10px;
    margin-bottom: 25px;

}

.loan-safety-section ul li {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--text-gray);
}

.loan-safety-section ul li::marker {
    color: #d1d5dc;
}

.loan-safety-section a {
    font-weight: 500;
    color: #101828;
}

/* Namespaced styles for the imported bottom section */
.loan-section-alt {
    background-color: #cdf5d7;
}

.loan-section-alt {
    font-size: 18px;
    line-height: 1.6;
    color: #364153;
}

.loan-section-alt .apply-link {
    font-weight: 600;
    color: #101828;
}

/* Footer styles (imported and adapted) */
.footer-section {
    background-color: #003b29;
}

.footer-heading {
    font-size: 72px;
    font-weight: 600;
    color: #fff;
}

.footer-phone {
    font-size: 72px;
    font-weight: 600;
    color: #fff5c3;
    margin-top: 10px;
    a {
        color: inherit;
        text-decoration: none;
    }
}

.footer-logo {
    font-size: 48px;
    font-weight: 800;
    color: #fff5c3;
}

.social-icon {
    display: inline-block;
    background: #fff;
    color: #003b29;
    font-size: 10px;
    padding: 3px 5px 0px;
    border-radius: 2px;
    margin-top: 10px;
    text-decoration: none;
}

.social-icon:hover {
    background: #fff;
    color: #003b29;
}

.footer-links {
    font-size: 14px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

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

footer .logo {
    padding-bottom: 20px;
}

.footer-section {
    position: relative;
}

.footer-corner-svg {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    display: none;
}


.review-section {
    background-color: #e1c8ff;
    /* light green background */
}

.testimonial-slider {
    width: 100%;
    --swiper-navigation-color: #003C28;
    --swiper-navigation-size: 28px;
    position: relative;
}

.testimonial-slider .swiper-slide {
    display: flex;
    justify-content: center;
}

.testimonial-slider img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 560px;
    border-radius: 8px;
}

/* Custom review navigation arrows */
.testimonial-slider .review-prev,
.testimonial-slider .review-next {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
}

.testimonial-slider .review-prev {
    left: -8px;
}

.testimonial-slider .review-next {
    right: -8px;
    left: auto;
}

.testimonial-slider .review-prev:after,
.testimonial-slider .review-next:after {
    display: none;
}

.testimonial-slider .review-prev,
.testimonial-slider .review-next {
    top: 0px;
    bottom: 0px;
    margin-block: auto;
}

.review-section p {
    font-size: 14px;
    line-height: 1.6;
    color: oklch(21% .034 264.665);
    padding-top: 10px;
    text-align: center;

    a {
        color: inherit;
    }

    b {
        font-weight: 500;
    }
}

.last-text {
    padding-top: 0px;
    text-align: center;
}