/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('/all-loans/fonts/poppins-v12-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('/all-loans/fonts/poppins-v12-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('/all-loans/fonts/poppins-v21-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('/all-loans/fonts/poppins-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url('/all-loans/fonts/poppins-v21-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* Generic and Flex Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    font-family: 'Poppins', Helvetica, sans-serif;
}

.scroller {
	scrollbar-color: transparent;
  }
  
  /* This will style the main scrollbar for WebKit browsers */
  ::-webkit-scrollbar {
	width: 10px; /* Set the width of the vertical scrollbar */
	height: 8px; /* Set the height of the horizontal scrollbar */
	/* display: none; */
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
	background-color: transparent !important ;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
	background: #bbbbbb; /* Handle color */
	border-radius: 20px;
	border: 6px solid transparent;
  }
 

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

img {
    object-fit: cover;
}

body {
	font-size: 16px;
}

button {
	border: none;
}

select {
    border: none;
    text-align-last:center;
}

/* iOS Safari select text centering fix */
select {
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select:disabled {
    opacity: 0.6;
    color: rgba(255, 255, 255, 0.829); 
}

select:has(option:disabled:checked) {
    color: rgba(255, 255, 255, 0.829); 
}

/* Specifically for iOS Safari */
@supports (-webkit-touch-callout: none) {
    select {
        text-align: center !important;
        -webkit-text-align: center;
    }
}

/* Additional iOS-specific fix */
select::-webkit-appearance {
    text-align: center;
}

select:focus {
    border: none;
}

select, option, option:checked, option[selected], select:focus option:checked  {
    color: rgba(255, 255, 255, 0.829); 
}

select option {
    width: auto;
    max-width: none;
    white-space: nowrap;
}

.quick-quote-popup input::placeholder { /* Standard syntax */
	color: rgba(255, 255, 255, 0.829); 
}
  
.quick-quote-popup input::-webkit-input-placeholder { /* Safari and Chrome */
	color: rgba(255, 255, 255, 0.829); 
}

.quick-quote-popup input:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: rgba(255, 255, 255, 0.829); 
}

.quick-quote-popup input::-ms-input-placeholder { /* Microsoft Edge */
	color: rgba(255, 255, 255, 0.829); 
}

a {
    color: inherit;
    text-decoration: none;
}

strong, h1, h2, h3 {
	font-weight: 600;
}

.no-scroll {
	overflow: hidden;
}

/* margin and padding */
.centre-x {
    margin-left: auto;
    margin-right: auto;
}

.centre-y {
    margin-top: auto;
    margin-bottom: auto;
}

/* font  */
.bolder {
    font-weight: 700;
}

.bold {
    font-weight: 600;
}

.light {
    font-weight: 300;
}

.regular {
    font-weight: 400;
}

.medium {
	font-weight: 500;
}

.italics {
    font-style: italic;
}

.underline {
    text-decoration: underline;
}

.uppercase {
    text-transform: uppercase;
}

.list-type-none {
	list-style-type: none;
}

/* positioning */
.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.fixed {
	position: fixed;
}

.sticky {
	position: sticky;
}


.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.text-left {
    text-align: left;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

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

.justify-end {
	justify-content: flex-end;
}

.space-between {
    justify-content: space-between;
}

.space-around {
    justify-content: space-around;
}

.flex-start {
    justify-content: flex-start;
}

.flex-end {
    justify-content: flex-end;
}

.flex-wrap {
    flex-wrap: wrap;
}

.no-wrap {
    flex-wrap: nowrap;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: start;
}

.align-end {
    align-items: end;
}

.gap-md {
    gap: 20px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #272727;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: #f6f6e9;
}

.bg-theme {
    background-color: #1f5014;
}

.bg-theme-lightest {
    background-color: #cbddd1;
}

.bg-theme-mid {
    background-color: #457d58;
}

.bg-theme-light {
    background-color: #7d9b77;
}

.bg-dark {
    background-color: #272727;
}

.bg-transparent {
    background-color: transparent;
}

.bg-white {
    background-color: #fff;
}

.fill-white {
    fill: white;
}

.color-white {
    color: white;
}

.color-light {
    color: #f6f6e9;
}

.color-theme {
    color: #1f5014;
}

.color-theme-lightest {
    color: #cbddd1;
}

.color-theme-mid {
    color: #457d58;
}

.color-theme-light {
    color: #7d9b77;
}

.color-dark {
    color: #272727;
}

/* size classes */
.w-30 {
    width: 30%;
}

.w-40 {
    width: 40%;
}

.w-50 {
    width: 50%;
}

.w-60 {
    width: 60%;
}

.w-70 {
    width: 70%;
}

.w-80 {
	width: 80%;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* Button styles */
.btn {
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    width: 170px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 33%);
}

.btn.btn-less-round {
    border-radius: 14px;
}

.btn.bg-light:hover {
    background-color: #3a5d44;
    color: #f6f6e9;
}

.btn.bg-theme-mid:hover {
    background-color: #1f5014;
}

.btn.bg-dark:hover {
    background-color: #cbddd1;
    color: #272727;
}

.btn-secondary {
    background-color: transparent;
    color: #4a7c59;
    border: 2px solid #4a7c59;
    font-size: 16px;
    padding: 13px 30px;
}

.btn-calculate {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-top: 20px;
}

.btn-apply-now {
    
    padding: 12px 24px;
}

.btn-apply-prompt {
    
    padding: 10px 20px;
    margin-left: 10px;
}

.btn-more-info {
    
    padding: 15px 30px;
    margin-top: 30px;
}

.btn-send {
    background-color: #4a7c59;
    
    width: 100%;
    padding: 15px;
    margin-top: 20px;
}

.spinner {
    display: none;
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

.spinner.spin {
    display: block;
    margin-left: 5px;
	animation-name: spin;
	animation-duration: 1500ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear; 
}

.section {
    padding: 90px 0 100px;
}

.section-h2 {
    font-size: 42px;
    font-weight: 500;
    margin: 0 0 40px;
}

/* Header styles */
.header {
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
    box-shadow: 0px 2px 8px rgb(4 51 3 / 56%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    /* box-shadow: 0 10px 30px rgb(2 28 4 / 20%); */
}

.logo {
    height: 70px;
    font-weight: 900;
}

.logo img {
    height: 100%;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    font-weight: 500;
}

.main-nav li {
    cursor: pointer;
    white-space: nowrap;
}

.main-nav a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.header .btn {
    width: 150px;
}

.mobile-actions, .mobile-actions.hide {
    display: none;
}

/* Hero section */
.hero-section {
    margin-top: 80px;
    padding: 80px 0;
}

.hero-content {
    display: flex;
    gap: 60px;
    align-items: center;
    height: 100%;
}

.hero-text-wrapper {
    max-width: 500px;
}

.hero-text-box {
    z-index: 1;
    border-radius: 30px;
    padding: 30px;
    box-shadow: -4px 4px 16px rgb(0 0 0 / 32%);
}

.hero-text-box .hero-box-title {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 20px 0;
}

.hero-subtitle {
    box-sizing: border-box;
    position: absolute;
    display: flex;
    left: 0;
    top: -85px;
    padding: 15px 30px 0 30px;
    width: 80%;
    min-width: fit-content;
    white-space: nowrap;
    height: 100px;
    border-radius: 30px 30px 0 0;
    font-size: 22px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 57%);
    z-index: 0;
}

.hero-description {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 0;
}

.hero-small-text {
    font-size: 16px;
    margin: 0 0 30px 0;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image-box {
    text-align: right;
}

.hero-image {
    width: 480px;
    height: 600px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-404.hero-section {
    padding: 120px 0;
}

/* ==========================================================================

	CALCULATOR

========================================================================== */
#calculator-anchor {
	position: absolute;
	top: -50px;
}

#calculator-container {
    height: 710px;
	overflow: hidden;
	transition: height 0.2s ease;
	padding-bottom: 0;
}

.calc-heading {
	width: fit-content;
	margin: 0 auto;
	font-size: 1.4em;

     .strike {
        right: 0;
		bottom: 0;
		width: 100px;
    }

	.strike-text {
		background: url('../../img/icons/strike.png');
	}
}

.calculator {
	width: 900px;
	margin: 40px auto 20px auto;
	border-radius: 20px;
	border: 1px solid #f4f3f2;
	overflow: hidden;
	letter-spacing: 1px;
}

.download-row {
	height: 60px;
	z-index: 10;
}

.download-row p {
	font-size: 16px;
}

.btn.download {
	display: inline-block;
	margin-left: 20px;
	font-size: 12px;
	width: 140px;
	padding: 8px;
}

.calculator .tabs-container {
	display: flex;
	justify-content: space-between;
    border-bottom: 2px solid #457d58;
}

.calculator .tab {
	width: 50%;
	font-size: 18px;
	font-weight: 600;
	padding: 20px;
	margin: 0;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	transition: .3s ease-in-out;
    background-color: #598b68;
    color:  #272727;
}

#repayment_tab {
    border-right: 1px solid #457d58;
}

#borrow_tab {
    border-left: 1px solid #457d58;
}

.calculator .tab.active {
    background-color: #f6f6e9;
    color: #272727;
}

.calculator .tabs-content-container {
	display: flex;
	width: 1800px;
	transition: .3s ease-in-out;
}

.calculator #repayment_tab_content {
	margin-left: 0;
}

.calculator #borrow_tab_content {
	margin-left: -900px;
}

