/* --- LANG SWITCHER --- */
.lang-selector {
    position: relative;
    margin-left: auto;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid rgba(27, 63, 110, 0.18);
    border-radius: 8px;
    padding: 7px 12px 7px 10px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    transition: border-color .2s, background .2s;
    white-space: nowrap;
}

.lang-current:hover {
    border-color: var(--orange);
    background: #f5f8ff;
}

.lang-current img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}

.lang-chevron {
    width: 10px;
    height: 10px;
    color: var(--navy);
    opacity: .5;
    transition: transform .25s ease;
    flex-shrink: 0;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(9, 67, 106, .14), 0 1px 4px rgba(0, 0, 0, .06);
    border-top: 3px solid var(--orange);
    padding: 6px 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    pointer-events: none;
}

.lang-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-selector.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    transition: background .15s, color .15s;
    position: relative;
}

.lang-dropdown li a:hover {
    background: #f5f8ff;
    color: var(--orange);
}

.lang-dropdown li.active a {
    color: var(--orange);
    font-weight: 700;
    background: rgba(244, 121, 32, 0.06);
}

.lang-dropdown span {
    white-space: nowrap;
}

.lang-dropdown li a img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
    flex-shrink: 0;
}

.lang-check {
    width: 12px;
    height: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

/* --- MENU --- */
.mega-dropdown {
    position: relative;
}

.mega-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 20px;
    width: 950px;
    max-width: calc(100vw - 30px);
    z-index: 9999;
}

.mega-inner {
    background: #ffffff;
    padding: 25px;
    border-radius: 0 4px 4px 4px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--orange);
    overflow-x: hidden;
}

.mega-row {
    display: flex;
    margin: 0 -15px;
}

.mega-col {
    flex: 1;
    padding: 0 15px;
    border-right: 1px solid #f0f0f0;
}

.mega-col:last-child {
    border-right: none;
}

.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-list li a {
    display: block;
    padding: 8px 15px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.mega-list li a:hover {
    background: #f8f9fa;
    border-radius: 40px;
    color: var(--orange) !important;
    transform: translateX(5px);
}

.mega-dropdown:hover .mega-content {
    display: block;
}

.ul_menu {
    left: 0 !important;
    width: 100% !important;
}

/* --- LOGO MARQUEE --- */
.logo-marquee {
    margin-top: 45px;
    overflow: hidden;
}

.logo-row {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee-left 75s linear infinite;
    margin-bottom: 6px;
}

.logo-row.reverse {
    animation-name: marquee-right;
}

.logo-item {
    flex: 0 0 auto;
    width: 162px;
    height: 78px;
    margin-right: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.logo-item img {
    max-width: 162px;
    max-height: 162px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
    transition: opacity .2s ease;
}

.logo-item img:hover {
    opacity: 1;
}

.logo-row:hover {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .logo-row {
        animation-duration: 35s;
    }

    .logo-row.reverse {
        animation-duration: 35s;
    }
}

@media (max-width: 480px) {
    .logo-row {
        animation-duration: 10s;
    }

    .logo-row.reverse {
        animation-duration: 10s;
    }
}

@keyframes marquee-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

/* --- NEWSLETTER MODAL --- */
.newsletter {
    padding-right: 0 !important;
}

.newsletter .modal-dialog {
    margin: 4vh auto;
    max-width: calc(100vw - 32px);
    width: 460px;
}

.newsletter .modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(9, 67, 106, 0.25);
}

.newsletter .modal-header {
    background: linear-gradient(135deg, #0D2F5C 0%, #1A4480 60%, #1B4F96 100%);
    border: none;
    padding: 15px 28px;
}

.newsletter .modal-header .close {
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
    text-shadow: none;
    font-weight: 300;
    font-size: 24px;
    margin-top: -2px;
    transition: color 0.15s;
}

.newsletter .modal-header .close:hover {
    color: #fff;
}

.newsletter .modal-title {
    color: #fff;
    font-family: 'Inter', 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
}

.newsletter .modal-body {
    background: #fff;
    padding: 24px 28px 28px;
}

.newsletter #crmWebToEntityForm {
    margin: auto;
}

.newsletter .input_zoho {
    display: none !important;
}

.newsletter .div_subscribe_form_description {
    padding: 0 0 20px;
}

.newsletter .div_subscribe_form_description p {
    font-family: 'Roboto', sans-serif;
    font-size: 13.5px;
    line-height: 1.65;
    color: #555;
    margin: 0;
}

.newsletter .div_row_subscribe_field {
    padding: 0;
    height: auto;
    margin-bottom: 14px;
}

.newsletter .div_row_subscribe_field label {
    font-weight: normal;
    width: 100%;
}

.newsletter .div_row_subscribe_field span:not(.required,.field-error) {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
    margin-bottom: 5px;
    width: 100%;
}

.newsletter .required {
    color: #e03030;
    margin-left: 2px;
}

.newsletter .div_row_subscribe_field input[type='text'] {
    display: block;
    width: 100%;
    margin-bottom: 3px;
    padding: 7px 14px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #1a1a2e;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.newsletter .div_row_subscribe_field input[type='text']::placeholder {
    color: #A0AEC0;
}

.newsletter .div_row_subscribe_field input[type='text']:focus {
    border-color: #F57C20;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245, 124, 32, 0.1);
}

.newsletter .div_btn_submit_subscribe {
    padding: 8px 0 0;
}

.newsletter .div_btn_submit_subscribe input[type='submit'] {
    display: block;
    width: 100%;
    padding: 13px 0;
    background: #F57C20;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.2s;
    outline: none;
}

.newsletter .div_btn_submit_subscribe input[type='submit']:hover {
    background: #d96a12;
}

.newsletter .nl-icon {
    width: 52px;
    height: 52px;
    margin: 10px auto;
    background: #F57C20;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter .nl-msg {
    font-size: 17px;
    color: #09436A;
    margin: 32px 0;
}

.newsletter .nl-btn {
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 10px 32px;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    transition: background .2s;
}

.newsletter .nl-btn:hover {
    background: #d96a12;
}

/* --- DOWNLOAD MODAL --- */
.newsletter .modal-footer {
    background: #fff;
    border-top: 1px solid #E2E8F0;
    padding: 16px 28px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-modal-download {
    background: #F57C20;
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 11px 32px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.2s;
    outline: none;
}

.btn-modal-download:hover {
    background: #d96a12;
}

.btn-modal-close {
    background: #fff;
    color: #748D9E;
    border: 1.5px solid #E2E8F0;
    border-radius: 40px;
    padding: 11px 24px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-modal-close:hover {
    border-color: #F57C20;
    color: #F57C20;
}

.newsletter .div_row_subscribe_field .form-control {
    display: block;
    width: 100%;
    padding: 7px 14px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #1a1a2e;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s, background 0.2s;
    height: auto;
}

.newsletter .div_row_subscribe_field .form-control:focus {
    border-color: #F57C20;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245, 124, 32, 0.1);
}

.modal-recaptcha {
    margin-top: 18px;
}

.modal-recaptcha-note {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #748D9E;
    margin-top: 8px;
    margin-bottom: 0;
}

.field-error {
    display: none;
    font-family: 'Roboto', sans-serif;
    font-size: 11.5px;
    color: red;
    line-height: 1.3;
}
