body {
    font-family: Arial, sans-serif;
    margin: 0px;
    padding: 0;
    justify-content: center;
    align-items: center;
    height: auto;
    background-color: #fff;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 140%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}


.arrow {
    transition: transform 0.3s ease;
    transform-origin: center;
}

/* Стрілка перевертається ТІЛЬКИ коли видно меню */
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: black;
    background-color: white;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}
.right-side {
    width:35%;
    border-radius: 10px;
    padding: 20px;
    color: white;
    font-size: 34px;
    text-align: center;
    background-color: rgba(45, 36, 36, 0.7);
}
.header{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
/* Модальне вікно */
#modal {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 940px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}
.header-menu {
    display: flex;
    gap: 15px;
    align-items: center;
}
.insurance-block {
    margin-top:0px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 600px;
    background-image: url("img.webp");
    background-size: cover; /* Розтягнути картинку на всю ширину */
    background-position: center; /* Розташувати по центру */
    background-repeat: no-repeat;
    padding: 30px;
    border-radius: 0px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}
.header-menu a {
    font-weight: 500;
    text-decoration: none;
    color: #000000;
    padding: 10px 10px;
    border-radius: 5px;
    transition: color 0.3s, border 0.3s;
    font-size: 17px;
}
.quotes {
    text-decoration: none;
    padding: 15px 25px;
    background-color: #28a745;
    color: white;
    margin-left: 50px;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.quotes:hover {
    background-color: #048620;
}
.header-menu a:hover {
    color: #28a745; /* Зелений колір при наведенні */
}

.header-menu a.active {
    border-bottom: 2px solid #28a745;
    color: #28a745;
    border-radius: 0px;
}
#loader-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    text-align: center;
}

.modal-contentloader {
    display: inline-block;
    margin: 15% auto;
    padding: 20px;
    border-radius: 5px;
}

#loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    display: flex;
    text-align: center;
    width: 100%;
    padding: 0px 0px 80px 0px;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}
.logo {
    width: 30%;
    margin:10px 0px 5px 0px;
}

.brands-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.brand {
    border: 2px solid #0d9d32;;
    padding: 10px;
    margin: 10px;
    width: 900px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#error-messagecheck{
    margin-top: 10px;
    font-size: 14px;
    color: red;
}
.hiddencheck{
    display: none;
}
.consent-container{
    width: 100%;
}
.brand-logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}
/* Затемнення */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#overlay.hidden {
    display: none;
}
.companyblock{
    width: 50%;
    justify-items: left;
}
.companyimg{
    width: 20%;
}
.companycheckbox{
    width: 20%;
}
.submit-button{
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.visit-website-button{
    display: block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.submit-button:hover {
    background-color: #0056b3;
}

/* Модальне вікно */
#modal {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 940px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.brand-logo {
    max-width: 100px;
    margin-bottom: 10px;
}
#modal-content{
    display: flex;
    flex-wrap: wrap;

}
.text-block{
    font-size: 12px;
    text-align: left;
    padding: 20px 0;
    margin-top: 0px;
}
.left-side {
   
    width:70%;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.open-button-form button {
    padding: 20px 30px;
    border: none;
    border-radius: 5px;
    background-color: #28a745;
    color: #fff;
    font-size: 21px;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}
.open-button-form {
    padding: 20px 30px;
    border: none;
    border-radius: 5px;
    background-color: #28a745;
    color: #fff;
    font-size: 21px;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}


button:active {
    transform: scale(0.95);
}
.consent-container label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
}
.text-block h2 {
    color: white;
    font-size: 72px;
    margin-bottom: 10px;
}