.calculator .tab-content {
	display: flex;
	width: 100%;
	padding: 40px 70px;
}

.calculator .tab-content .left {
	width: 55%;
}

.calculator .tab-content .right {
	width: 45%;
}

.calculator .tab-content .field {
	position: relative;
	/* margin-bottom: 20px; */
}


.calculator .tab-content .field input,
.calculator .tab-content .field select,
.calculator .tab-content .field .repayment-period-block label {
	width: 100%;
	background-color: #457d58;
    color: #f6f6e9;
	padding: 10px;
	border: none;
	font-size: 1rem;
	letter-spacing: 2px;
}

/* .calculator .tab-content .dollar {
	position: absolute;
	top: 10px;
    left: 4%;
	font-size: 16px;
    font-weight: 700;
	pointer-events: none; 
} */

.calculator .tab-content .btn {
	margin: 40px auto 0;
}

.calculator .tab-content input[type=text].dollar-input {
	padding-left: 25px;
	width: 150px;
}

.calculator .tab-content .amount-text {
	font-size: 12px;
    margin-left: 15px;
    font-weight: 400;
	align-self: flex-end;
}

.calculator .tab-content .field select {
	-webkit-appearance: none;
	-moz-appearance: none;
}

.calculator .tab-content .field input[type=radio] {
	display: none;
}

.calculator .tab-content .repayment-period-container {
	display: flex;
	justify-content: space-between;
	margin-top: 15px;
}

.calculator .tab-content .field .repayment-period-block {
	width: 28%;
}

.calculator .tab-content .field .repayment-period-block label {
	font-size: 14px;
	background-color: #457d58;
    color: #f6f6e9;
	width: 150px;
	padding: 10px 0;
	cursor: pointer;
	display: inline-block;
}

.calculator .tab-content .field .repayment-period-block label:hover,
.calculator .tab-content .field .repayment-period-block input:checked + label, 
.compare-type:hover {
	background: linear-gradient(0deg, #272727 10%, #457d58 10%);
}

.calculator .tab-content .right {
	padding-left: 40px;
}

.calculator .tab-content .right .results-block {
	background-color: #fff;
	height: 90%;
    padding: 40px 0;
	border-radius: 10px;
}

.calculator .tab-content .right label,
.calculator .tab-content .right .results,
.calculator .tab-content .right .button {
	display: block;
}

.calculator .tab-content .right .results {
	font-size: 46px;
	font-weight: 700;
	word-break: break-all;
}

.calculator .tab-content .right .button {
	width: 200px;
	padding: 10px;
	margin: 10px auto;
}

.calculator-hidden {
	display: none;
}

.calculator-hidden.active {
	display: block;
}

.calculator .tab-content .field.interest-rate-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: baseline;
}

.calculator .tab-content .field #interest_rate_label,
.calculator .tab-content .field #borrow_rate_label {
    width: 100%;
}

.calculator .tab-content .field .term_label{
    width: 100%;
    margin: 10px 0 5px 0;
}

