* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    position: relative;
}

.header {
    background-color: #EFEFEF;
    padding: 20px 8%;
}

.main-nav ul {
    list-style-type: none;
    text-align: right;
}

.main-nav ul li {
    display: inline-block;
}

.main-nav a {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
}

.main-nav ul li:nth-child(2),
.main-nav ul li:nth-child(3) {
    padding-left: 25px;
}

.main-nav a.active {
    color: #0D2556;
    font-weight: 700;
}

#hero {
    overflow: hidden;
    background-image: url('../images/LandingBG@2x.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.decode-header {
    background: linear-gradient(to bottom, #0262C3, #0D2556);
    border-radius: 0;
    padding: 15px 40px;
}

.decode-title {
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0;
    font-size: 25px;
}

.hero-title {
    color: #0262C3;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 15px;
}

.decode-content {
    padding: 40px;
    background-color: #FFFFFF;
    text-align: right;
}

.vin-input {
    display: block;
}

.vin-input {
    width: 100%;
    padding: 5px 0;
    padding-left: 10px;
    font-family: "Montserrat", sans-serif;
    border-radius: 0;
    border: 1px solid #585858;
}

.vin-input:focus {
    outline-color: #0D2556;
    outline-style: solid;
}

.vin-btn {
    text-align: right;
    margin-top: 20px;
    padding: 8px 20px;
    background-color: #0D2556;
    color: #FFFFFF;
    border: 0;
    text-decoration: none;
    display: inline-block;
}

.footer {
    position: absolute;
    top: 100%;
    width: 100%;
}

.footer hr {
    border: 1px solid #FFFFFF;
    opacity: 1;
}

.hero-img {
    max-width: 200px;
    margin-bottom: 15px;
}
.pad-right {
    padding-right: 40px;
}
.pad-left {
    padding-left: 40px;
}
.hero-text {
    max-width: 470px;
    font-size: 14px;
    color: #585858;
    font-family: 'Montserrat', sans-serif;
}

.footer-link-content {
    padding-left: 8%;
}

.footer-link {
    display: inline-block;
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.footer-link:nth-child(1) {
    padding-right: 25px;
}

.loadingBarContainer {
    position: relative;
    width: 80%; /* Adjust as needed */
    height: 35px; /* Adjust height as needed */
    border: 1px solid #0D2556;
    border-radius: 20px;
    position: relative;
    margin: 20px auto;
    background-color: #FFFFFF;
    overflow: hidden;
}

.loadingBarFill {
    position: relative;
    top: 0;
    border-radius: 20px;
    left: 0;
    height: 100%;
    width: 0%; /* Initially set to 0 */
    background: linear-gradient(to right, #0262C3, #0D2556);
    transition: width 1s; /* This will give a smooth filling effect */
    border: 1px solid #FFFFFF
}

.loading-title {
    color: #0262C3;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

#loadingPercentage {
    position: absolute;
    right: 5px;  /* Depending on the width of your percentage text, adjust this value so that the text appears just outside the fill */
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

#loading .container,
#details .container {
    padding-top: 60px;
}

.loading-logo {
    margin-bottom: 30px;
    max-width: 200px;
}

.loading-rule {
    margin-bottom: 100px;
}

#loading-text {
    font-family: 'Montserrat', sans-serif;
    color: #585858;
}

.footer.loading-footer hr {
    border: 1px solid #EFEFEF;
}

.footer.loading-footer .footer-link {
    color: #0D2556;
}

.steps-container {
    position: relative;
}

.step-line {
    position: absolute;
    top: 27px;
    height: 5px;
    width: 100%;
    background: linear-gradient(to right, #0262C3 50%, #EFEFEF 50%); /* Define the two colors here */
    z-index: 1;
}

.step-dot {
    width: 20px;
    height: 20px;
    border: 6px solid;
    border-radius: 50%;
    z-index: 2;
    position: relative;
    transform: translateY(100%); /* This will move the dot up by half its height */
}

.step {
    position: relative;
    z-index: 2;
}

.step p {
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.step-dot.dot-1,
.step-dot.dot-2 {
    background-color: #FFFFFF;  /* Adjust color as needed */
    border-color: #0262C3;
}

.step-dot.dot-3 {
    background-color: #FFFFFF;
    border-color: #EFEFEF;
}

.step-dot.dot-2 {
    margin: 0 auto 10px auto;
}

.step-dot.dot-3 {
    margin-left: auto;
}

.step-1-text {
    position: relative;
    text-align: left;
    left: -24px;
}

.step-3-text {
    text-align: right;
    position: relative;
    right: -15px;
}

.h-90 {
    height: 90%;
}

#details .step-line {
    background: linear-gradient(to right, #0262C3 50%, #0262C3 50%); /* Define the two colors here */
}

#details .step-dot.dot-3 {
    border-color: #0262C3;
    background-color: #0262C3;
}

#details .bi-check {
    position: relative;
    z-index: 10;
    color: #FFFFFF;
    font-size: 20px;
    top: -11px;
    left: -5.5px;
}

#details .decoded-unit-title {
    color: #0262C3;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 60px;
}

.details-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.details-wrapper div {
    width: 33.333%;
}

.detail-title {
    padding: 5px 5px;
    background-color: #EFEFEF;
    color: #0D2556;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 5px;
}

.detail-value {
    padding-left: 5px;
    color: #585858;
    font-size: 14px;
}

.details-btn {
    float: right;
    margin-top: 20px;
    padding: 8px 40px;
    background-color: #0D2556;
    color: #FFFFFF;
    border: 0;
    text-decoration: none;
}

.details-spacing {
    margin-top: 30px;
}

.unit-specs-title {
    font-family: 'Montserrat', sans-serif;
    color: #0262C3;
    text-transform: uppercase;
    text-align: center;
    margin-top: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 25px;
}

.specs-table {
    width: 100%;
}

.specs-table tbody tr td:nth-child(1) {
    width: 50%;
    text-align: right;
    padding-right: 20px;
    text-transform: uppercase;
    color: #0D2556;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.specs-table tbody tr td:nth-child(2) {
    width: 50%;
    text-align: left;
    padding-left: 20px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.specs-table tbody tr td{
    width: 50%;
    text-align: left;
    padding-left: 20px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    padding-top: 5px;
    padding-bottom: 5px;
}

.specs-table tbody tr {
    border-top: 1px solid #EFEFEF;
}

#detailsFooter {
    top: unset;
    padding: 20px 0;
}

#detailsFooter .footer-link {
    color: #0D2556;
}

