/* @font-face {
  font-family: 'Days One Regular';
  src: url('../fonts/DaysOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham Pro';
  src: url('../fonts/GOTHAMPRO-MEDIUM.TTF') format('truetype');
  font-weight: 400;
  font-style: normal;
} */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');
    
/* Header and Footer */

.highlight { 
    color: #d60000; 
    font-weight: bold;
}

h2, h3, h4 {
    font-weight: 800 !important;
}

p, span, label, a, li {
    font-weight: 600 !important;
}

body {
    margin: 0;
}

header {
    padding: 18px 0;
    /* box-shadow: 0 5px 10px 2px rgba(34, 60, 80, 0.2); */
    box-shadow: 0 4px 30px 0 #00000040;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    width: 58px;
    height: auto;
}

.header-tel {
    background-color: #2656A0;
    /* font-family: "Days One Regular", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    transition-duration: 300ms;
    border-radius: 20px 20px 20px 20px;
    padding: 9px 27px 9px 27px;
    color: #fff;
    text-decoration: none;
}

.header-tel:hover {
    background-color: #5A8ADE;
}

/* header lang */
.header-right {
    display: flex;
    align-items: center;
    gap: 0 32px;
}

.header-lang {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.header-lang a {
    color: #0056C7;
    text-decoration: none;
}

.lang-btn {
    display: flex;
    align-items: center;
    padding: 8px 21px;
    border: 1px solid #2656A0;
    border-radius: 20px;
    font-size: 18px;
    /* font-family: "Days One Regular", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #0056C7;
    background: white;
    transition: background 0.3s;
    user-select: none;
}

.lang-btn img {
    width: 25px;
    height: auto;
    margin-right: 6px;
}

.lang-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: white;
    padding: 8px 21px;
    border: 1px solid #2656A0;
    border-radius: 20px;
    font-size: 18px;
    /* font-family: "Days One Regular", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #0056C7;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 10;
}

.lang-dropdown img {
    width: 25px;
    height: auto;
    margin-right: 6px;
}

.header-lang:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer {
    background: #fff;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 4px 30px 0 #00000040;
}

.footer-top {
    padding: 100px 0 58px;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #2656A0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 20px;
}

.footer-top > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px 0;
}

.footer-top h4 {
    /* font-family: "Days One Regular", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 400;
    color: #2656A0;
    margin: 0;
    text-align: center;
}

.footer-icon-block {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 12px;
}

.footer-icon-block svg {
    width: 50px;
    height: auto;
}

.footer-icon-block svg path {
    fill: #2656A0;
    stroke-width: 3px;
}

.footer-icon-block a, .footer-icon-block p {
    /* font-family: "Days One Regular", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 36px;
    color: #2656A0;
    text-decoration: none;
    margin: 0;
}

.footer-socials-block {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 25px;
}

.footer-socials-block a {
    background: #fff;
    /* border-radius: 100%; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 42px;
    height: 42px; */
    transition: 200ms linear;
}

/* .footer-socials-block a:hover {
    background: #6091D2;
} */

.footer-socials-block svg {
    width: auto;
    /* height: 21px; */
    height: 42px;
    fill: #004299;
}

.footer-bottom {
    padding: 59px 0 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px 0;
}

.footer-bottom p {
    font-size: 14px;
    font-weight: 400;
    /* font-family: 'Gotham Pro', sans-serif; */
    font-family: 'Montserrat', sans-serif;
    line-height: 18px;
    color: #2656A0;
    margin: 0;
}

/* Agreement Section */
.agreement-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 55px 0;
}

.agreement-section h2 {
    font-size: 38px;
    font-weight: 400;
    /* font-family: "Days One Regular", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 14px;
    color: #2656A0;
    text-align: center;
}

.agreement { 
    background: #f9f9f9;
    padding: 20px;
    max-width: 80%;
    margin-top: 30px;
    border-left: 4px solid #2656A0;
    border-radius: 6px;
    line-height: 1.6;
    max-height: 500px;
    overflow-y: scroll;
}

.agreement table:nth-last-of-type(1) {
    width: 100%;
}

.agreement table:nth-last-of-type(1) tr > td:nth-last-of-type(1) {
    float: right;
}

.agreement h2, .agreement h3 { 
    margin-top: 0; 
    color: #2656A0; 
}

.agreement ul { 
    padding-left: 20px;
}

.btn {
    width: fit-content;
    padding: 25px 35px;
    cursor: pointer;
    background: linear-gradient(180deg, #004799 20%, #2656A0 100%);
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    /* font-family: "Days One Regular", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    border-radius: 15px;
    transition: all 300ms ease;
    border: 0;
    text-decoration: none;
    margin-top: 30px;
}

.btn:hover {
    background: linear-gradient(180deg, #2656A0 0%, #004799 80%);
}

.success {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px 0;
}

.success h2 {
    margin: 0;
    font-size: 25px;
    font-weight: 400;
    /* font-family: "Days One Regular", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.success p {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    /* font-family: 'Gotham Pro', sans-serif; */
    font-family: 'Montserrat', sans-serif;
    background: #a0cfa0;
    color: white;
    padding: 20px 35px;
    border-radius: 15px;
}

.success a {
    margin-top: 0;
}

.error {
    width: fit-content;
}

.error p {
    margin: 100px auto;
    font-size: 20px;
    font-weight: 400;
    /* font-family: 'Gotham Pro', sans-serif; */
    font-family: 'Montserrat', sans-serif;
    background: #ff6464;
    color: white;
    padding: 20px 35px;
    border-radius: 15px;
    text-align: center;
}

/* Record */
.record h2 {
    font-size: 38px;
    font-weight: 400;
    /* font-family: "Days One Regular", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 14px;
    color: #2656A0;
}

.record main {
    display: flex;
    flex-direction: column;
    gap: 30px 0;
    align-items: center;
    padding: 0 0 55px;
}

.error-message {
    width: 60%;
    margin: 20px auto 80px;
    font-size: 20px;
    font-weight: 400;
    /* font-family: 'Gotham Pro', sans-serif; */
    font-family: 'Montserrat', sans-serif;
    background: #ff6464;
    color: white;
    padding: 20px 35px;
    border-radius: 15px;
    text-align: center;
}

/* Banner Section */

.banner {
    width: 100%;
    background-image: url('../img/banner-background.png');
    background-position: center;
    background-size: cover;
    box-shadow: 0 5px 30px rgba(0, 22, 84, 0.1);
    -webkit-box-shadow: 0 5px 30px rgba(0, 22, 84, 0.1);
}

.banner.policy-banner {
    background-image: url('../img/banner-background2.png');
}

.banner.about-banner {
    background-image: url('../img/background-about.jpg');
}

.banner .container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.banner h1 {
    font-size: 36px;
    font-weight: 600;
    /* font-family: "Days One Regular", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    color: white;
}

/* Container Styles */
.container {
    width: 100%;
    max-width: 1536px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

/* Modal */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 40vw;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 30px 0 #00000040;
    display: flex;
    flex-direction: column;
    gap: 25px 0;
    padding: 25px 35px;
    align-items: flex-end;
}

.modal-content form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px 0;
}

.modal-content .close-btn {
    cursor: pointer;
}

.modal-content form input {
    padding: 28px 39px;
    font-size: 20px;
    font-weight: 400;
    /* font-family: "Days One Regular", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    color: #000;
    border: 3px solid #0000003B;
    border-radius: 20px;
    width: 100%;
    box-sizing: border-box;
}

#myidForm > button {
    margin-top: 15px;
}

#myidForm input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #007bff; /* Р¦РІРµС‚ РіР°Р»РѕС‡РєРё */
    vertical-align: middle;
    margin-right: 8px;
    cursor: pointer;
}

#myidForm label {
    /* font-family: "Days One Regular", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}

#submitButton:disabled {
    background: #cccccc !important;
    cursor: not-allowed;
    color: #666;
}

.formTerm {
    margin: 10px 0;
}

/** Policy Main */

.policy-main .policy {
    padding: 55px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.policy-main .policy > h2 {
    font-size: 38px;
    font-weight: 400;
    /* font-family: "Days One Regular", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 14px;
    color: #2656A0;
    text-align: center;
}

.policy-main .policy > div {
    background: #f9f9f9;
    padding: 20px;
    max-width: 80%;
    margin-top: 30px;
    border-left: 4px solid #2656A0;
    border-radius: 6px;
    line-height: 1.6;
    max-height: 500px;
    overflow-y: scroll;
}

/** About Section */

.about-section {
    padding: 100px 0;
}

.about-text {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 40px 0;
    text-align: center;
}

.about-text p {
    font-size: 26px;
    font-weight: 500!important;
    font-family: 'Montserrat', sans-serif;
    color: #2656A0;
    margin: 0;
}

@media (max-width: 1536px) {
    .container {
        max-width: 1280px;
    }
}

@media (max-width: 1280px) {
    .container {
        max-width: 1024px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 768px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 640px;
    }
}

@media (max-width: 640px) {
    .container {
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Mobile Adaptation */

@media screen and (max-width: 1280px) {
    .modal-content form input {
        padding: 20px 25px;
        font-size: 16px;
    }

    .about-text p {
        font-size: 20px;
    }
}

@media screen and (max-width:1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px 0;
    }

    .footer-top > div {
        gap: 15px 0;
    }

    .footer-top h4 {
        font-size: 24px;
    }

    .footer-icon-block svg {
        width: 45px;
    }

    .footer-icon-block a, .footer-icon-block p {
        font-size: 18px;
    }

    .error p {
        margin: 20px auto 30px;
    }

    .btn {
        padding: 15px 25px;
        font-size: 18px;
    }

    .error-message {
        margin: 20px auto 30px;
    }

    .modal-content form input {
        padding: 12px 20px;
        font-size: 12px;
    }

    .close-btn svg {
        width: 15px;
        height: auto;
    }

    .banner h1 {
        font-size: 30px;
    }
}

@media screen and (max-width:768px) {
    .about-section {
        padding: 55px 0;
    }
}

@media screen and (max-width:540px) {
    .header-logo {
        width: 40px;
    }

    .header-tel {
        font-size: 14px;
    }

    header {
        padding: 12px 0;
    }

    .footer-top {
        padding: 35px 0 38px;
        gap: 30px 0;
    }

    .footer-top h4 {
        font-size: 22px;
    }

    .footer-icon-block svg {
        width: 35px;
    }

    .footer-icon-block a, .footer-icon-block p {
        font-size: 14px;
        line-height: normal;
    }

    .footer-socials-block svg {
        height: 15px;
    }

    .footer-socials-block a {
        width: 32px;
        height: 32px;
    }

    .footer-bottom {
        padding: 39px 0 28px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .agreement-section h2 {
        font-size: 25px;
    }

    .error p {
        font-size: 16px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .agreement h2, .agreement h3 {
        font-size: 18px;
    }

    .success {
        width: 100%;
    }

    .success p {
        font-size: 14px;
    }

    .success h2 {
        font-size: 20px;
    }

    .record h2 {
        font-size: 25px;
    }

    .error-message {
        margin: 0 auto;
        width: 80%;
        font-size: 16px;
        padding: 10px 25px;
    }

    .modal-content {
        width: 80vw;
    }

    .formTerm {
        margin: 0;
    }

    .policy-main .policy > h2 {
        font-size: 25px;
    }

    .policy-main .policy h2, .policy-main .policy h3 {
        font-size: 18px;
    }

    .about-section {
        padding: 55px 12px;
    }

    .about-text p  {
        font-size: 16px;
    }
}

@media screen and (max-width:440px) {
    .footer-icon-block a, .footer-icon-block p {
        font-size: 12px;
    }

    .footer-icon-block svg {
        width: 30px;
    }

    .footer-icon-block {
        gap: 0 5px;
    }

    /*  */

    .lang-btn img, .lang-dropdown img {
        width: 18px;
    }

    .header-right {
        gap: 0 10px;
    }

    .lang-btn, .lang-dropdown {
        font-size: 14px;
        padding: 6px 12px;
    }

    .header-tel {
        font-size: 12px;
    }
}

/* Burger Menu */

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 45px;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    color: #2656A0;
    text-decoration: none;
    font-weight: 600!important;
    font-size: 18px;
    /* font-family: 'Gotham Pro', sans-serif; */
    font-family: 'Montserrat', sans-serif;
    transition: all 300ms ease;
}

.nav-list li a:hover {
    color: #5A8ADE;
}

.burger-icon {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 9999;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.mobile-menu.show {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
}

.close-btn {
    font-size: 40px;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    padding: 30px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px 0;
}

.mobile-nav-list li {
    text-align: center;
}

.mobile-nav-list li a {
    color: #2656A0;
    text-decoration: none;
    font-weight: 400!important;
    font-size: 22px;
    /* font-family: 'Gotham Pro', sans-serif; */
    font-family: 'Montserrat', sans-serif;
    transition: all 300ms ease;
}

.mobile-nav-list li a:hover {
    color: #5A8ADE ;
}

.mobile-tel {
    margin-top: 20px;
    background-color: #2656A0;
    /* font-family: "Days One Regular", sans-serif; */
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400!important;
    transition-duration: 300ms;
    border-radius: 20px 20px 20px 20px;
    padding: 9px 27px 9px 27px;
    color: #fff;
    text-decoration: none;
    text-align: center;
}

@media screen and (max-width:1280px) {
    .nav-list {
        gap: 25px;
    }

    .nav-list li a {
        font-size: 16px;
    }
}

@media screen and (max-width:1024px) {
    .nav-list, .header-tel {
        display: none;
    }

    .burger-icon {
        display: block;
        margin-left: auto;
    }
}

@media screen and (max-width:540px) {
    .header-logo {
        width: 40px;
    }

    .header-tel {
        font-size: 14px;
    }

    .banner h1 {
        font-size: 22px;
    }
}

@media screen and (max-width:440px) {
    .lang-btn img, .lang-dropdown img {
        width: 18px;
    }

    .header-right {
        gap: 0 10px;
    }

    .lang-btn, .lang-dropdown {
        font-size: 14px;
        padding: 6px 12px;
    }

    .header-tel {
        font-size: 12px;
    }
}