.calculator .tab-content .field .term_label span {
    position: absolute;
	text-align: center;
	font-size: 12px;
	bottom: 38px;
    display: block;
    width: max-content;
    max-width: 150px;
    padding: 5px 10px;
    margin-left: 10px;
    border-radius: 8px;
    transform: translateX(0px);
    z-index: 1; 
	border-bottom-left-radius: 0 0;
	place-self: start;
}

.calculator .tab-content .field input[type=range] {
    background: linear-gradient(to right, #272727 0%, #272727 0%, #fff 0%, #fff 100%);
    -webkit-appearance: none;
    width: 80%;
    height: 12px;
    /* margin-top: 20px; */
    outline: 0;
    border: 0;
    border-radius: 500px;
    padding: 0;
}

.field input[type=number], .third-step-input .field input[inputmode=numeric] {
    background-color: #457d58;
    color: #f6f6e9;
    padding: 10px 70px 10px 45px;
    border: none;
    font-size: 1rem;
    letter-spacing: 2px;
    width: 100%;
    text-align: right;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {

    .calculator .tab-content .field input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 22px;
        height: 22px;
        background-color: #272727;
        border-radius: 50%;
    }

}

.calculator .tab-content .field input[type="range"]::-moz-range-progress {
    background-color: #272727;
}

.calculator .tab-content .field input[type="range"]::-moz-range-track {
    background-color: #ddd;
}

.calculator .tab-content .field input[type="range"]::-ms-fill-lower {
    background-color: #272727;
}

.calculator .tab-content .field input[type="range"]::-ms-fill-upper {
    background-color: #ddd;
}

.calculator .range-indicator {
    position: absolute;
    top: 15px;
    display: flex;
    justify-content: space-between;
    width: 80%;
    font-size: 13px;
    font-weight: 700;
    margin-top: 20px;
}

.calculator .range-row {
	margin-top: 35px;
}

.calculator .terms {
    background-color: #fff;
    font-size: 14px;
    padding: 10px 0 5px;
}

.calculator-results {
	border-radius: 20px;
    width: 900px;
    padding: 40px 70px;
    margin: 65px auto 0;   
}

.calculator-results #result-number {
	font-size: 2.5rem;
	font-weight: 600;
}

.calculator-results .rate-disclaimer {
	font-size: 0.8rem;
}

.calculator-results .btn {
	margin: 10px auto;
}

.calculator-results .btn#email-result-trigger {
	font-size: 15px;
}

.calculator-results .result-footer {
	font-size: 0.8rem;
}

#email-result-open {
	font-size: 15px;
}

#email-result-container .quick-quote-success{
	width: 100%;
}
/* 
#email-result-container #email-success-message .success-icon {
	width: 50px;
	height: 50px;
}

#email-result-container #email-success-message .section-heading {
	margin-bottom: 20px;
} */

#email-success-message .quick-quote-success .submitted {
	width: 100%;
}

.quick-quote-popup .close-popup {
	border-radius: 50%;
}

.close-popup {
    position: absolute;
    top: -35px;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 5px;
    border: 2px solid #f6f6e9;
	cursor: pointer;
}

.close-popup .close-icon {
    fill: #f6f6e9;
    width: 100%;
    height: 100%;
}

/* QUICK QUOTE */
.quick-quote-popup {
	display: none;
	width: 960px;
	height: 590px;
	top: calc(50% - 280px);
	left: calc(50% - 480px);
	margin: 0 auto;
	border-radius: 20px;
	opacity: 0;
	transition: top 0.7s ease-out, opacity 0.8s ease-out;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 10px;
}

#email-result-container {
	position: fixed;
	top: calc(50% - 188px);
	left: calc(50% - 265px);
	width: 530px;
	height: 376px;
}

#email-result-form {
	padding: 35px 40px;
}

#email-result-form .email-text {
	font-size: 22px;
	letter-spacing: 1px;
	margin: 0;
    width: 100%;
}

.quick-quote-popup .checkbox {
	display: flex;
	width: 340px;
	min-width: fit-content;
	max-width: 100%;
	margin: 0 0 8px auto;
	gap: 5px;
	align-items: center;
}

.quick-quote-popup .checkbox input[type="checkbox"], #email-result-container .checkbox input[type="checkbox"]:checked  {
	background-color: #cbddd1;
}

#email-result-container .btn{
	margin: 0 auto;
	width: 220px;
    height: 45px;
}

/* Chrome, Safari, Edge, Opera */
.quick-quote-popup .number-input::-webkit-outer-spin-button,
.quick-quote-popup .number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.quick-quote-popup .number-input[type="number"] {
    -moz-appearance: textfield;
}

.quick-quote-popup.open {
	opacity: 1;
	z-index: 101;
	display: flex;
	justify-content: center;
	align-items: center;
}

.quick-quote-popup.open::before {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    content: '';
    backdrop-filter: blur(30px) brightness(0.5);
    z-index: -1;
}

.quick-quote-popup form, .quick-quote-success {
	gap: 25px 0;
	width: 100%;
	height: 100%;
	padding: 40px 60px;
	border-radius: 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.quick-quote-popup form .form-input input {
	text-align: center;
	padding: 10px 0;
}

.quick-quote-popup .form-input.field-full {
	flex-basis: 100%;
}

.quick-quote-popup .form-input.field-full .text, .quick-quote-popup .form-input.field-full .terms {
	text-align: left;
	margin: 0;
}

.quick-quote-popup .form-input.field-full .text {
	font-size: 18px;
}

.quick-quote-popup .form-input.field-full .terms {
	font-size: 12px;
}

.quick-quote-popup .form-input.select {
    border: none;
    padding: 15px 25px;
    text-align: center;
    background: url("data:image/svg+xml,<svg height='20px' width='20px' viewBox='0 0 16 16' fill='%23545454' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat #457d58;
    background-position: right 0.75rem center !important;
    -moz-appearance:none !important;
    -webkit-appearance: none !important; 
    appearance: none !important;
    letter-spacing: 2px;
    color: white;
    font-weight: 600;
}
/* 
.quick-quote-popup .form-input option {
	background-color: #fff;
} */

.quick-quote-popup .checkbox-wrapper {
	margin-top: -10px;
	width: 100%;
}

.quick-quote-popup .checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    margin: 0 5px 0 0;
}

.quick-quote-popup .checkbox input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' preserveAspectRatio='xMidYMid meet' version='1.0' viewBox='0.1 -0.0 559.9 420.1' zoomAndPan='magnify' style='fill: rgb(0, 0, 0);' original_string_length='661'%3E%3Cg id='__id142_sooudfplp'%3E%3Cpath d='m68.387 589.17s34.85-42.054 74.213-54.712c10.658 7.9938 71.078 128.74 81.736 127.4 11.991-1.3323 90.972-111.37 261.77-313.23 0 0 49.43 22.44 140.38 27.123-237.81 186.54-360.82 368.37-371.6 377.16-30.643 14.655-46.349 6.1754-57.007-0.48603-25.314-22.649-128.16-157.93-129.49-163.26z' fill-rule='evenodd' stroke='%23000' transform='translate(-67.841 -348.02)' style='fill: rgb(84, 84, 84);'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
}