.text-block p {
    font-size: 21px;
    color: white;
    width: 70%;
}
#error-message {
    margin-top: 10px;
    font-size: 14px;
}
.image-car{
    width: 20%;
}
.double{
    display: flex;
    border-radius: 20px;
    flex-direction: column;
    background-image: url(https://www.insurquote.io/v2/img/domain/insurquote-io/homepage/banner.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    align-content: flex-start;
    justify-content: center;
}
.one{
    width: 89%;

    padding: 20px;
}
.two{
    padding:20px;
}
.image-car{
    width: 100%;
}

.consent-container input[type="checkbox"] {
    margin-right: 10px;
}

.spinner {
    border: 12px solid #f3f3f3; /* світлий фон */
    border-top: 12px solid #3498db; /* синій верхній кольор */
    border-radius: 50%;
    width: 80px; /* збільшити діаметр */
    height: 80px; /* збільшити діаметр */
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.privacy-text{
    width: 800px;
    margin: 50px 0px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container {
    text-align: center;
    width: 100%;
    padding: 0px 0px 80px 0px;
}

.text-block{
    font-size: 12px;
    text-align: left;
    padding: 20px 0;
    margin-top: 0px;
}


.sms-checkbox{
    display: flex;
}
.text-checkbox{
    margin: 0px 10px;
}

.progress-bar-container {
    width: 100%;
    margin: 10px auto;
    text-align: center;
    font-family: Arial, sans-serif;
    position: relative;
}

/* Круг для відсотків */
.progress-circle {
    /* width: 100%; */
    height: 0px;
    /* border: 4px solid #4caf50; */
    margin: 0 auto 0px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    /* overflow: hidden; */
    z-index: 1;;
    align-items: center;
    justify-content: center;
    background: white;
    /* overflow: hidden; */
    z-index: 1;

}
.progress-text-complete{
    font-size: 12px;
}
.progress-hr {
    display: none;
    position: absolute;
    top: 40%; /* Розташовуємо лінію посередині круга */
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: #e0e0e0; /* Сірий колір фону лінії */
    border: none;
    z-index: 1; /* Щоб лінія була під кругом */
}
/* Зелений сегмент круга */
.progress-overlay {
    position: absolute;
    left: 0;
    /* width: 100%; */
    /* height: 100%; */
    /* background: conic-gradient(#67ab6a96 0%, #67ab6a96 0% var(--progress, 0%), #ffffff var(--progress, 0%)); */
    /* border-radius: 50%; */
    z-index: 1;
}

/* Текст у крузі */
.progress-text {
    font-size: 22px;
    color: #339237;
    font-weight: bold;
    z-index: 2;
}

/* Прогрес-бар */
.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

/* Заповнення прогрес-бару */
.progress-fill {
    height: 100%;
    background-color: #4caf50;
    transition: width 0.3s ease-in-out;
    border-radius: 4px 0 0 4px;
}

h1 {
    color: #0f417a;
    margin-bottom: 20px;
}
.zip-code {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0px;
    flex-direction: column;
}
.zip-code-block{
    display: flex;
    flex-direction: column;

}
.zip-code input {
    width: 360px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}
input {
    width: 220px;
    margin: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}
.birth-year-input{
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}

.last-input{
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}
.zip-code button {
    padding: 10px 20px;
    border: none;
    background-color: #0073e6;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}
.zip-code button:hover {
    background-color: #005bb5;
}
.footer {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
}
.footer p {
    font-size: 12px;
    color: #666;
}
.footer a {
    color: #0073e6;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

.answer-btn , button{
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    background-color: #0073e6;
    color: #fff;
    font-size: 16px;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}
.answer-btn-mounts{
    padding: 12px 25px;
    border: none;
    width: 30%;
    border-radius: 5px;
    background-color: #0073e6;
    color: #fff;
    font-size: 16px;
    margin: 10px 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}.answer-btn-auto {
     padding: 10px 25px;
     border: none;
     width: 46%;
     border-radius: 5px;
     background-color: #0073e6;
     color: #fff;
     font-size: 16px;
     margin: 5px;
     cursor: pointer;
     transition: background-color 0.3s, transform 0.3s;
 }.answer-btn-company {
      padding: 8px 25px;
      border: none;
      width: 47%;
      border-radius: 5px;
      background-color: #0073e6;
      color: #fff;
      font-size: 16px;
      margin: 5px;
      cursor: pointer;
      transition: background-color 0.3s, transform 0.3s;
  }.answer-btn-day {
       width: 14%;
       padding: 10px 10px;
       border: none;
       border-radius: 5px;
       background-color: #0073e6;
       color: #fff;
       font-size: 16px;
       margin: 5px;
       cursor: pointer;
       transition: background-color 0.3s, transform 0.3s;
   }

.get-quotes-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    background-color: #0073e6;
    color: #fff;
    font-size: 16px;
    margin: 25px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}
.get-quotes-btn:hover {
    background-color: #005bb5;
    transform: scale(1.05);
}
.answer-btn:hover {
    background-color: #005bb5;
    transform: scale(1.05);
}

.answer-btn:active {
    transform: scale(0.95);
}
.personal-info{
    width: 100%;
    margin: 0px 0px 0px 0px;
}
.vehicle-year-options, .vehicle-make-options, .previous-insurance-options, .birth-month-question, .birth-day-question, .vehicle-model-options{
    width: 100%;
    max-height: 315px;
    overflow-y: auto;
}
.selected {
    background-color: green;
    color: white;
}
.question-group{
    display: table-row;
}
.question-group{
    display: flex;
    align-items: center;
}
.blocklabel{
    margin: 0 20px;
    text-align: left;
}
.blocklabel label{
    font-size:22px;
}

.zip-image{
    max-width:340px;
}
.answers,.commute-options,.second-vehicle-options{
    margin: 40px 0px 0px 0px;
}
.text-block-button {
    padding-right: 50px;
}

.button-block {
    position: sticky;
    top: 20px; /* Відступ від верхньої частини вікна при прокрутці */
    align-self: flex-start; /* Вирівнювання кнопки по початку тексту */
    width:65%;
    box-shadow: 0 4px 40px 0 #e8e8e8;
    border-radius: 1rem;
    padding: 20px;
}
.blockcontainer {
    display: flex;
    padding: 20px;
    max-width: 1200px;
    justify-self: center;
}
.get-quote{
    text-decoration: none;
    width: 100%;
    padding: 12px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.get-quote2{
    text-decoration: none;
    width: 35%;
    padding: 12px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.user-details label{
    width: 30%;
    margin-top: 20px;
    float: left;
}
.logo img{
    width: 300px;
}
.iconhead{
    display: none;
}
.input-error {
    border: 2px solid red !important;
}
/* Стиль для повідомлення про помилку */
#error-message, #birth-year-error{
    margin-top: 5px;
    font-size: 16px;
    color: red;
}
.error-message{
    margin-top: 5px;
    font-size: 16px;
    color: red;
}
.myLinks-head{
    display: none;
}

@media (min-width: 924px) and (max-width: 1224px) {
    .header-menu a {
        font-size:18px;
    }

    .personal-info{
        width: 100%;
        margin: 0;
    }

}
@media screen and (min-device-width: 1225px) and (max-device-width: 1400px) {
    .header-menu a {
        font-size: 17px;
    }


    .personal-info{
        width: 100%;
        margin: 0;
    }
}
@media (max-width: 1024px) {
    .header-menu a {
        display: none;
    }
    .scale-labels{
        display: none!important;
    }
    .form-modal{
        position-area: none!important;
        width: 96%!important;
        left: 2%!important;
    }
    .text-block h2 {
        font-size: 38px;
    }
    .logo #myLinks {
        display: none;
        background: #28a745;
        position: absolute;
        width: 100%;
        z-index: 1;
    }
    .quotes {
        display: none;
    }
    .header{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .zip-code-block {
        padding: 0 0px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .zip-code input {
        margin-right: 0;
        width: auto;
        font-size: 16px;
    }

    .myLinks-head {
        display: none;
    }

    .src-link {
        color: white !important;
        font-size: 16px !important;
    }

    .logo img {
        width: 150px;
    }

    .zip-image {
        width: 100%;
    }

    body{
        margin: 0px 0px 20px 0px;
    }

    .container {
        padding: 5px 0px 50px 0px;
    }

    .vehicle-year-options, .vehicle-make-options, .vehicle-model-options, .previous-insurance-options, .personal-info, .birth-month-question, .birth-day-question, .birth-year-question, .birth-year-question, .user-details {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .blocklabel {
        width: 100%;
        text-align: center;
    }

    .question-group {
        display: flex;
        margin-bottom: 20px;
        flex-direction: column;
    }

    .birth-year-input {
        padding: 10px;
    }

    .last-input {
        width: 99% !important;
        padding: 10px 0px 10px 10px;
    }

    .logo {
        width: 70%;
        margin: 0px;
    }
    .insurance-block {
        display: flex;
        height: auto;
        flex-direction: column;
    }

    .right-side {
        width: 100%;
        margin-top: 20px;
        background-color: rgb(45 36 36 / 55%);
    }

    .left-side {
        width: 100%;
        background-color: #00000080;

    }
    .text-block p {
        font-size: 21px;
        color: white;
        width: 100%;
    }

        .answers, .commute-options, .second-vehicle-options {
        margin: 0px 0px 0px 0px;
    }

    .answer-btn-miles {
        padding: 12px 10px;
        border: none;
        border-radius: 5px;
        background-color: #0073e6;
        color: #fff;
        font-size: 16px;
        margin: 5px;
        cursor: pointer;
        transition: background-color 0.3s, transform 0.3s;
    }

    .answer-btn-mounts {
        padding: 11px 0px;
        margin: 10px 5px;
        width: 29%;
    }

    .answer-btn-company {
        width: 45%;
    }

    .birth-year-input {
        font-size: 16px;
    }

    input {
        width: 53%;
        font-size: 16px;
    }

    .user-details label {
        margin-top: 12px;
    }

    .answer-btn, button {
        padding: 12px 24px;
    }

    .blockcontainer {
        display: flex;
        padding: 20px;
        flex-direction: column;
    }

    .button-block {
        width: 85%;
    }

    h1 {
        font-size: 24px;
    }

    .text-block-button {
        padding-right: 0px;
    }

    .get-quote2 {
        width: 100%;
    }
    

    .logo a {
        color: #28a745;
        padding: 10px 20px;
        text-decoration: none;
        font-size: 26px;
        display: flex;
    }

    .logo a.iconhead {
        background: white;
        display: block;
        position: absolute;
        right: 15px;
        top: 15px;
    }

    .logo a.iconhead:hover {

        background-color: #28a745;
        color: white;
    }

    .active {
        background-color:#28a745;
        color: white;
    }
    .iconhead{
        width: 20px;
    }
    .src-link{
        color: white!important;
        font-size: 16px!important;
    }

    .active {
        background-color:#28a745;
        color: white;
    }
    .iconhead{
        width: 20px;
    }
}