@font-face { font-family: 'black'; src: url('./fonts/ploni-black-aaa.woff2'); }
@font-face { font-family: 'ultrabold'; src: url('./fonts/ploni-ultrabold-aaa.woff2'); }
@font-face { font-family: 'bold'; src: url('./fonts/ploni-bold-aaa.woff2'); }
@font-face { font-family: 'demibold'; src: url('./fonts/ploni-demibold-aaa.woff2'); }
@font-face { font-family: 'medium'; src: url('./fonts/ploni-medium-aaa.woff2'); }
@font-face { font-family: 'regular'; src: url('./fonts/ploni-regular-aaa.woff2'); }
@font-face { font-family: 'light';  src: url('./fonts/ploni-light-aaa.woff2'); }
@font-face { font-family: 'ultralight';  src: url('./fonts/ploni-ultralight-aaa.woff2'); }
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    direction: rtl;
    font-family: 'regular', sans-serif;
    line-height: 1;
}
.header {
    width: 100%;
    background-image: url('./images/head-background.jpg');
    background-size: 100% 100%;
    aspect-ratio: 1920 / 611;
    position: relative;
}
.header-titles {
    position: absolute;
    top: 7vw;
    right: 23vw;
    text-align: center;
}
.header-title1 {
    font-size: 2.5vw;
    line-height: 0.85;
    color: #00abd2;
    font-family: 'medium';
}
.header-title2 {
    font-family: 'bold';
    font-size: 5vw;
    color: #123985;
    line-height: 0.7;
}
.form-container {
    width: 19vw;
    position: fixed;
    top: 7vw;
    background-color: #05454f;
    border-radius: 1.5vw;
    padding: 2vw;
    left: 3vw;
}
.form {
    display: flex;
    flex-direction: column;
    gap: 2vw;
}
.form-title {
    font-family: 'bold';
    color: white;
    font-size: 1.7vw;
    text-align: center;
    line-height: 0.9;
}
.input {
    font-family: "regular";
    color: #213d79;
    font-size: 1.1vw;
    padding: 0.3vw 0.7vw;
    border-radius: 0.3vw;
    border: none;
    direction: rtl;
    width: 100%;
}
.input::placeholder {
    color: #213d79;
}
.city-container {
    width: 100%;
    position: relative;
}
#city-dropdown{
    border: 1px solid #ccc;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    background: #fff;
    z-index: 1000;
    display: none;
}
.city-dropdown-item {
    cursor: pointer;
    padding: 0.3vw 0.7vw;
    font-family: 'regular';
    font-size: 1.1vw;
    color: #4F4F65;
    width: 100%;
}
.submit {
    align-self: center;
    padding: 0.3vw 1vw;
    border: none;
    border-radius: 0.3vw;
    font-family: "ultrabold";
    font-size: 1vw;
    color: #05454f;
    width: 100%;
}
.form-terms {
    font-size: 0.6vw;
    line-height: 1;
    color: white;
    text-align: right;
}
.form-terms a {
    color: white;
}