.quick-quote-popup .btn {
	margin-top: -20px;
	font-size: 1rem;
	padding: 10px 20px;
}

.quick-quote-success {
	display: none;
	opacity: 0;
	transition: opacity 0.5s linear;
}

.quick-quote-success.visible {
	opacity: 1;
	display: flex;
	width: 100%;
	height: 100%;
}

.quick-quote-success  .top-img {
	margin: 20px 0 15px;
	height: 105px;
	width: auto;
	object-fit: contain;
}

#quote-popup.complete {
	width: 800px;
	height: 500px;
	padding: 40px;
	letter-spacing: 1px;
	left: calc(50% - 400px);
	top: calc(50% - 250px);
}

.quick-quote-popup .quick-quote-success .btn {
	width: fit-content;
	margin-top: 35px;
}

.quick-quote-success .disclaimer {
	margin: 35px 0 0;
	font-size: 11px;
}

.quick-quote-success .contact-text {
	margin-bottom: 10px;
}

.quick-quote-success .refer-text strong {
	font-weight: 600;
}

.quick-quote-success .submitted {
	padding: 10px 15px;
	margin: 20px auto;
	border-radius: 25px;
	width: 75%;
}

.quick-quote-success .in-touch {
	font-size: 1rem;
	margin: 0 auto 20px;
	width: 70%;
}

#about-qq-trigger {
	cursor: pointer;
}

.blur {
	filter: blur(10px);
	pointer-events: none;
}

#notification .fa-check-circle {
	margin-right: 5px;
}

/* ==========================================================================

	Interest Rates

========================================================================== */

.interest-list {
	padding-left: 15px;
}

.interest-list li {
	margin: 5px 0;
	/* font-size: 1.2rem; */
}

.calculator .tab-content .field input[type=number] , .calculator .tab-content .third-step-input .field input[inputmode=numeric] {
    padding: 10px 70px 10px 45px;
    border: none;
    font-size: 1rem;
    letter-spacing: 2px;
    width: 100%;
    text-align: right;
}

.calculator-results .btn {
    width: 225px;
}

#loan_term_compare {
    padding-right: 80px;
}

#loan_amount_compare, #loan_repayment_compare {
    text-align: left;
}

.percent.absolute {
    color: #f6f6e9;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    font-weight: 400;
    pointer-events: none;
}

.interest-box {
    width: 70%;
}

.tab-content .field .repayment-period-block {
    width: 28%;
}

.interest-text {
    font-weight: 400;
    margin-top: 5px;
    font-size: 12px;
}

.tab-content .repayment-period-container {
    margin: 10px 0;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.calc-terms {
    font-size: 12px;
    margin-top: 40px;
}

.calculator-results .btn.apply {
    margin: 10px auto;
    width: 220px;
    height: 45px;
}

.calculator-results .btn.w-70 {
    width: 70%;
}

.compare-with-different {
    margin-bottom: 20px;
}

.compare-types {
    margin-bottom: 20px;
}


.email-result-form .form-input input {
    background-color: #457d58;
    color: white;
}

.email-result-form .form-input input::placeholder {
    color: white;
}

#email-success-message.quick-quote-success .submitted {
    width: 100%;
}

#email-success-message .section-heading {
    font-size: 25px;
    margin: 5px;
}

#email-success-message .success-icon {
    height: 80px;
}

#email-success-message .content-text {
    margin: 0;
}

.breakdown-row {
    border-bottom: 1px solid #272727;
    margin-bottom: 8px;
    padding-bottom: 5px;
}

.comparison-header {
    padding: 10px 0;
    text-align: right;
    display: none;
    top: 5px;
}

.compare-header {
    height: 20px;
    margin-top: 10px;
}

.comparison {
    display: none;
}

.comparison-step {
    display: none;
}

.comparison.active {
    display: inline-block;
}

.comparison-step.active {
    display: inline-block;
    top: -12px;
    right: 0;
}

.comparison-header.comparison-step.active {
    display: inline-block;
}

.comparison-header.comparison {
    width: 110px;
}

#compare-trigger {
    margin-bottom: 20px;
}

#repay-compare-trigger {
    display: none;
}

#amount-compare-trigger.hidden {
    display: none;
}

#repay-compare-trigger.show {
    display: flex;
    justify-content: center;
}

.comparison-header.original {
    width: 75px;
    right: 150px;
}

.w-20 {
    width: 20%;
}

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

.original-item.active {
    position: absolute;
    right: 150px;
    width: 100px;
}

.item-to-hide.active {
    display: none;
}

.compare-type {
    font-size: 14px;
    background-color: #457d58;
    color: #f6f6e9;
    width: 30%;
    padding: 10px 0;
    cursor: pointer;
    display: inline-block;
}

#result-title {
    margin-top: 0;
}

#result-number {
    margin: 0 auto 5px;
}

.result-actions {
    margin-top: 20px;
}

.third-step-input {
    display: none;
}

.third-step-input.active {
    display: block;
}

.dollar {
    position: absolute;
    top: 10px;
    left: 4%;
    font-size: 16px;
    font-weight: 700;
    pointer-events: none;
    color: #f6f6e9;
}

/* end kcl */
.section-intro {
    text-align: center;
    font-size: 20px;
    margin: 0 auto 40px;
    max-width: 600px;
}