.error-banner {
    background-color: red;
    color: #FFFFFF;
    text-align: center;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    top: 10px;
    position: relative;
}

.decoded-desc {
    font-family: 'Montserrat', sans-serif;
}

.data-score-wrapper {
    text-align: center;
    width: 200px;
    background-color: #EFEFEF;
    padding: 5px;
    font-family: 'Montserrat', sans-serif;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 20px;
    position: relative;
}

.h-70 {
    height: 70%;
}

.data-score-wrapper i {
    color: #888; /* Color of the info icon */
    cursor: pointer;
    position: relative;
    padding-left: 10px;
}

.tooltip-text {
    display: none;
    position: absolute;
    bottom: 100%; /* Display above the icon */
    left: 50%;
    transform: translateX(-50%); /* Center the tooltip */
    padding: 5px 10px;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    white-space: nowrap; /* Prevents the text from wrapping */
    z-index: 10; /* Ensures the tooltip is on top */
    font-size: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.data-score-wrapper i:hover .tooltip-text {
    display: block;
}

.select-title {
    text-transform: uppercase;
    color: #0262C3;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 40px;
}

.vin-option-btn {
    margin: 10px 0;
    padding: 8px 30px;
    text-transform: uppercase;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    display: block;
    background-color: #0D2556;
    border: 0;
    transition: 0.25s;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.vin-option-btn:hover {
    background-color: #0262C3;
}