html, body {
    font-family: "DM Sans", sans-serif;
}

main {
    background-color: #fff;
}
.navbar {
    background-color: #00306B;
}

img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-link {
    color: white;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.673);
}

.hero {
    background-image: url(../media/back1.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.logo {
    height: 60px;
    width: 60px;
}

.about-us-container {
    background-color: #00306B;
}

.fa-xmark {
    color:white;
}

.offcanvas {
    background-color: #00306B;
}

button {
    border: 0;
    background-color: transparent;
}

.about-us-col-content {
    height: 100%;
    width: 100%;
    background-color: white;
}

.cards-png {
    width: 300px;
    height: auto;
    object-fit: contain;
}

input {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.btn-usdot {
    background-color: white;
    border-radius: 0px;
}

.advantage {
    height: 100%;
    width: 100%;
    color: #000;
    background-color: white;
}

.advantage-img {
    width: 40px;
    height: auto;
    object-fit: contain;
}

p {
    width: fit-content;
    margin-bottom: 0px;
    height: fit-content;
}

.custom-accordion {
    outline: none;
    box-shadow: none;
    position: relative;
}
.custom-accordion::after {
    content: "+";
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 1rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.custom-accordion:not(.collapsed)::after {
    content: "-";
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: none !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: none !important;
    transform: var(--bs-accordion-btn-icon-transform);
}

.accordion-button::after {
    background-image: none;
}

.accordion-item .accordion-collapse.show,
.accordion-item .accordion-collapse.collapsing {
    background-color: #F9FBFC;
}

.accordion-item {
    border-bottom: none;
}

.accordion-item, 
.accordion-button {
    border: none;
}

.accordion-item .accordion-collapse.show,
.accordion-item .accordion-button:not(.collapsed) {
    background-color: #F9FBFC;
}
.accordion-button {
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.accordion-item .accordion-collapse.show,
.accordion-button:not(.collapsed) {
    background-color: #F9FBFC;
    border: none;
}

.accordion-button {
    outline: none;
    background-color: transparent;
    border: none;
    transition: background-color 0.3s ease;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    outline: none;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

.accordion-item .accordion-collapse.show,
.accordion-item .accordion-collapse.collapsing,
.accordion-button .collapsed {
    background-color: #F9FBFC;
    border: none;
}

.accordion-button.collapsed:not(.collapsing) {
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.accordion-button:focus {
    box-shadow: none;
    outline: none;
}

.accordion-item:last-of-type {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.accordion-item:first-of-type>.accordion-header .accordion-button {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}
.accordion {
    --bs-accordion-border-radius: 0px;
}

#payment-message {
    display: none;
}

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

.mail-anchor:hover {
    text-decoration: underline;
}

.mail-png {
    width: 30px;
    height: 30px;
}

.bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer {
    background-color: #00306B;
}

.nes {
    background-color: black;
}

.nes a {
    color: white;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
}

.form-group label {
    flex: 1 1 100%;
    margin-bottom: 5px;
    font-weight: bold;
    color: #000000;
}

.form-group input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .form-group input {
        padding: 5px;
    }
}

.form-group input.full-width {
    flex: 1 1 100%;
}

@media (max-width: 768px) {
    .form-group input {
        flex: 1 1 100%;
        margin: 5px 0;
    }
}

.form-col {
    background-color: #f5f5f5dd;
    height: fit-content;
}

.btn-submit {
    background-color: #00306B;
    transition: ease-in-out .2s;
}

.btn-submit:hover {
    background-color: #002551;
    transition: ease-in-out .2s;
}

.progress-usdot-p {
    position: absolute;
    z-index: 100;
    font-size: large;
}

@media (min-width: 1500px) {
    .progress-usdot-p {
        font-size: xx-large;
    }
}

@media (max-width: 500px) {
    .progress-usdot-p {
        font-size: small;
    }
}

.obj {
    flex: 1 1 calc(50% - 10px);
    display: flex;
}

.fa-solid {
    color: #00306B;
    display: block;
    width: 30px;
}

.fa-solid::before {
    color: #00306B;
    display: block;
    width: 30px;
}

@media (max-width: 768px) {
    .form-group input {
        max-width: 90%;
    }
}

.img-svg {
    height: 100%; 
    width: 100%;
    object-fit: contain;
}

.img-svg svg {
    height: 100%; 
    width: 100%;
    object-fit: contain;
}

.input-container {
    position: relative;
    width: 100%;
}

.input-field {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1rem;
    outline: none;
}

.input-label {
    position: absolute;
    top: 40%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #aaa;
    transition: all 0.3s ease;
    pointer-events: none;
}

@media (max-width: 767px) {
    .input-label {
        top: 50%;
    }
}

.input-field:focus + .input-label,
.input-field:not(:placeholder-shown) + .input-label {
    top: -10px;
    font-size: 1rem;
    color: #777;
    opacity: 0.8;
}

@media (max-width: 767px) {
    .input-field:focus + .input-label,
    .input-field:not(:placeholder-shown) + .input-label {
        top: -4px;
    }
}

.input-field:focus {
    border-color: #007bff;
}

.fa-xmark {
    color: white !important;
}

.fa-xmark::before {
    color: white !important;
}

.confirmation-content {
    background-color: white;
}

.confirm-data {
    width: fit-content;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .custom-checkbox .form-check-input {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #4caf50;
    background-color: transparent;
    transition: background-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
    margin-bottom: 7px;
  }

  .custom-checkbox .form-check-input:checked {
    background-color: #4caf50;
    border-color: #4caf50;
    position: relative;
  }

  .custom-checkbox .form-check-input:checked::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 6px;
    width: 6px;
    height: 10px;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

  .custom-checkbox .form-check-input:hover {
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
  }

  .custom-checkbox .form-check-label {
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
  }

  .custom-checkbox .form-check-input:hover + .form-check-label {
    color: #4caf50;
  }

  .fa-spinner::before {
    width: auto !important;
    display: unset !important;
  }

.fa-circle-check::before {
    color: #4caf50;
}

.fa-spinner::before {
    color: initial;
}

.form-group input {
    max-width: 100%;
}

.no-break {
    white-space: nowrap;
}

.break-letters {
    word-break: break-all; 
    white-space: normal
}

.is-invalid {
    border: 1px solid red !important;
}

.fa-xmark {
    width:auto; 
    height:auto; 
    display:inline;
}

.notification {
    display: none;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid;
    border-radius: 5px;
}
.success {
    color: green;
    border-color: green;
}
.cancel {
    color: red;
    border-color: red;
}

@media (max-width:767px) {
    .logo {
        width:30px;
        height:30px;
    }

    .navbar-toggler-icon {
        width: 1em;
        height: 1em;
    }

    .btn-submit {
        margin: 0 !important;
        font-size: medium !important;
    }

    .fa-solid {
        font-size: 1.5em !important;
    }
}

.price {
    text-decoration: dotted;
    position: relative;
}

.price::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: 1px dashed #000; 
    height: 1px;
}

.standart-anchor {
    color: blue;
}

#pay-info {
    background-color:#00306B;
    color: white;
}

.ucrpay-logo-form {
    width: 120px;
}

.ucrpay-p-form {
    color: #00306B;
}

.quiz-form {
    border: 2px dashed #000;
}

.btn-form {
    color: #00306B;
    background-color: #ffffff83;
    border-radius: 0px;
}

.fs-small {
    font-size: small;
}

.underline-white {
    border-bottom: 1px solid #ffffff;
}

.underline-black {
    border-bottom: 1px solid #000000;
}

.quiz-cont {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
}

.quiz-question {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.quiz-option {
    margin-bottom: 10px;
}

.btn-continue, .btn-prev {
    background-color: #003366;
    color: #fff;
    border: none;
    border-radius: 0px;
    font-size: 1rem;
}

.btn-continue:hover, .btn-prev:hover {
    background-color: #002244;
    color: #fff;
}

.progress-bar {
    background-color: #003366;
    height: 20px;
    border-radius: 0;
}

.progress {
    border-radius: 0;
}

.result-message {
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: bold;
    display: none;
}

.form-check-input {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #003366;
    border-radius: 0;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.form-check-input:checked {
    background-color: #003366;
    border-color: #003366;
}

.form-check-input:focus {
    outline: none;
    box-shadow: none; 
}

.form-check-input[type=checkbox] {
    border-radius: 0;
}

h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.carrier-info, .year-option {
    background-color: #f8f8f8;
    padding: 20px;
    margin: 0;
    box-shadow: 6px 6px 4px rgba(0, 0, 0, 0.25);
    border-radius: 0;
}

.carrier-info p, .year-option-small p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.year-option-small h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.year-option-small .btn {
    background-color: #003366;
    color: #fff;
    font-size: 0.9rem;
    padding: 10px 15px;
    border: 1px solid #003366;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border-radius: 0;
}

.year-option-small .btn:hover {
    background-color: #002244;
    border-color: #002244;
}

@media (max-width: 768px) {
    .carrier-info, .year-option-small {
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .carrier-info p, .year-option-small p {
        font-size: 0.85rem;
    }

    .year-option-small h5 {
        font-size: 1rem;
    }
}

.year-pick-h5 {
    color:#00306B;
}

.year-option-small {
    background-color: #ffffff;
    padding: 20px;
    margin: 0;
    box-shadow: 6px 6px 4px rgba(0, 0, 0, 0.25);
    border-radius: 0;
}

.stage-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.stage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.stage-icon {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #999;
    transition: all 0.3s ease;
}

.stage-icon.completed {
    background-color: #003366;
    color: #fff;
    border-color: #003366;
}

.stage-icon.active {
    background-color: #003366;
    color: #fff;
    border-color: #003366;
    animation: pulse 1s infinite;
}

.stage-label {
    font-size: 0.85rem;
    margin-top: 8px;
    color: #666;
}

.stage-line-connector {
    margin: 0px 1px;
    height: 2px;
    width: 90px;
    background-color: #000000;
}

.stage-icon.active + .stage-line-connector {
    background-color: #003366;
}

@media (max-width: 768px) {
    .stage-line {
        flex-wrap: wrap;
    }

    .stage-line-connector {
        width: 45px;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 5px rgba(0, 51, 102, 0.8);
    }
    50% {
        box-shadow: 0 0 10px rgba(0, 51, 102, 0.6);
    }
    100% {
        box-shadow: 0 0 5px rgba(0, 51, 102, 0.8);
    }
}

.warning-banner {
    top: 0;
    left: 0;
    right: 0;
    background-color: #c82333;
    color: white;
    z-index: 1050;
    text-align: center;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.warning-banner button {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    margin-left: 10px;
    cursor: pointer;
}

.warning-banner button:hover {
    text-decoration: underline;
}

.warning-banner {
    background-color: #ec0000a9; /* Red color */
    color: white;
    z-index: 1050;
    text-align: center;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.warning-banner button {
    background: none;
    border: 1px solid #ffffff;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    margin-left: 15px;
    cursor: pointer;
}

.warning-banner button:hover {
    text-decoration: underline;
}

.w-fit {
    width: fit-content;
}