.calculator-box {
    border-radius: 10px;
    padding: 40px;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

.calculator-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-weight: 700;
    cursor: pointer;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #4a7c59;
    border-bottom-color: #4a7c59;
}

.calculator-form {
    display: grid;
    gap: 30px;
}

.form-row {
    display: flex;
    flex-direction: column;
}

.form-row label {
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
}

.input-group {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px 15px;
}

.currency-symbol {
    font-weight: 700;
    margin-right: 10px;
    color: #666;
}

.input-group input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 16px;
    font-weight: 700;
}

.unit {
    margin-left: 10px;
    color: #666;
    font-weight: 700;
}

.input-hint {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.frequency-options {
    display: flex;
    gap: 10px;
}

.freq-btn {
    background-color: #f0f0f0;
    border: 2px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.freq-btn.active {
    background-color: #4a7c59;
    
    border-color: #4a7c59;
}

.rate-display {
    margin-bottom: 10px;
}

.rate-value {
    font-size: 24px;
    font-weight: 700;
    color: #4a7c59;
}

input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

.term-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    font-weight: 700;
}

/* Personal loan section */
.loan-content-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 70px;
}


.categories {
    gap: 12px;
}

.category-btn {
    background-color: #272727;
    border: none;
    padding: 14px 20px;
    text-align: left;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: 17px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 33%);
}

.category-btn.active, .category-btn:hover {
    background-color: #f6f6e9;
    color: #272727;
}

.finance .category-btn.active {
    background-color: #cbddd1;
}

.loan-details-card {
    display: none;
    border-radius: 10px;
    padding: 35px;
    gap: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.loan-details-card.active {
    display: flex;
}

.card-image-box, .card-image {
    width: 360px;
    height: 380px;
}

.card-text-content h3 {
    font-size: 25px;
    margin: 0 0 10px;
}

.card-text-content p {
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}

.loan-application-prompt {
    text-align: center;
    width: 100%;
    font-size: 24px;
    padding: 40px 0;
}

.loan-application-prompt p {
    margin: 0;
}

.dropdown {
    border-radius: 8px;
    padding: 8px 40px;
    margin: 0 10px;
    font-size: 24px;
    
    /* Remove default appearance */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    /* Add custom V-shaped arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%231f5014' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center; /* Distance from right edge */
}

.dropdown option {
    color: #272727;
}

/* Vehicle finance section */
.finance-content-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.finance-btn {
    background-color: #333;
    border: none;
    padding: 15px 20px;
    text-align: left;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.finance-btn.active {
    background-color: #4a7c59;
}

.finance-btn:hover {
    background-color: #4a7c59;
}

.finance-details-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: center;
}

/* About Us section */
.about-us-header {
    width: 50%;
    min-width: fit-content;
    border-radius: 30px 30px 0 0;
    padding: 15px 30px 40px;
    margin-bottom: -30px;
}

.about-subtitle {
    margin: 0;
    font-weight: 400;
}

.about-us-content {
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-us-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-us-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.about-us-content li {
    margin-bottom: 10px;
}

.vision .about-us-header {
    margin-right: 1px;
    margin-left: auto;
}

.about-us-content.partners {
    display: flex;
    gap: 70px;
    padding: 80px 60px;
}

.partners-logo {
    width: auto;
    height: 65px;
    object-fit: contain;
}

/* FAQs section */
.faqs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.faq-card {
    position: relative;
}

.faq-a {
    height: 220px;
    margin: -20px 0 0;
    padding: 30px;  
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-q {
    margin: 0;
    border-radius: 30px 30px 0 0;
    width: 85%;
    padding: 30px 30px 40px;
    font-size: 22px;
}

.faq-card p {
    line-height: 1.6;
}

/* Contact Us section */
.contact-form-box {
    padding: 50px 60px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.contact-text {
    width: 500px;
    font-size: 17px;
}

.contact-text .section-h2 {
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-form {
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-form input,
.contact-form textarea {
    text-align: center;
    padding: 15px;
    background: transparent;
    border: 1px solid #272727;
    outline: none;
    transition: border-color 0.3s ease;
    font-size: 18px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4a7c59;
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.thank-you-text {
    width: 100%;
}

#contact-thank-you {
    display: none;
}

.background-img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Footer */
.footer {
    background-color: #333;
    
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #8bc34a;
    font-weight: 700;
}

.footer-col p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #ccc;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
    margin-bottom: 5px;
}

footer .section {
    padding: 40px 0 50px;
}

footer .container {
    gap: 50px;
}

footer .about {
    max-width: 50%;
}

.footer-small {
    margin: 0;
}

footer .section.copy-text {
    padding: 30px 0;
}

.faq .question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    padding: 30px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #272727;
    cursor: pointer;
    border-bottom: 2px solid;
    margin: 0;
    transition: border-color .2s ease-in;
}

.question-icon {
    display: none;
    width: 30px;
    height: 30px;
    color: #272727;
}

.faq .question-icon.active {
    display: block;
}

.faq .answer {
    font-size: 16px;
    max-height: 0;
    overflow: hidden;
    visibility: visible;
    transition: max-height .2s ease-in;
    margin: 0;
}

.answer.active {
    max-height: 1000px !important;
    transition: max-height .2s ease-in;
}

.question.active {
    border-color: transparent;
}

.faq-bottom-text {
    font-size: 18px;
}

.faq-bottom-text.bold {
    font-size: 19px;
}

.faq-bottom-text:first-of-type {
    margin-top: 50px;
}

.faq:first-of-type .question {
    padding-top: 0;
}



/* ==========================================================================

	FORMS

========================================================================== */
.submit-btn {
	margin: 0 auto;
	border: none;
	padding: 17px 60px;
	border-radius: 18px;
	background-color: #272727;
	color: white;
	cursor: pointer;
}

.form-container {
	text-align: center;
}

.form-container h2 {
    margin-bottom: 40px;
}

.form-container .content-text {
    margin-bottom: 40px;
}

.top-img {
    height: 80px;
    transition: transform 0.4s ease-out;
    transform: translateY(0);
}

.top-img.animate {
    transform: translateY(-40%);
}

.top-img.small-shake.animate {
    transform: translateY(-20%);
}

form {
    display: flex;
    flex-wrap: wrap;
    gap: 35px 0;
    justify-content: space-between;
    width: 70%;
    margin: 0 auto;
}

.form-input {
    flex-basis: 46%;
    position: relative;
}

.form-input input {
    border: none;
    padding: 15px 25px;
    font-weight: 600;
    width: 100%;
    letter-spacing: 2px;
    color: white;
}

.error {
    position: absolute;
    display: none;
    top: -40px;
    color: #ff006f;
}

#broker-select.form-input {
    border: none;
    padding: 15px 25px;
    font-weight: 600;
    width: 100%;
}

.form-input.textarea {
    width: 100%;
    height: 200px;
    padding: 15px 25px;
    vertical-align: top;
    resize: vertical;
    border: none;
}

#submit-btn {
    margin: 0 auto;
    border: none;
    padding: 17px 60px;
    border-radius: 18px;
    background-color: #272727;
    color: white;
    cursor: pointer;
}

#submit-btn:hover {
    background-color: #333;
}

.arrow-indicator {
    position: absolute;
    left: -28px;
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 20px solid #272727;
    transition: top 0.3s ease;
    z-index: 10;
}

.arrow-line {
    position: absolute;
    top: -2px;
    left: -32px;
    width: 3px;
    height: calc(100% + 4px);
    content: '';
    border: 2px solid #272727;
    z-index: 10;
}

#vehicle-finance-section .arrow-line {
    height: 86%;
}