.content {
    width: 53vw;
    text-align: center;
}
.title1 {
    font-family: 'medium';
    font-size: 2.5vw;
    color: #123985;
    letter-spacing: -1px;
    padding: 2vw 0;
}
.title1 span {
    font-family: 'demibold';
}
.icons {
    display: flex;
    justify-content: center;
    gap: 4vw;
    width: 100%;
    padding: 1vw 0;
}
.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vw;
}
.icon img {
    height: 4vw;
}
.icon p {
    font-size: 1.3vw;
    font-family: 'demibold';
    letter-spacing: -1px;
    color: #213d79;
}
.title2 {
    font-size: 2.5vw;
    font-family: 'bold';
    color: #123985;
    letter-spacing: -1px;
    padding: 2vw 2vw 0;
}
.insurances {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.insurance {
    box-shadow: 0px 0px 4.5px rgba(18, 16, 12, 0.08);
    width: 49%;
    border-radius: 2vw;
    margin-top: 1vw;
    padding: 1vw 0.2vw;
    display: flex;
    flex-direction: column;
    gap: 0.7vw;
}
.insurance-title {
    color: #123985;
    font-size: 1.8vw;
    font-family: 'ultrabold';
}
.insurance-text {
    color: #123985;
    font-size: 1.3vw;
    line-height: 1.2;
    font-family: 'medium';
    letter-spacing: -1px;
}
.insurance-icons {
    display: flex;
    font-size: 1vw;
    line-height: 1;
    color: white;
    justify-content: space-around;
}
.insurance-icon {
    color: white;
    border-radius: 50%;
    aspect-ratio: 1;
    padding: 0.5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.8vw;
    flex: 0 0 24%;
    font-family: 'demibold';
    cursor: pointer;
}
.light {
    background: #16a0b9;
}
.dark {
    background: #00657d;
}
.terms {
    font-size: 0.9vw;
    text-align: right;
    padding: 2vw 1vw 0;
    color: #213d79;
    font-family: 'demibold';
}
.qna-container {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}
.qna[open] > .qna-title {
    background-color: #074650;
}
.qna-title {
    letter-spacing: -1px;
    background-color: #17a1ba;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 2.5vw;
    font-family: 'bold';
    padding: 0.7vw 0.9vw;
    cursor: pointer;
}
.qna-title-symbol:after {
    content: "+";
}
.qna[open] > .qna-title > .qna-title-symbol:after {
    content: "x";
}
.qna-desc {
    text-align: right;
    background-color: #00667d;
    padding: 0.7vw 0.9vw;
    color: white;
    font-size: 1.3vw;
    font-weight: 200;
    line-height: 1.3;
    letter-spacing: -1px;
    cursor: initial;
}
.terms2 {
    font-family: 'bold';
    font-size: 1.3vw;
    text-align: center;
    color: #123985;
    line-height: 1;
    padding: 2vw 0;
}
.floating-bar {
    display: flex;
    width: 100%;
    position: sticky;
    background: #00667d;
    padding: 4vw 0vw;
    color: white;
    font-family: 'demibold';
    bottom: 0;
    font-size: 5vw;
    justify-content: center;
}
.arrow {
    position: fixed;
    bottom: 3vw;
    right: 17vw;
    width: 5vw;
    height: 5vw;
    animation: changeColor 2s infinite;
    cursor: pointer;
}
.popups {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000000a1;
    justify-content: center;
    align-items: center;
    display: none;
}
.popup {
    background: white;
    width: 50%;
    display: flex;
    flex-direction: column;
}
.popup-title {
    background: #17a1ba;
    color: white;
    font-size: 3vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5vw 1vw;
    line-height: 1;
}
.popup-close {
    background: none;
    border: none;
    cursor: pointer;   
}
.popup-title img {
    height: 3vw;
    width: 3vw;
}
.popup-desc {
    font-size: 1.2vw;
    padding: 1vw 1vw;
    color: #00667d;
    line-height: 1.3;
}
@keyframes changeColor {
  0% {
    fill: #95d600;
    stroke: #95d600;
    stroke-width: 1vw;
  }
  50% {
    fill: #29d1de;
    stroke: #29d1de;
    stroke-width: 1vw;
  }
  100% {
    fill: #95d600;
    stroke: #95d600;
    stroke-width: 1vw;
  }
}
.thanks {
    color: white;
    text-align: center;
    font-size: 2vw;
}
.errDiv { color: tomato; }
.error {  outline: 1px solid tomato !important;}
.error::placeholder {  color: tomato !important; }
.mobile { display: none }
.desktop { display: flex }
@media (max-width: 768px) {
    .header {
        background-image: url('./images/head-mobile.jpg');
        aspect-ratio: 640 / 533;
    }
    .header-titles {
        top: 20vw;
        right: 3vw;
    }
    .header-title1 {
        font-size: 6.1vw;   
    }
    .header-title2 {
        font-size: 10vw;
    }
    .content {
        width: 100%;
        padding: 4vw;
    }
    .form-container {
        position: static;
        width: 100%;
        border-radius: 5vw;
    }
    .form {
        padding: 5vw;
        gap: 6vw;
    }
    .form-title {
        font-size: 8vw;
    }
    .input {
        font-size: 5vw;
        border-radius: 2vw;
        padding: 1vw 3vw;
    }
     #city-dropdown {
        font-size: 4vw;        
        max-height: 50vw;       
    }
    .city-dropdown-item {
        font-size: 4vw;         
        padding: 2vw 3vw;      
    }
    .submit {
        font-size: 5vw;
        border-radius: 2vw;
        padding: 1vw 4vw;
    }
    .form-terms {
        font-size: 2.5vw;
        line-height: 1;
    }
    .title1 {
        font-size: 7.3vw;
        padding: 5vw 0;
    }
    .icons {
        flex-wrap: wrap;
        padding: 5vw 0;
    }
    .icon {
        flex: 0 0 45%;
        gap: 3vw;
    }
    .icon img {
        height: 15vw;
    }
    .icon p {
        font-size: 4vw;
    }
    .title2 {
        display: none;
    }
    .insurances {
        flex-direction: column;
    }
    .insurance {
        width: 100%;
        gap: 2vw;
        padding: 5vw 2vw;
    }
    .insurance-title {
        font-size: 7vw;
    }
    .insurance-text {
        font-size: 4.5vw;
    }
    .insurance-icon {
        font-size: 2.8vw;
        padding: 2vw;
    }
    .terms {
        font-size: 3vw;
        padding: 3vw;
    }
    .qna-title {
        font-size: 5.4vw;
        padding: 1vw 2vw;
    }
    .qna-desc {
        font-size: 4.2vw;
        padding: 1vw 2vw;
    }
    .terms2 {
        font-size: 3vw;
        padding: 3vw 0;
    }
    .arrow {
        display: none !important;
    }
    .popup {
        width: 95%;
    }
    .popup-title {
        font-size: 7vw;
        padding: 2vw;
    }
    .popup-title img {
        width: 6vw;
        height: 6vw;
    }
    .popup-desc {
        padding: 2vw;
        font-size: 4.5vw;
    }
    .thanks {
        font-size: 6vw;
    }
    .mobile { display: flex }
    .desktop { display: none }
}