@media (max-width: 1300px) {
    body {
        font-size: 15px;
    }

    .section {
        padding: 65px 0 80px;
    }

    .container {
        max-width: 950px;
    }

    #calculator-container {
        height: 730px;
    }

    .hero-image {
        width: 400px;
        height: 500px;
    }

    .hero-text-box .hero-box-title {
        font-size: 30px;
    }

    .hero-subtitle {
        padding-top: 10px;
        top: -75px;
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-text-small {
        font-size: 14px;
    }

    .card-text-content h3 {
        font-size: 20px;
        margin-top: 0;
    }

    .card-image-box, .card-image {
        height: 340px;
        width: 280px;
    }

    .categories {
        gap: 7px;
    }

    .loan-content-grid {
        grid-template-columns: 225px 1fr;
        gap: 40px;
    }

    .loan-details-card {
        padding: 30px;
    }

    .card-image-box, .card-image {
        width: 265px;
    }

    .card-text-content {
        font-size: 15px;
    }

    .card-text-content h3 {
        font-size: 22px;
    }

    .card-text-content p {
        font-size: 15px;
    }

    .category-btn {
        font-size: 16px;
        padding: 13px 20px;
    }

    .section-h2 {
        font-size: 30px;
    }

    .loan-application-prompt {
        padding: 30px;
    }

    .faq-q {
        font-size: 19px;
        padding: 25px 25px 35px; 
        height: 140px;
        display: flex;
        align-items: center;
    }

    .faq-a {
        height: 250px;
        padding: 25px;
    }

    .contact-text {
        width: 400px;
    }

    .contact-form {
        width: 350px;
    }

    .contact-text {
        font-size: 16px;
    }

    .partners-logo {
        height: 50px;
    }
}

@media (max-width: 1024px) {

    .btn {
        height: 42px;
        width: 150px;
        font-size: 15px;
    }

    .container {
        max-width: 780px;
    }

    .hero-content {
        gap: 0;
    }

    .hero-text-wrapper {
        max-width: 54%;
    }

    .hero-image {
        width: 300px;
        height: 400px;
        object-fit: cover;
    }

	.calculator {
		width: 100%;
	}

	.calculator .tab {
		font-size: 14px;
	}

	.calculator .tab-content {
		padding: 30px 40px;
	}

	.calculator .tabs-content-container {
		width: calc(100% * 2);
	}

	.calculator #borrow_tab_content {
		margin-left: -100%;
	}

	#calculator-container {
		height: 700px;
	}

	.calculator .tab-content .field label, .field-label {
		font-size: 14px;
	}

	.calculator .tab-content input[type=text].dollar-input {
		width: 123px;
		padding: 5px 5px 5px 25px;
 	}

	 .calculator .tab-content .field .repayment-period-block label {
		font-size: 12px;
		width: 123px;
	 }

	 .calculator .tab-content .dollar {
		top: 5px;
	 }

	 .calculator-results {
		width: auto;
		padding: 25px 30px;
	 }

	 .calculator-results .btn {
		margin: 10px auto;
		font-size: 16px;
		padding: 10px;
	}

    .calculator-results .btn.w-70 {
        width: 80%;
    }

	.calculator-results .rate-disclaimer {
		font-size: 12px;
		margin: 10px auto;
	}

	.calculator-results .result-footer {
		font-size: 12px;
	}

	.calculator-results #result-number {
		font-size: 2rem;
	}

	.calculator-results #result-title {
		font-size: 18px;
		margin-bottom: 10px;
	}

    .quick-quote-popup {
		width: 700px;
		left: calc(50% - 350px);
	}

	.quick-quote-popup .checkbox {
		margin: -10px 0 10px;
	}

	.quick-quote-success .in-touch {
		font-size: 0.9rem;
	}

    .loan-content-grid {
        grid-template-columns: 180px 1fr;
        gap: 30px;
    }

    .loan-details-card {
        gap: 20px;
        padding: 22px;
    }

    .card-text-content h3 {
        font-size: 19px;
        margin-bottom: 5px;
    }

    .card-image-box, .card-image {
        height: 315px;
        width: 245px
    }

    .card-text-content .line-1 {
        margin-bottom: 0;
    }

    .card-text-content .line-2 {
        margin-top: 0;
    }

    .card-text-content p {
        font-size: 14px;
    }

    .card-text-content .btn {
        border-radius: 10px;
    }

    .category-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .section-h2 {
        font-size: 30px;
    }

    .faqs-grid {
        gap: 20px;
    }
    
    .faq-q {
        font-size: 17px;
        height: 125px;
    }

    .faq-a {
        height: 250px;
        padding: 20px;
    }

    .contact-form-box {
        padding: 40px;
    }

    .contact-form {
        width: 300px;
    }

    .contact-text {
        width: 315px;
        font-size: 15px;
    }

    .contact-form input, .contact-form textarea {
        font-size: 17px;
    }

    .about-us-content.partners {
        padding: 70px 50px;
    }

    .faq-bottom-text, .faq .question {
        font-size: 17px;
    }

    .faq-bottom-text.bold {
        font-size: 18px;
    }

    .faq .question {
        padding: 25px 0;
    }

    .faq .answer {
        font-size: 15px;
    }

    .quick-quote-popup .form-input.select {
        height: 40px;
        padding: 8px 0;
    }

    .quick-quote-popup .checkbox {
        margin: 10px 0;
    }

}

/* Responsive design */
@media (max-width: 819px) {

    .container {
        max-width: 740px;
    }

    .hero-text-box {
        padding: 25px 20px;
    }

    .hero-subtitle {
        padding: 10px 20px 0 20px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-text-small {
        font-size: 14px;
    }

    .hero-text-box .hero-box-title {
        font-size: 26px;
    } 
    
    .loan-content-grid,
    .finance-content-grid {
        grid-template-columns: 1fr;
    }
    
    .loan-details-card,
    .finance-details-card {
        grid-template-columns: 1fr;
    }

    .arrow-indicator {
        border-top: 22px solid transparent;
        border-bottom: 22px solid transparent;
        border-left: 18px solid #27272
    }

    #vehicle-finance-section .arrow-line {
        height: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-us-container {
        justify-content: center;
    }

    .loan-application-prompt, .dropdown {
        font-size: 20px
    }

    .category-btn {
        width: 49%;
    }

    .categories {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .card-image-box, .card-image {
        height: 270px;
        width: 245px;
    }

    .card-text-content h3 {
        font-size: 22px;
    }

    .card-text-content p {
        font-size: 15px;
    }

    .faq-a {
        height: 280px;
    }

    .contact-text {
        width: 260px;
    }

    .contact-form {
        gap: 20px;
    }

    .contact-form input, .contact-form textarea {
        font-size: 16px;
    }

    .about, .contact {
        font-size: 14px;
    }

    footer .section.copy-text {
        padding: 20px 0;
        font-size: 13px;
    }

    .about-us-content.partners {
        padding: 50px 40px;
    }

    .partners-logo {
        height: 45px;
    }

}

/* Responsive design */
@media (max-width: 767px) {

    .logo {
        height: 50px;
    }

    .section {
        padding: 40px 0 50px;
    }

    .section-h2 {
        margin-bottom: 25px;
        font-size: 24px;
    }

    .hide-on-mobile {
        display: none;
    }

    .mobile-actions {
        display: flex;
        justify-content: space-between;
        position: fixed;
        bottom: 0;
        left: 0;
        padding: 15px;
        width: 100%;
        box-shadow: 0px 1px 11px rgb(4 51 3 / 56%);
        z-index: 1000;
    }

    .mobile-actions .btn {
        width: 48%;
    }

    .header {
        height: 65px;
    }

    /* hide header apply button since footer has it */
    .header .btn {
        display: none;
    }

    .main-nav ul {
        gap: 12px;
        padding-left: 10px;
    }

    .main-nav li {
        font-size: 15px;
    }

    .hero-section {
        height: 560px;
        padding: 60px 0 40px;
        margin-top: 65px;
    }

    .hero-404.hero-section {
        height: 340px;
    }

    .hero-content {
        position: relative;
        flex-direction: column-reverse;
    }

    .hero-subtitle {
        font-size: 18px;
        top: -65px;
    }

    .hero-text-wrapper {
        max-width: 100%;
        z-index: 1;
    }

    .hero-text-box {
        padding: 25px 15px;
        margin: auto 0 0 0;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .hero-image-box {
        width: 100%;
        margin-bottom: -40px;
    }

    .hero-image {
        height: 280px;
        width: 100%;
    }

    .hero-text-box .hero-box-title {
        font-size: 24px;
    }

    .hero-small-text {
        margin: 0 0 20px 0;
        font-size: 14px;
    }

    .section-intro {
        font-size: 17px;
    }

    
	.tabs-content-container {
		overflow-x: hidden; /* Ensure overflow is hidden */
	}

	/* Quick Quote */
	.quick-quote-popup.form-container {
		padding: 0;
		height: 630px;
		top: 5%;
		width: 470px;
		left: calc(50% - 235px);
	}

	.quick-quote-popup .checkbox {
		margin: 5px 0 0;
	}

	.quick-quote-popup form {
		width: 100%;
		padding: 20px 0;
	}

	.quick-quote-popup #quick-quote-form .form-input input ,	.quick-quote-popup form .form-input.select{
		font-size: 16px;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	.quick-quote-popup .form-input.select {
		margin: 10px 0;
	}

	.quick-quote-popup .btn {
		margin-top: 12px;
	}

	.quick-quote-success .in-touch {
		font-size: 0.8rem;
	}
	
	.quick-quote-popup .checkbox {
		margin: 5px 0 0;
	}

	#calculator-container {
        height: 970px;
	}

	.calculator-page.content-text {
        margin-bottom: -75px;
    }

	.calculator .tab {
		padding: 12px;
	}

	.calculator .tab-content {
		padding: 0 10px 20px 10px;
		font-size: 0.7rem;
	}

	.calculator .tab-content .field label, .field-label, .field-label {
		font-size: 14px;
	}	

	.calculator .tab-content .field input[type=text], .calculator .tab-content .field select {
		width: 90%;
	}

	.calculator .tab-content .amount-box, .calculator .tab-content span {
		width: 100%;
		text-align: center;
	}

	.calculator .tab-content .field input[type=text], .calculator .tab-content .field select {
		width: 50%;
		text-align: center;
	}

	.calculator .tab-content .field .w-40 {
		margin-top: 5px;
	}

	.calculator .tab-content .dollar {
		left: -20%;
	}

	.calculator .tab-content .flex-row {
		flex-wrap: wrap;
		margin-top: 0;
	}

	.calculator .tab-content  .field-label{
		width: 100%;
		font-size: 0.9rem;
		text-align: center;
		padding: 15px;
		margin: 0;
	}

	.calculator .tab-content .w-70 {
		width: 100%;
		text-align: center;
	}

	.calculator .range-row {
		margin-top: 10px;
	}

	.calculator .tab-content .field .term_label span {
		bottom: 35px;
		margin-left: -5px;
		border-bottom-left-radius: 8px;
		padding: 7px 6px;
		max-width: 65px;
		font-weight: 600;
	}

	.calculator-results {
		margin: 45px auto 0;
        padding: 25px 20px;
	}

	.range-end {
		text-align: right;
	}

	.calculator .tab-content .field .repayment-period-block {
		width: calc(33% - 2px);
	}

	.calculator .tab-content .field .repayment-period-block label {
		font-size: 11px;
		font-weight: 600;
		width: 100%;
	}

	.calculator #loan_term_label {
		margin-bottom: 45px;
	}

	.calculator .tab-content .field .repayment-period-block label {
		height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
	}

	.calculator .tab-content .field input[type=range] {
		width: 85%;
	}

	.calculator .range-indicator {
		width: 100%;
	}

	.calculator .range-start {
		text-align: left;
	}

	.calculator .tab {
		font-size: 12px;
	}

    .calculator .tab-content .field input[type=text], .calculator .tab-content .field select, .interest-box {
        width: 100%;
        height: 40px;
        text-align: center;
    }

    .calculator .tab-content .field input[type=number], .calculator .tab-content .third-step-input .field input[inputmode=numeric] {
        text-align: center;
    }

    .calculator-results .btn.w-70 {
        width: auto;
        font-weight: 400;
        font-size: 14px;
        text-align: center;
        padding: 30px 15px;
    }

    .percent.absolute {
        transform: translateY(-45%);
        right: 10px;
    }

    .interest-box .percent.absolute {
        transform: translateY(-5px);
        right: -30px;
    }

	.cta {
		font-weight: 600;
        padding: 12px;
        font-size: 1rem;
        width: 175px;
	}
    

	.calculator-results {
		width: 100%;
	}

    
    .comparison-step.text-right.active {
        display: inline-block;
        top: 0;
        right: 0;
        position: absolute;
        font-size: 11px;
    }

    .original-item.active {
        display: inline-block;
        position: relative;
        width: auto;
        margin-left: 0;
        right: 85px;
        font-size: 11px;
    }

    .comparison-header.original {
        right: 0;
        left: 0;
		width: auto;
    }

    .comparison-header.comparison-step.active {
        display: inline-block;
        top: -25px;
		font-size: 11px;
		right: 85px;
    }

    .comparison-header.comparison-step.comparison.active {
        right: 0;
		font-size: 11px;
		width: auto;
    }

    .third-step-input.active {
        margin-bottom: 20px;
    }

    .result-actions {
        flex-direction: column;
    }

    /* .breakdown-row {
        flex-direction: column;
        border: none;
    } */

    .breakdown-label {
        font-size: 0.7rem;
        margin-bottom: 10px;
		font-size: 11px;
		width: 50%;
    }

    .original-item {
        /* text-align: center;
        margin: 0 auto;
        width: 100%;
        padding-bottom: 2px; */
		font-size: 11px;
    }

    #email-result-open {
        margin: 0 auto;
    }

	/* email me my result */
	#email-result-container {
		width: 90%;
		left: 5%;
		height: 340px;
		top: calc(50% - 170px);
	}

	#email-result-container #email-results-form .form-input input {
		padding: 12px;
	}

    .calculator .tab-content .field .repayment-period-block label {
        font-size: 10px;
    }

    .compare-types {
        flex-wrap: wrap;
        gap: 5px;
    }

    .compare-type {
        width: 100%;
    }

    .dropdown {
        display: block;
        margin: 10px auto;
    }

    .loan-application-prompt {
        padding: 12px 0;
    }

    .categories {
        justify-content: flex-end;
    }

    .category-btn {
        width: 90%;
    }

    .arrow-indicator {
        left: 4px;
    }

    .arrow-line {
        left: 0;
    }

    .loan-details-card {
        flex-direction: column;
    }

    .card-image-box, .card-image {
        height: 200px;
        width: 100%;
    }

    .card-text-content {
        gap: 10px;
        font-size: 15px;
    }

    .card-text-content .btn {
        margin-top: 10px;
    }

    .loan-application-prompt, .dropdown {
        font-size: 17px;
    }

    .about-us-header {
        margin-bottom: -55px;
        width: 60%;
    }

    .about-us-content {
        padding: 30px 25px 25px;
    }

    .about-us-content p:first-of-type {
        margin-top: 0;
    }

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

    .faq-a {
        height: auto;
    }

    .faq-q {
        font-size: 18px;
        height: 105px;
        width: 285px;
    }

    .contact-us-container {
        width: 100%;
    }

    .contact-form-box .section-h2,  .contact-text {
        margin-bottom: 15px;
    }

    .contact-form-box {
        flex-direction: column;
        padding: 30px;
    }

    .contact-text, .contact-form {
        width: 100%;
    }

    footer .container {
        gap: 20px;
    }

    footer .section.copy-text {
        margin-bottom: 75px;
        padding: 20px 0;
        font-size: 13px;
    }

    .footer-small {
        font-size: 11px;
    }

    .about-us-content.partners {
        gap: 25px 50px;
    }

    .question-icon {
        height: 22px;
        width: 22px;
    }

    .faq-bottom-text, .faq .question {
        font-size: 15px;
    }

    .faq .question {
        padding: 22px 0;
    }

    .faq .answer {
        font-size: 14px;
    }

    .quick-quote-popup.form-container {
        width: 85%;
        height: auto;
        left: 7%;
        top: calc(50% - 285px);
    }

    .quick-quote-popup form {
        padding: 30px 28px;
        width: 100%;
        gap: 0;
        font-size: 14px;
    }

    .quick-quote-popup .form-input.select {
        margin: 6px 0;
    }

    .quick-quote-popup .form-input.field-full .text {
        font-size: 16px;
    }

    .quick-quote-popup #quick-quote-form .form-input input, .quick-quote-popup form .form-input.select {
        font-size: 15px;
    }

    .form-container .form-input {
        flex-basis: 100%;
        padding: 7px 0;
    }

    .quick-quote-popup .checkbox {
        gap: 0;
    }

    .hide-on-mobile {
        display: none;
    }

}