/* ========================================
   IMPORTS & BASE STYLES
   ======================================== */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css');
@import url('https://fonts.cdnfonts.com/css/gotham');

body {
    font-family: 'Gotham', Arial, sans-serif;
    background: #f5f7fa;
}

.just-mobile{
    display: none !important;
}

/* ========================================
   NAVIGATION & HEADER
   ======================================== */
.navbar {
    background: #ffffff69;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    border-bottom: 1px solid #1a2956;
}

.navbar-nav {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.navbar-nav .nav-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 1.2rem;
}

.navbar-nav .nav-item:not(:nth-last-child(2)):not(:last-child)::after {
    content: '';
    display: block;
    width: 1px;
    height: 39px;
    background: #273C5A;
    background: linear-gradient(180deg, rgba(39, 60, 90, 0) 0%, rgba(26, 41, 86, 1) 75%, rgba(26, 41, 86, 1) 100%);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.navbar-nav .nav-link, .navbar-nav .btn {
    color: #FFFFFF !important;
    font-weight: 500;
    font-size: 1rem;
    background: transparent;
    border: none;
    transition: none;
}

/* .navbar-nav .nav-link:hover, .navbar-nav .btn:hover {
    color: #e0e6f0 !important;
} */

.navbar.fixed-top {
    background: #BFB6B6 !important;
    /* position: fixed; */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* If both fixed-top and navbar-bg are present, keep the dark background */
.navbar.fixed-top.navbar-bg {
    background: #1A2A42 !important;
}

.navbar.fixed-top a.nav-link {
    color: white !important;
}

.navbar-nav li.nav-item.active {
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(127, 152, 183, 0.65618) 70.67%, rgba(99, 129, 167, 0.8) 100%); */
    background: #1C2842;
    color: white !important;
}

.navbar-nav .nav-item:hover {
    background: linear-gradient(180deg, rgb(99 129 167 / 25%) 0%, rgba(127, 152, 183, 0.65618) 50.67%, rgb(99 129 167 / 25%) 100%);
    /* background: #2B4369; */
    color: white !important;
}


/* ========================================
   BUTTONS & FORM ELEMENTS
   ======================================== */
.btn-primary {
    box-shadow: 0px -3px 11.5px 0px #FFFFFF47 inset;
    background: #2B4369;
    border: none;
    border-bottom: 1px solid #2B4369;
    border-radius: 4px;
    padding: 0.6rem 1.5rem;
    font-weight: 300;
    font-size: 1rem;
    margin-left: 1.2rem;
}

.btn-primary:hover,
.btn-primary:active {
    background: #1a2956 !important;
    box-shadow: none !important;
    border-color: #15243B !important;
}

.btn-primary {
    background: #2B4369 !important;
    border-color: #2B4369 !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: url('../images/bg-hero.jpg') top/cover no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* padding-left: 2rem; */
    /* padding-right: 40%; */
    padding-right: clamp(20px, 40%, 755px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1rem;
    max-width: 1000px;
    font-weight: 300;
}

section#passport-ranking .hero-desc {
    max-width: 570px;
}

section#passport-ranking .hero-desc span {
    font-weight: 700;
    margin-bottom: 0;
    display: block;
    max-width: 500px;
}

p.ci-title {
    color: #CAD6F1;
    font-size: 1.7rem;
}

/* ----------------------------------------
   Tabbed Interface
   ---------------------------------------- */
.passport-tabs {
    position: relative;
    width: 100%;
    display: flex;
    z-index: 2;
    background: transparent;
    box-shadow: none;
    padding-left: 0;
    justify-content: space-between;
    overflow: hidden;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    max-width: 650.5px;
}

.passport-tab {
    flex: 1 1 0;
    background: #2d406a;
    color: #fff;
    border: none;
    border-radius: 0 8px 0 0;
    font-size: 2rem;
    font-weight: 700;
    padding: 1.1rem 0 1.1rem 0;
    margin-right: -80px;
    margin-left: 0;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.10);
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
    min-width: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    outline: none;
    border-top-left-radius: 0;
}

.passport-tab:first-child {
    z-index: 3;
}

.passport-tab:nth-child(2) {
    z-index: 2;
}

.passport-tab:nth-child(3) {
    z-index: 1;
    margin-right: 0;
}

.passport-tab.active,
.passport-tab:hover,
.passport-tab:focus {
    background: #fff;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.10);
    font-weight: 400;
    z-index: 4;
}

.passport-tab:not(.active) {
    background: #203555;
    color: #fff;
}

.passport-tabs .passport-tab:not(:last-child) {
    border-right: 1px solid #274066;
}

button.passport-tab {
    background: #3F5D8A;
    color: white;
    border: none;
    font-size: 1.3rem;
    padding: 15px 0;
    font-weight: 300;
}

button.passport-tab.active {
    background: #2B4369;
    font-weight: 400;
    position: relative;
    z-index: 9;
}

button.passport-tab:hover {
    background: #2B4369;
    position: relative;
    z-index: 99;
}

.tab-content-area {
    padding: 20px 20px 30px 20px;
}

div#addPassportBtn button {
    background: #469390;
    border-color: #469390;
    color: white;
    padding: 10px 40px;
}

/* ========================================
   PASSPORT INDEX SECTION
   ======================================== */
.passport-index-section {
    background: #fff;
    /* padding: 2.5rem 0 0 0; */
}

.passport-index-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a2956;
}

.passport-index-title span {
    border: 2px solid #1a2956;
    border-radius: 2rem;
    padding: 0 0.5em;
    font-weight: 400;
    font-size: 1.2rem;
    margin-left: 0.2em;
}

.passport-index-title span {
    font-size: 3.5rem;
    border: none;
    padding: 0;
    margin: 0;
}

.passport-index-title span.text-underline {
    position: relative;
    z-index: 2;
}

.passport-index-title span.text-underline::before {
    content: '';
    position: absolute;
    background: #40526b5e;
    width: 100%;
    height: 10px;
    bottom: 10px;
    z-index: -1;
}

.passport-index-title span.text-vector {
    position: relative;
    display: inline-block;
    z-index: 1;
    margin-bottom: 1rem;
}

.passport-index-title span.text-vector:before {
    z-index: -1;
    content: '';
    position: absolute;
    background: url(/assets/frontend/images/vector-title-1.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 136%;
    height: 136%;
    left: -18%;
    right: -18%;
    top: -18%;
}

.passport-index-title span.text-vector.vector-lg{
    margin-left: 20px;
}

.passport-index-title span.text-vector.vector-lg:before {
    z-index: -1;
    content: '';
    position: absolute;
    background: url(/assets/frontend/images/vector-title-lg.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 125%;
    height: 125%;
    left: -12%;
    right: -12%;
    top: -16%;
}

.passport-index-title span.text-vector.vector-md{
    margin-right: 10px;
}

.passport-index-title span.text-vector.vector-md:before {
    z-index: -1;
    content: '';
    position: absolute;
    background: url(/assets/frontend/images/vector-title-1.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 120%;
    height: 120%;
    left: -12%;
    right: -12%;
    top: -11%;
}

.passport-index-desc {
    color: #3F5D8A;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    width: 50%;
}

.visaneed-result {
    background: #F6FAFA;
    filter: drop-shadow(0px 4px 17.4px rgba(0, 0, 0, 0.21));
    color: black;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
}
.visaneed-result .col-md-3 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visaneed-result h4.country-from span,
.visaneed-result h4.country-to span {
    border-radius: 50px;
    font-size: 40px;
    margin-right: 10px;
}

h4.country-from,
h4.country-to {
    display: flex;
    align-items: center;
    font-size: 21px;
    color: #273c5a;
}

.arrow-plane svg {
    width: 100%;
}

.banner-title {
    text-align: center;
}

.banner-title h4 {
    font-size: 25px;
    color: #273c5a;
    margin: 0;
}

.banner-title p {
    color: #273c5a;
    font-size: 14px;
}

/* Loading states */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* ----------------------------------------
   Select Box & Select2 Styling
   ---------------------------------------- */
.passport-select-box {
    background: #2B4369;
    color: #fff;
    padding: 0;
    max-width: 650px;
    margin: 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    position: relative;
}

.passport-select-box.show-result {
    width: 100% !important;
    max-width: initial !important;
}

body[data-page="home"] .passport-select-box.show-result {
    width: initial !important;
    max-width: 650px !important;
}

.passport-select-box label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.passport-select2 {
    background: #2d406a !important;
    color: #fff !important;
    border-radius: 0.4rem !important;
    border: 1px solid #bfc9e0 !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    min-height: 48px !important;
    height: 48px !important;
    padding-left: 48px !important;
}

.passport-select2-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
    margin-top: -3px;
}

.select2-container--default .select2-selection--single {
    background: #bfbfbf2b !important;
    color: #fff !important;
    border: 1px solid #bfc9e0 !important;
    border-radius: 0.4rem !important;
    min-height: 48px !important;
    height: 48px !important;
    display: flex;
    align-items: center;
    padding-left: 18px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
    line-height: 48px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 12px !important;
}

.select2-dropdown {
    background: #2d406a !important;
    color: #fff !important;
    border-radius: 0 0 0.4rem 0.4rem !important;
    border: 1px solid #bfc9e0 !important;
}

.select2-results__option {
    color: #d5d5d5 !important;
    font-weight: 500 !important;
    font-size: 1.05rem !important;
    padding: 0.7rem 1.2rem !important;
}

.select2-results__option--highlighted {
    background: #e0e6f0 !important;
    color: #1a2956 !important;
}

.select2-container--default .select2-results__option--selected {
    color: #15243b !important;
}

/* ----------------------------------------
   Passport Details Modal
   ---------------------------------------- */
.passport-details {
    border: 1px solid #bfc9e0;
    border-radius: 5px;
    padding: 35px 30px;
    position: relative;
}

.passport-details img.img-passport {
    width: 100%;
    border-radius: 10px;
}

.passport-details button.btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(98deg) brightness(103%) contrast(101%);
}

.passport-details .passport-flag {
    width: 35px;
    height: 35px;
    margin-right: 10px;
    vertical-align: middle;
    margin-top: 0;
    margin-bottom: 5px;
    border-radius: 60%;
}

.passport-details h3.country-name {
    font-weight: 600;
}

.details-nbr {
    font-size: 27px;
    font-weight: 400;
}

.details-txt {
    font-size: 14px;
    font-weight: 100;
}

.details-visa {
    margin-top: 15px;
}

.details-visa .fi {
    width: 35px;
    height: 35px;
    border-radius: 25px;
    margin-right: 5px;
    background-size: auto;
}

.details-visa span.small {
    margin-top: 10px;
    display: block;
    font-size: 13px;
    font-weight: 100;
    text-transform: uppercase;
}

.flags-access {
    display: flex;
}

.details-description .small {
    color: white !important;
}

.details-description .fw-bold {
    font-size: 15px;
}

.details-description .small {
    font-size: 14px;
    font-weight: 100;
}

.details-share {
    margin-top: 15px;
    position: relative;
}

.details-share .dropdown {
    position: relative;
}

.details-share a {
    color: white;
    border: 1px solid white;
    font-size: 14px;
    width: 35px;
    height: 35px;
    display: inline-block;
    text-align-last: center;
    align-content: center;
    border-radius: 5px;
}

/* Share dropdown styles */
.details-share .share-dropdown {
    inset: auto !important;
    background: #2d466b;
    min-width: initial;
    width: auto;
    padding: 5px;
    gap: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 100% !important;
    margin-bottom: 10px !important;
    left: 50% !important;
    transform: translateX(0%) !important;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.details-share .dropdown-menu.show {
    display: flex;
}

.details-share .dropdown-menu.show::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    bottom: -7px; /* push under dropdown */
    left: 10px;   /* adjust horizontally */
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #15243b; /* same color as dropdown background */
}

.details-share .share-dropdown .dropdown-item {
    padding: 8px;
    color: white;
    font-size: 14px;
    transition: background-color 0.2s;
    border-radius: 3px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.details-share .share-dropdown .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.details-share .share-dropdown .dropdown-item i {
    width: 16px;
    margin: 0;
    font-size: 16px;
}

.details-share .share-dropdown .dropdown-item i.fab {
    color: white;
}

.details-share .share-dropdown .dropdown-item:hover i.fab {
    color: white;
}

.details-share .share-dropdown li .share-link {
    padding: 0;
    color: white;
    font-size: 23px;
    border: none;
    line-height: initial;
}

/* Show More Results Overlay */
.result-show-more {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: #273C5A;
    background: linear-gradient(180deg, rgba(39, 60, 90, 0) 0%, rgba(39, 60, 90, 1) 75%, rgba(39, 60, 90, 1) 100%);
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 40px;
    display: none;
    z-index: 9;
}

.show-result .result-show-more {
    display: flex;
}

.result-show-more .btn.btn-primary {
    width: 250px;
}

/* ========================================
   VISA REQUIREMENTS TABLE & FILTERS
   ======================================== */
.visa-requirements-table {
    border: 1px solid #bfc9e0;
    border-radius: 5px;
    padding: 35px 30px;
    padding-bottom: 10px;
}

.visa-requirements-table h4.visa-req-title {
    font-size: 21px;
    margin-bottom: 15px;
}

.visa-req-table {
    /* min-height: 257px; */
    /* max-height: 359px; */
    max-height: 253px;
    overflow-y: auto;
    padding-right: 10px;
}

.visa-req-table-sh {
    max-height: 320px;
}

.visa-req-table::-webkit-scrollbar {
    width: 8px;
}

.visa-req-table::-webkit-scrollbar-track {
    background: linear-gradient(to bottom, #aaa, #ddd, #aaa);
    border-radius: 4px;
}

.visa-req-table::-webkit-scrollbar-thumb {
    background: #b5c9e5;
    border-radius: 10px;
    height: 20px;
}

.visa-req-table::-webkit-scrollbar-thumb:hover {
    background: #b5c9e5;
}

.visa-req-table .passport-flag {
    height: 20px;
    width: 20px;
    border-radius: 30px;
    margin-left: 5px;
}

/* .visa-req-table tr td:nth-child(2) {
    width: 60px;
    font-weight: 300;
    font-size: 14px;
} */

.visa-req-table tr td:nth-child(3) {
    width: 40px;
}

tr.visa-row-odd td {
    background: #F0F1F1;
    border: none;
}

tr.visa-row-odd td:first-child{
    border-radius: 5px 0 0 5px;
}

tr.visa-row-even td {
    border: none !important;
}

tr.visa-row-even td:nth-child(1) {
    border-radius: 5px 0 0 5px !important;
}

/* .visa-req-table tr td:nth-child(2) {
    border-radius: 0 !important;
} */

.visa-req-table tr td:nth-child(3) {
    border-radius: 0px 5px 5px 0px !important;
}

.visa-req-header {
    position: relative;
}

.visa-req-header button#button-addon2 {
    background: #f3f3f3;
    border: 1px;
    border-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

button#visaFilterBtn {
    border: 1px solid #bfc9e0;
    color: white;
}

button.btn-filter.active {
    background: #15243b;
}

button.btn-filter.active span {
    color: white;
}

button.btn-filter.active path {
    fill: white;
}

button#visaFilterBtn:hover{
    background-color: #15243b;
}

button#visaFilterBtn:hover span{
    color: white;
}
button#visaFilterBtn:hover path{
    fill: white;
}

input.visa-req-search {
    background: transparent;
    color: white;
    border-radius: 5px;
}

input.visa-req-search:focus {
    background: transparent;
    color: white;
    border: 1px solid #bfc9e0 !important;
}

input.visa-req-search::placeholder {
    color: white;
    opacity: 1;
}

input.visa-req-search::-webkit-input-placeholder {
    color: white;
}

input.visa-req-search:-ms-input-placeholder {
    color: white;
}

input.visa-req-search::-ms-input-placeholder {
    color: white;
}

/* ----------------------------------------
   Visa Status Badges
   ---------------------------------------- */
span.badge {
    background: #273c5a;
    width: 29px;
    height: 29px;
    font-weight: 600;
    align-content: center;
    font-size: 8px;
}

span.badge {
    width: 100px;
    height: 30px;
    text-align: left;
    font-size: 11px;
    font-weight: 400;
}

tr.visa-row-odd td:last-child{
    border-radius: 0 5px 5px 0;
}

tr.visa-row-even td:last-child,
tr.visa-row-odd td:last-child {
    padding: 0;
    text-align: right;
}

tr.visa-row-even td:last-child {
    padding: 5px 0;
}

span.badge.badge-vf,
span.badge.badge-voa {
    background: #469390;
    color: white;
}

span.badge.badge-vr {
    background: #832D5B;
}

span.badge.badge-ev,
span.badge.badge-eta {
    background: #699FE2;
}

div#visaReqFilters {
    position: absolute;
    background: #F0F1F1;
    top: 40px;
    padding: 10px;
    /* padding-top: 30px; */
    z-index: 9;
    border-radius: 3px;
    min-width: 150px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

button#visaResetBtn {
    border: 1px solid #273c5a;
    background: #fff;
    color: #273c5a;
    font-size: 13px;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 3px 12px;
    transition: background 0.2s, color 0.2s;
}

button#visaResetBtn:hover {
    background: #273c5a;
    color: #fff;
}

/* Containers */
div#visaFilterBadges,
div#map-legend {
    max-width: 150px;
}


.ranking-passport-section-2 div#map-legend {
    max-width: 160px;
    display: ruby;
}

#globalMap{
    height: 800px;
}

/* Badge base style */
div#visaFilterBadges span.badge,
div#map-legend span.badge {
    width: 100%;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    background: #fff;
    margin-bottom: 5px;
    border: 1px solid #bfc9e0;
    border-bottom: 2px solid #bfc9e0;
    color: white;
    font-size: 11px;
    font-weight: 400;
    padding-right: 8px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    overflow: hidden;
}

/* Badge colors */
div#visaFilterBadges span.badge.badge-vf,
div#map-legend span.badge.badge-vf {
    border-color: #469390;
    background: #469390;
}

div#visaFilterBadges span.badge.badge-vf {
    color: #469390;
}

div#visaFilterBadges span.badge.badge-vr,
div#map-legend span.badge.badge-vr {
    border-color: #832D5B;
    background: #832D5B;
}
div#visaFilterBadges span.badge.badge-vr {
    color: #832D5B;
}

div#visaFilterBadges span.badge.badge-ev,
div#visaFilterBadges span.badge.badge-eta,
div#map-legend span.badge.badge-ev,
div#map-legend span.badge.badge-eta {
    border-color: #699FE2;
    background: #699FE2;
}
div#visaFilterBadges span.badge.badge-eta,
div#visaFilterBadges span.badge.badge-ev {
    color: #699FE2;
}

div#visaFilterBadges span.badge.badge-voa,
div#map-legend span.badge.badge-voa {
    border-color: #469390;
    background: #469390;
}
div#visaFilterBadges span.badge.badge-voa {
    color: #469390;
}

.visa-filter-badge.vf-not-active {
    background: white !important;
}

div#visaFilterBadges span.badge:not(.vf-not-active){
    color: white !important;
}

/* Hover effect */
div#visaFilterBadges span.badge:hover {
    background: white !important;
    color: white !important;
}

/* Keep the border color same as badge type */
div#visaFilterBadges span.badge.badge-vf:hover,
div#map-legend span.badge.badge-vf:hover {
    background: #469390 !important;
}

div#visaFilterBadges span.badge.badge-vr:hover,
div#map-legend span.badge.badge-vr:hover {
    background: #832D5B !important;
}

div#visaFilterBadges span.badge.badge-ev:hover,
div#visaFilterBadges span.badge.badge-eta:hover,
div#map-legend span.badge.badge-ev:hover,
div#map-legend span.badge.badge-eta:hover {
    background: #699FE2 !important;
}

div#visaFilterBadges span.badge.badge-voa:hover,
div#map-legend span.badge.badge-voa:hover {
    background: #469390 !important;
}


/* Badge label base style */
div#visaFilterBadges span.badge span.badge-label,
div#map-legend span.badge span.badge-label {
    color: #fff;
    height: 100%;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 7px;
    font-size: 11px;
    font-weight: 500;
    box-shadow: 3px 0 6px rgba(0, 0, 0, 0.2);
}

/* Badge label colors */
div#visaFilterBadges span.badge.badge-vf span.badge-label,
div#visaFilterBadges span.badge.badge-voa span.badge-label,
div#map-legend span.badge.badge-vf span.badge-label,
div#map-legend span.badge.badge-voa span.badge-label {
    background: #469390;
}

div#visaFilterBadges span.badge.badge-vr span.badge-label,
div#map-legend span.badge.badge-vr span.badge-label {
    background: #832D5B;
}

div#visaFilterBadges span.badge.badge-ev span.badge-label,
div#visaFilterBadges span.badge.badge-eta span.badge-label,
div#map-legend span.badge.badge-ev span.badge-label,
div#map-legend span.badge.badge-eta span.badge-label {
    background: #699FE2;
}

.global-map-section {
    position: relative;
}

div#map-legend {
    position: absolute;
    bottom: -1px;
    /* bottom: 40px; */
    left: 0;
}


/* ----------------------------------------
   Selected Filter Badges Display
   ---------------------------------------- */
.selected-visa-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.selected-visa-filters .selected-filter-badge {
    width: 100%;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #bfc9e0;
    border-bottom: 2px solid #bfc9e0;
    padding: 0;
    color: #273c5a;
    font-size: 11px;
    font-weight: 500;
    padding-right: 8px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    min-width: 120px;
    max-width: 150px;
}

.selected-visa-filters .selected-filter-badge[data-filter="vf"] {
    border-color: #469390;
    color: #469390;
}

.selected-visa-filters .selected-filter-badge[data-filter="vr"] {
    border-color: #832D5B;
    color: #832D5B;
}

.selected-visa-filters .selected-filter-badge[data-filter="ev"],
.selected-visa-filters .selected-filter-badge[data-filter="eta"] {
    border-color: #699FE2;
    color: #699FE2;
}

.selected-visa-filters .selected-filter-badge[data-filter="voa"] {
    border-color: #469390;
    color: #469390;
}

.selected-visa-filters .selected-filter-badge:hover {
    background: #f3f6fa;
}

.selected-visa-filters .selected-filter-badge .fa-times {
    color: #bfc9e0;
    margin-left: 6px;
    font-size: 12px;
    transition: color 0.2s;
}

.selected-visa-filters .selected-filter-badge .fa-times:hover {
    color: #832D5B;
}

.selected-visa-filters span.badge-label {
    height: 100%;
    color: #fff;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 7px;
    font-size: 11px;
    font-weight: 500;
    box-shadow: 2px 0 4px rgb(0 0 0 / 22%);
    text-transform: uppercase;
    border-radius: 4px 0 0 4px;
    display: none;
}

.selected-visa-filters span.badge.selected-filter-badge {
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    min-width: initial;
    max-width: fit-content;
    border-radius: 4px;
    margin-bottom: 5px;
    cursor: pointer;
    padding: 0 8px 0 8px;
    transition: background 0.2s, color 0.2s;
}

.selected-visa-filters .selected-filter-badge[data-filter="vf"] {
    background: #469390;
}

.selected-visa-filters .selected-filter-badge[data-filter="vr"] {
    background: #832D5B;
}

.selected-visa-filters .selected-filter-badge[data-filter="ev"],
.selected-visa-filters .selected-filter-badge[data-filter="eta"] {
    background: #699FE2;
}

.selected-visa-filters .selected-filter-badge[data-filter="voa"] {
    background: #469390;
}

/* ========================================
   TOP PASSPORTS SECTION
   ======================================== */
.top-passports-section {
    background: url('../images/bg-how-to.png') center/cover no-repeat;
    padding: 2.5rem 0 2rem 0;
    color: #fff;
    text-align: center;
}

.top-passports-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #F0F1F1;
    max-width: 1000px;
    margin: 0 auto;
}

.top-passports-desc {
    font-size: 1.1rem;
    max-width: 850px;
    margin: 0 auto;
    margin-bottom: 3.5rem;
}

span.top-passports-desc-under {
    font-weight: 500;
    margin-top: 15px;
    display: block;
}

.top-passport-cards {
    display: flex;
    justify-content: center;
    gap: 7rem;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.top-passport-cards a {
    text-decoration: none;
}

.passport-card {
    background: #fff;
    color: #1a2956;
    border-radius: 4px;
    padding: 5px;
    min-width: 310px;
    max-width: 420px;
    margin-bottom: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    position: relative;
    border: 0.81px solid var(--grey-500, #63656A);
    box-shadow: 0px 3.24px 11.19px 0px #00000030;
    cursor: pointer;
}

.passport-card .rank {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a2956;
    margin-bottom: 0.2rem;
}

.passport-card .country {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.passport-card .details {
    font-size: 0.8rem;
    color: #3a4a6b;
    font-weight: 400;
    margin-top: 0.2rem;
}

.passport-card .details {
    display: flex;
    width: 90%;
    margin-top: 0;
    justify-content: space-between;
}

.passport-img {
    width: auto;
    height: 100px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    background: #eaeaea;
}

.rank-badge {
    position: absolute;
    left: -32px;
    top: -32px;
    width: 64px;
    height: 64px;
    background: #f5f7fa;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Gotham', Arial, sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #223a7a;
    z-index: 2;
}

.rank-number {
    font-size: 2rem;
    line-height: 1;
}

.rank-suffix {
    font-size: 0.9rem;
    font-weight: 400;
    margin-left: 2px;
    color: #888;
    position: relative;
    top: -8px;
}

.detail-label {
    font-weight: 300;
    color: #223a7a;
    letter-spacing: 0.5px;
}

.passport-card .details .detail-label {
    font-style: italic;
    font-weight: 500;
}

.passport-card .details:last-child .detail-label {
    font-style: normal;
    font-weight: 400;
}

.show-more-btn {
    margin-left: 0;
}

/* ========================================
   HOW TO IMPROVE SECTION
   ======================================== */
.how-to-section {
    background: url('../images/bg-top-passport.png') center/cover no-repeat;
    color: #fff;
    padding: 3.5rem 0 4rem 0;
}

.how-to-title {
    font-size: 3.7rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.how-to-desc {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 800px;
}

.how-to-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.how-to-step {
    width: calc(33.33% - 2rem);
    margin-bottom: 1rem;
    text-align: center;
}

.how-to-step img {
    width: 70px;
    margin-bottom: 1.5rem;
    padding: 15px;
    border: 1px solid white;
    border-radius: 4px;
}

.how-to-step img:hover {
    background: #2b4369;
    border-color: #2b4369;
}

.how-to-step-title {
    font-size: 1.2rem;
    font-weight: 500;
    width: 250px;
    margin: 0 auto;
    margin-bottom: 1.5rem;
    line-height: 28px;
}

.how-to-step-desc {
    font-size: 0.9rem;
    color: #FFFFFF;
    max-width: 300px;
    margin: 0 auto;
}

.improve-btn {
    width: 350px;
    margin: 0 auto;
    display: block;
    margin-top: 50px;
}

/* ========================================
   DOWNLOAD CARD
   ======================================== */
.download-card {
    margin-top: 20px;
    background: #15243B;
    border-radius: 5px;
    text-align: center;
    padding: 30px;
    padding: 12px;
    align-content: center;
}

.download-card h6 {
    padding: 0 40px;
    font-size: 23px;
    font-weight: 400;
    margin-bottom: 25px;
    color: white;
}

.download-card .btn.btn-primary {
    width: 200px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #15243B;
    color: #fff;
    padding: 4.5rem 0 3.5rem 0;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description .description {
    font-size: 0.9rem;
}

.footer-description {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}

.footer-description-2 {
    top: -20px;
    position: relative;
}

.footer-links, .footer-programs, .footer-contact {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links a, .footer-programs a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 0.3rem;
    transition: color 0.2s;
}

.footer-links a svg, .footer-programs a svg {
    color: #94AFE4;
    margin-right: 3px;
}

.footer-links a:hover, .footer-programs a:hover {
    color: #94AFE4;
}

.footer-social {
    margin-top: 1rem;
}

.footer-social a {
    background: white;
    margin-right: 0.7rem;
    transition: color 0.2s;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 25px;
}

.footer-social a:hover {
    background: #94AFE4;
    color: white;
}

.footer-newsletter {
    display: flex;
    align-items: end;
    position: relative;
    top: -10px;
    padding-left: 60px;
}

.footer-newsletter .fw-bold {
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 17px;
}

.footer-newsletter input[type='email'] {
    border-radius: 2rem;
    border: none;
    padding: 0.4rem 1rem;
    margin-right: 0.5rem;
    background: #94afe4;
    color: white;
}

.footer-newsletter button {
    border-radius: 2rem;
    border: none;
    color: #1a2956;
    font-weight: 600;
    padding: 0.4rem 1.5rem;
    transition: background 0.2s;
}

.footer-newsletter button {
    background: #15243b;
    color: white;
    font-weight: 400;
    padding: 0 10px;
}

.footer-logo {
	font-weight: bold;
	font-size: 1.5rem;
	letter-spacing: 1px;
}
.navbar-brand, .footer-logo {
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

form.d-flex {
    background: #94AFE4;
    padding: 4px;
    border-radius: 30px;
}

.form-control:focus {
    border: none !important;
    box-shadow: none !important;
}

.quick-links {
    font-weight: 500;
    margin-bottom: 30px;
    position: relative;
}

.quick-links:before {
    content: '';
    position: absolute;
    background: url('../images/vector-footer.png');
    background-repeat: no-repeat;
    width: 100%;
    height: 5px;
    bottom: -10px;
}

address a {
    color: white;
    text-decoration: none;
}

address a:hover {
    color: #94AFE4;
    text-decoration: none;
}

address svg {
    color: #94AFE4;
    width: 15px;
    padding-right: 3px;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #1C284296;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
    background-color: #1C2842;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.back-to-top.show {
    display: flex;
}

.back-to-top i {
    color: white;
}




/* ========================================
   PASSPORT POWER SECTION
   ======================================== */

.passport-power-section {
    padding: 2.5rem 0;
}

.passport-power {
    margin-bottom: 50px;
}

.passport-power .col-md-5 {
    display: grid;
}

.passport-power h4.visa-req-title,
.passport-power button#visaFilterBtn,
.passport-power input.form-control.visa-req-search.ms-3,
.passport-power input.visa-req-search:focus,
.passport-power input.visa-req-search::placeholder{
    color: #1C2842;
    border-color: #1C2842;
}


.passport-power .visa-req-header button#button-addon2 {
    background: #1C2842;
}

.passport-power .visa-requirements-table,
.passport-power .passport-details{
    border-color: #1C2842;
    border-bottom: 3px solid;
}

.passport-power .passport-details button.btn-close {
    filter: none;
}

.passport-power .details-description .small {
    color: black !important;
}

.passport-power .details-share a {
    color: #1C2842;
    border-color: #1C2842;
}

.share-dropdown li .share-link {
    padding: 0;
    color: white;
    font-size: 23px;
    border: none;
    line-height: initial;
}

.card-select-passport .col-select-country {
    background: #273C5A;
    transition: width 0.4s ease, flex-basis 0.4s ease;
    /* width: 50%; */
    padding: 15px;
    margin-bottom: 0 !important;
}

form#downloadForm {
    margin-bottom: 10px;
}

/* ========================================
   PASSPORT MAP
   ======================================== */

   .global-map-section h3{
        color: #232426;
        font-size: 3rem;
        font-weight: 500;
    }


/* ========================================
   MODAL
   ======================================== */
div#downloadModal .modal-content {
    background: #14213d;
    border-radius:16px;
    padding:32px 24px;
    box-shadow:0 8px 32px rgba(0,0,0,0.2);
    border-radius: 5px;
}

div#downloadModal h2.title {
    color: #fff;
    font-weight:700;
    text-align: center;
    margin-bottom: 50px;
}

button.btn-close-white {
    background: #FFFFFF;
    color: #15243B;
    height: 30px;
    width: 30px;
    font-weight: 100;
    border-radius: 3px;
    position: absolute;
    left: 15px;
    top: 15px;
    border: 1px solid #FFFFFF;
}

button.btn-close-white:hover {
    border: 1px solid #FFFFFF;
    background: transparent;
    color: white;
}

.modal-input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    padding: 12px 16px;
    color: white !important;
    font-size: 14px !important;
    height: 50px !important;
}
.modal-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}
.modal-input:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}
.modal-input option {
    background: #2c3e50 !important;
    color: white !important;
}
div#downloadModal .select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    height: 50px !important;
    padding: 8px 16px !important;
}
div#downloadModal .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white !important;
    line-height: 32px !important;
    padding-left: 0 !important;
}
div#downloadModal .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}
div#downloadModal .select2-dropdown {
    background: #2c3e50 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
}
div#downloadModal .select2-container--default .select2-results__option {
    color: white !important;
    padding: 12px 16px !important;
}
div#downloadModal .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(255, 255, 255, 0.1) !important;
}
div#downloadModal .iti {
    width: 100% !important;
}
div#downloadModal .iti__country-list {
    background: #2c3e50 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
}
div#downloadModal .iti__country {
    color: white !important;
    padding: 8px 12px !important;
}
div#downloadModal .iti__country:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}
div#downloadModal .iti__selected-flag {
    background: rgba(255, 255, 255, 0.1) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px 0 0 12px !important;
}
div#downloadModal .iti__flag-container {
    padding: 0 12px !important;
}


form#downloadForm input.modal-input:active,
form#downloadForm input.modal-input::placeholder,
form#downloadForm input.modal-input {
    background: #F0F1F1 !important;
    color: #4d4d4d !important;
    border-radius: 5px !important;
    font-weight: 200;
    font-size: 15px !important;
}

form#downloadForm .iti__selected-dial-code {
    color: #4d4d4d !important;
    font-size: 15px !important;
    font-weight: 200;
}

form#downloadForm .select2-container--default .select2-selection--single {
    border: none !important;
    background: #F0F1F1 !important;
    border-radius: 5px !important;
}

form#downloadForm button.select2-selection__clear {
    display: none;
}

form#downloadForm span#select2-modalNationalitySelect-container,
form#downloadForm span#select2-modalCountrySelect-container {
    color: #4d4d4d !important;
    font-weight: 200 !important;
    font-size: 15px !important;
}

form#downloadForm .iti__search-input {
    height: 40px;
    padding: 10px;
}

form#downloadForm label {font-weight: 100;padding-left: 5px;font-size: 14px;}

form#downloadForm .btn.btn-primary {
    margin-top: 30px;
}

.verification-group {
    position: relative;
}

.verification-input-group {
    margin: 0 !important;
    position: relative;
    width: calc(100% - 115px);
}

.verification-controls {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.verification-btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 115px;
    padding: 7px 12px;
}

.verification-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.verification-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.verification-code-input {
    padding: 0 10px !important;
    height: 35px !important;
    font-size: 13px !important;
    text-align: left !important;
}

.verify-btn {
    background: #28a745;
    border: none;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.3s ease;

    position: absolute;
    top: 3.5px;
    right: 3px;
    margin: 0 !important;
    padding: 5px 16px;
}

.verify-btn:hover {
    background: #218838;
}

.verification-status {
    font-size: 12px;
    font-weight: 500;
}

.countdown-timer {
    font-size: 11px;
}

.verification-message .alert {
    font-size: 14px;
    margin: 0;
    padding: 12px;
    border-radius: 6px;
}

#downloadSubmitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading {
    font-size: 14px;
}

.verification-status svg {
    position: absolute;
    height: 20px;
    right: 10px;
    top: 15px;
}

/* ========================================
   TANK-YOU
   ======================================== */
.hero-thankyou {
    background: white;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    padding-top: 80px;
}

.hero-thankyou {
    position: relative;
    overflow: hidden;
    color: #606060;
}

.thankyou-content {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

.checkmark-circle {
    width: 80px;
    height: 80px;
    background: #ffffffff;
    border: 2px solid #2B4369;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2B4369;
    animation: checkmarkPulse 2s ease-in-out infinite;
}

@keyframes checkmarkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.thankyou-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2B4369 !important;
    margin-bottom: 2.3rem;
    line-height: 1.3;
}

.thankyou-message {
    font-size: 1rem;
    line-height: 1.6;
    color: #606060 !important;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .thankyou-title {
        font-size: 1.8rem;
    }
    
    .thankyou-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .checkmark-circle {
        width: 70px;
        height: 70px;
    }
    
    .thankyou-message {
        font-size: 0.95rem;
    }
}


/* ========================================
   view-by-area
   ======================================== */

    .view-by-area-section {
        background: white;
        padding: 80px 0;
        overflow: hidden;
    }

    .view-by-area-section .section-title {
        font-size: 2.5rem;
        font-weight: 300;
        color: #333;
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
    }

    .view-by-area-section .section-title strong {
        font-weight: 700;
    }

    .view-by-area-section p.section-desc {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 0rem;
        max-width: 600px;
    }


    .view-by-area-section .program-section h3.program-title {
        font-size: 1.8rem;
        font-weight: 400;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .view-by-area-section .program-section h3.all-title {
        font-size: 2.5rem;
        color: #000000;
        margin-bottom: 0;
    }

    .view-by-area-section .program-section h3.program-title span.text-muted {
        font-weight: 400;
        color: black !important;
    }

    .view-by-area-section .program-section p.program-desc.text-muted {
        font-size: 1.1rem;
        line-height: 1.6;
        max-width: 900px;
        position: relative;
    }

    .view-by-area-section .program-section p.program-desc.text-muted:before {
        content: '';
        position: absolute;
        background: #000000;
        height: 1px;
        width: 80%;
        left: -60%;
        bottom: -25px;
    }

    p.program-desc.program-all-desc {
        line-height: 1.6;
        max-width: 900px;
        position: relative;
    }


    .view-by-area-section .country-subsection {
        padding-top: 2rem;
    }

    .view-by-area-section .subsection-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 0.5rem;
    }

    .view-by-area-section .subsection-desc {
        font-size: 1rem;
        line-height: 1.6;
    }

    .view-by-area-section .passport-carousel-container {
        position: relative;
        margin: 2rem 0;
    }

    .view-by-area-section .passport-carousel {
        /* gap: 40px; */
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 10px 0;
    }

    .view-by-area-section .passport-carousel::-webkit-scrollbar {
        display: none;
    }

    .view-by-area-section .passport-item {
        flex: 0 0 auto;
        border-radius: 4px;
        overflow: auto;
    }

    .view-by-area-section .passport-card-slider {
        position: relative;
        /* background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
        transition: all 0.3s ease;
    }

    .view-by-area-section .passport-card-slider:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .view-by-area-section .passport-img {
        width: 100%;
        /* height: 195px; */
        /* height: 300px; */
        height: 200px;
        height: 250px;
        object-fit: cover;
        display: block;
        /* height: 200px;
        object-fit: contain;
        background: transparent;
        box-shadow: none; */
    }

    .view-by-area-section .passport-label {
        opacity: 0;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        color: white;
        padding: 20px 15px 15px;
        font-size: 0.9rem;
        font-weight: 400;
        text-align: left;
        line-height: 16px;
    }

    .view-by-area-section .passport-card-slider:hover .passport-label {
        opacity: 1;
        border-radius: 5px;
    }

    .view-by-area-section button.carousel-btn {
        position: absolute;
        top: 50%;
        /* top: 57%; */
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        border-radius: 50%;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 5;
        color: #43659A;
        border: 0;
        background: transparent;
    }

    .view-by-area-section .carousel-btn:hover {
        background: #f8f9fa;
        border-color: #bbb;
        color: #43659A;
    }

    .view-by-area-section .passport-carousel-container {
        width: 90%;
        margin: 0 auto;
        margin-top: 35px !important;
    }

    .view-by-area-section button.carousel-btn.carousel-prev {
        left: -5%;
    }

    .view-by-area-section button.carousel-btn.carousel-next{
        right: -5%;
    }

    .view-by-area-section .carousel-dots {
        gap: 8px;
    }

    .view-by-area-section .dot {
        width: 10px;
        height: 10px;
        background: #ddd;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .view-by-area-section .dot.active {
        background: #43659A;
    }

    span#countryFlag {
        width: 200px;
        height: 200px;
        border-radius: 5px;
    }

    .view-by-area-section .passport-carousel {
        gap: 70px;
        align-items: end;
    }

    h6.passport-title {
        font-size: 20px;
        text-transform: uppercase;
        font-weight: 400;
    }

    .passport-item {
        max-width: 200px;
        height: 100%;
        margin: 0 auto;
    }


/* ========================================
   Passport Ranking
   ======================================== */

    .ranking-passport-section {
        background: white;
        padding: 80px 0;
        overflow: hidden;
    }

    .ranking-passport-section p.section-desc {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0rem;
        max-width: 600px;
    }

    /* Heading style like the screenshot */
        .ranking-passport-section .title-rank {
        color: #12203a;
        font-weight: 800;
        }
        .ranking-passport-section .title-pill {
        display: inline-block;
        padding: .15rem .55rem;
        border: 2px solid #2c3f63;
        border-radius: 999px;
        color: #2c3f63;
        font-weight: 700;
        }

        /* Card/table look */
        .ranking-passport-section .card {
        border-radius: .5rem;
        }
        .ranking-passport-section .table {
        --bs-table-bg: transparent;
        --bs-table-border-color: transparent;
        }
        .ranking-passport-section .table thead th {
        font-weight: 700;
        color: #000000;
        border: 0 !important;
        background: transparent;
        }
        .ranking-passport-section .table tbody tr + tr td {
        border-top: 1px solid #eef1f5 !important;
        }
        .ranking-passport-section .table tbody td {
        vertical-align: middle;
        border: 0;
        padding-top: 1rem;
        padding-bottom: 1rem;
        }

        /* Rank column */
        .ranking-passport-section .col-rank {
        width: 70px;
        }
        .ranking-passport-section .rank-badge-table {
        font-weight: 800;
        color: #0b1a33;
        font-size: 19px;
        }
    .ranking-passport-section .rank-badge-table .ord-suffix {
    font-size: 0.55em;
    vertical-align: sub;
    line-height: 1;
    margin-left: 1px;
    }

        /* Country cell */
        .ranking-passport-section .country-cell .fi {
        font-size: 1.25rem;
        margin-right: .5rem;
        width: 30px;
        height: 30px;
        border-radius: 50px;
        }
        .ranking-passport-section .country-name a {
            text-decoration: none;
            font-weight: 500;
            color: #0e1f3d;
            font-style: italic;
            font-size: 13px;
        }
        .ranking-passport-section .country-sub {
        font-size: .8rem;
        color: #94a3b8;
        font-style: italic;
        }

        /* Mobility progress */
        .ranking-passport-section .col-mobility {
        min-width: 420px;
        text-align: center !important;
        }
        .ranking-passport-section .mobility-wrap {
        display: flex;
        align-items: center;
        gap: 1rem;
        }
        .ranking-passport-section .mob-num {
        width: 70px;
        text-align: right;
        font-weight: 400;
        color: #0e1f3d;
        }
        .ranking-passport-section .mob-bar {
        position: relative;
        flex: 1 1 auto;
        height: 9px;
        border-radius: 8px;
        background: #d5d5d5;
        overflow: hidden;
        }
        .ranking-passport-section .mob-bar > span {
        position: absolute;
        inset: 0 auto 0 0;
        width: var(--w, 0%);
        background: #2B4369;
        border-radius: 8px;
        }

        /* Access + Visa columns */
        .ranking-passport-section .col-access {min-width: 220px;text-align: center !important;}
        .ranking-passport-section .col-vft {width: 200px;text-align: center !important;}
        .ranking-passport-section .destinations {
            font-weight: 500;
            color: #0e1f3d;
            text-align: center;
            border: 1px solid #ffffff;
            border-bottom: 2px solid #2B4369;
            border-radius: 5px;
            padding-bottom: 10px;
            padding-top: 10px;
            font-size: 15px;
            text-decoration: none;
        }
        div#passportTable_wrapper .destinations {
            border: none;
            border-bottom: 2px solid #2B4369;
        }
        .ranking-passport-section .subtle {
            font-size: .85rem;
            color: #94a3b8;
        }

        /* Search */
        .ranking-passport-section .search-wrap .input-group-text {
        border: 1px solid var(--bs-border-color);
        }

        /* DataTables tweaks */
        .ranking-passport-section .dataTables_wrapper .dataTables_paginate .pagination {
        justify-content: center;
        }
        .ranking-passport-section .dataTables_wrapper .dataTables_info {
        color: #6c757d;
        }

        /* Hide default DataTables footer UI for custom footer */
        #passportTable_wrapper .dataTables_paginate,
        #passportTable_wrapper .dataTables_info {
            display: none !important;
        }
    .ranking-passport-section .dt-footer-nav .btn.disabled { opacity: .4; pointer-events: none; }

        /* Tooltips */
        .ranking-passport-section .tooltip-inner {
        font-size: .75rem;
        }

        .ranking-passport-section td.col-rank {
            position: relative;
            text-align: center !important;
        }

        .ranking-passport-section td.col-vft.dt-type-numeric {
            text-align: center !important;
        }

        .ranking-passport-section td.col-vft.dt-type-numeric span.fw-semibold {
            font-weight: 400 !important;
        }

        .ranking-passport-section td.col-access {
            padding: 0 20px !important;
        }

        .ranking-passport-section .mob-bar > span:before {
            background: #f8f8f8;
            content: '';
            height: 100%;
            width: 10px;
            right: -10px;
            position: absolute;
            z-index: 1;
        }

        .ranking-passport-section .mob-bar > span:after {
            background: #d5d5d5;
            content: '';
            height: 100%;
            width: 10px;
            right: -15px;
            position: absolute;
            z-index: 1;
            border-bottom-left-radius: 5px;
            border-top-left-radius: 5px;
        }

        .ranking-passport-section .card.shadow-sm.border-0 {
            box-shadow: 0px 3px 18.2px 0px #00000026 !important;
            border-radius: 4px !important;
        }

        .ranking-passport-section table.dataTable thead>tr>th.dt-orderable-asc:hover, table.dataTable thead>tr>th.dt-orderable-desc:hover, table.dataTable thead>tr>td.dt-orderable-asc:hover, table.dataTable thead>tr>td.dt-orderable-desc:hover {
            outline: none;
        }

        .ranking-passport-section .dt-search {
    display: none;
}

        /* Filter dropdown checklist */
        .filter-menu.dropdown-menu {
            min-width: 280px;
            border: 1px solid #E7ECF2;
            box-shadow: 0px 4px 8.5px 0px #0000002B;
            border-radius: 3px;
        }
        .filter-menu .menu-title {
            font-weight: 700;
            color: #0e1f3d;
        }
        .filter-menu .checklist {
            list-style: none;
            padding: 0;
            margin: 0.25rem 0 0 0;
        }
        .filter-menu .checklist li + li {
            border-top: 1px solid #EEF1F5;
        }
        .filter-menu .check-item {
            display: flex;
            align-items: center;
            gap: .6rem;
            padding: .55rem .25rem;
            cursor: pointer;
            user-select: none;
        }
        .filter-menu .check-item input[type="checkbox"] {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 1px solid #2B4369;
            display: inline-block;
            position: relative;
            flex: 0 0 18px;
        }
        .filter-menu .check-item input[type="checkbox"]:checked {
            background: #2B4369;
        }
        .filter-menu .check-item input[type="checkbox"]:checked::after {
            content: '';
            position: absolute;
            left: 4px;
            top: 1px;
            width: 8px;
            height: 10px;
            border: solid #fff;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
        .filter-menu .check-item label {
            margin: 0;
            font-weight: 100;
            color: #0e1f3d;
            cursor: pointer;
            font-size: 13px;
        }
        .filter-menu .actions {
            display: flex;
            gap: .5rem;
        }
        .filter-btn {
            border-color: #878787;
            color: #2B4369;
            padding: 7px 20px;
            font-weight: 400;
            line-height: 1.5;
        }
        .filter-btn:hover {
            background: #2B4369;
            color: #fff;
        }
        .btn-secondary {
            background: #2b4369;
        }

        .search-wrap {
            max-width: 350px;
        }

        input#passportSearch {
            border-color: #2b4369;
            color: black;
            font-size: 13px;
        }

        input#passportSearch:focus {
            background: transparent;
            color: black;
            border-color: #2b4369 !important;
        }

        input#passportSearch::placeholder {
            color: black;
            opacity: 1;
        }

        input#passportSearch::-webkit-input-placeholder {
            color: black;
        }

        input#passportSearch:-ms-input-placeholder {
            color: black;
        }

        input#passportSearch::-ms-input-placeholder {
            color: black;
        }

        .dt-paging, .dt-info {
    display: none;
}
.dt-footer-nav div,
.dt-footer-nav button {
    color: #1C2842 !important;
    font-size: 17px;
}


/* ========================================
   SMART PASSPORT
   ======================================== */

   .how-to-smart {
        background: white;
        color: #15243B;
    }

    p.improve-desc {
        color: #15243b;
        font-size: 27px;
        line-height: 35px;
        font-weight: 300;
        max-width: 600px;
        margin-bottom: 40px;
    }

    p.improve-desc span {
        font-weight: 500;
            color: white;
    }

    p.improve-desc span.text-vector {
        position: relative;
        display: inline-block;
        z-index: 1;
    }

    p.improve-desc span.text-vector:before {
        z-index: -1;
        content: '';
        position: absolute;
        background: url(/assets/frontend/images/vector-title.svg);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        width: 116%;
        height: 116%;
        left: -8%;
        right: -8%;
    }

    section.how-to-smart .card-select-passport {
        padding-bottom: 50px;
    }

    section.how-to-smart p.hero-desc {
        font-size: 18px;
        color: #15243b;
        font-weight: 400;
        max-width: 50%;
        margin-bottom: 30px;
    }

    .how-to-smart .hero-bg {
        position: absolute;
        content: '';
        top: 50px;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1;
        background-repeat: no-repeat;
        background-color: white;
        background-position: right top;
    }

    .how-to-smart .col-md-12 {
        z-index: 9;
    }

    section.hero-section.d-flex.align-items-center.how-to-smart {
        padding-top: 170px;
        align-items: start !important;
    }

    .how-to-smart .col-select-country {
        display: flex;
        padding-top: 0;
        padding-bottom: 0;
        background: transparent;
    }

    .how-to-smart .col-select-country .div-yourPassportSelect,
    .how-to-smart .col-select-country .div-ProgramPassportSelect{
        padding: 10px 20px !important;
        background: #15243B;
    }

    .div-yourPassportSelect {
        border-right: 1px solid #ffffff;
    }

    .div-ProgramPassportSelect {
        border-left: 1px solid #ffffff;
    }

    .how-to-smart .cell-PassportSelect {
        width: 33.33%;
        padding: 0;
    }

    .div-yourPassportSelect {
        border-top-left-radius: 5px;
    }

    .div-ProgramPassportSelect {
        border-top-right-radius: 5px;
    }

    .PassportSelect-result {
        border: 1px solid #15243b;
        border-bottom: 2px solid;
        border-radius: 0px 0px 5px 5px;
        padding: 10px 20px;
    }

    .PassportSelect-result.ProgramPassportSelect-result {
        margin-left: 1px;
        border-radius: 0;
    }

    .PassportSelect-result.yourPassportSelect-result {
        margin-right: 1px;
        border-bottom-right-radius: 0;
    }

    .PassportSelect-result h4 {
        text-align: center;
        display: flex;
        justify-content: center;
        gap: 20%;
        margin-top: 10px;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .difference-result {
        background: white;
        margin-top: 68px;
        margin-left: 2px;
        border-bottom-left-radius: 0;
    }

    .how-to-section .visa-req-table.table-responsive {
        max-height: none;
    }

    .PassportSelect-result a.btn {
        width: 90%;
        display: block;
        margin: 0 auto;
        margin-top: 20px;
        padding: 3px;
    }

    .book-appointment {
        text-align: center;
        margin-top: 40px;
    }

    .book-appointment a {
        min-width: 350px;
        margin: 0;
    }

    .compare-result {
    background: #fbfbfb;
    color: black;
    padding: 10px;
    border-radius: 5px;
    margin-top: 30px;
    width: 100%;
}


.bottom-footer {
    background: #bfb6b6;
    color: #15243b;
    padding: 10px 0;
    font-size: 11px;
    margin-top: 3.5rem;
}

.footer {
    /* padding-bottom: 0; */
}

.header-logo{
    width: 200px;
}
.footer-logo img {
    width: 200px;
}

.passport-tab {
    margin: 0;
    border-radius: initial;
    /* border: initial !important; */
    font-size: 17px !important;
    justify-content: flex-start;
    padding-left: 20px !important;
}

.navbar-nav {
    justify-content: end !important;
    margin: initial !important;
}

div#navbarNav {
    justify-content: end !important;
}

.btn-primary {
    box-shadow: none;
    background: #213e6a;
    border-radius: 0;
    text-transform: uppercase;
}


.selected-passport {
    display: flex;
    margin-bottom: 30px;
}

.selected-passport .select2-container--default .select2-selection--single {
    background: #bfbfbf2b !important;
    color: #1c2842 !important;
    border: 1px solid #1c2842 !important;
    min-height: 42px !important;
    height: 42px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.selected-passport .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
}

.selected-passport .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1c2842 !important;
}

.selected-passport .btn-clear {
    color: white;
    background: #832d5b;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: 1px solid #832d5b;
}

img.passport-select2-icon[src="/assets/frontend/images/search-b.svg"] {
    width: 16px;
    transform: scaleX(-1);
}


/*****************************/

section.hero-thank-you {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    text-align: center;
    justify-self: center;
}

section.hero-thank-you h1#main-hero-title {
    color: #2b4369;
    font-size: 40px;
    margin: 30px 0;
}

section.hero-thank-you .hero-content {
    padding: 0;
}

section.hero-thank-you  img {
    max-width: 110px;
}

section.hero-thank-you  p.hero-desc {
    margin-bottom: 30px;
}

[data-page="single-passport"] .navbar a.nav-link,
[data-page="smart-passport"] .navbar a.nav-link,
[data-page="view-by-area"] .navbar a.nav-link,
body[data-page="thank-you"] .navbar a.nav-link {
    color: #2b4369 !important;
}

[data-page="single-passport"] img.header-logo,
[data-page="smart-passport"] img.header-logo,
[data-page="view-by-area"] img.header-logo,
body[data-page="thank-you"] img.header-logo {
    filter: brightness(0) saturate(100%) invert(24%) sepia(16%) saturate(1824%) hue-rotate(178deg) brightness(92%) contrast(90%);
}

[data-page="single-passport"] .fixed-top img.header-logo,
[data-page="smart-passport"] .fixed-top img.header-logo,
[data-page="view-by-area"] .fixed-top img.header-logo,
body[data-page="thank-you"] .fixed-top img.header-logo {
    filter: none;
}

[data-page="single-passport"] .navbar-nav .nav-item:hover a.nav-link,
[data-page="smart-passport"] .navbar-nav .nav-item:hover a.nav-link,
[data-page="view-by-area"] .navbar-nav .nav-item:hover a.nav-link,
body[data-page="thank-you"] .navbar-nav .nav-item:hover a.nav-link {
    color: white !important;
}

[data-page="single-passport"] .fixed-top a.nav-link,
[data-page="smart-passport"] .fixed-top a.nav-link,
[data-page="view-by-area"] .fixed-top a.nav-link,
body[data-page="thank-you"] .fixed-top a.nav-link {
    color: white !important;
}

/**********************updates***************************/
.footer-description-2 {
    top: 0;
    justify-self: left;
    text-align: left;
}

.contact-us-sc {
    display: flex;
    align-items: center;
    gap: 60px;
}

.contact-us-sc h6 {
    margin: 0;
    font-family: sans-serif;
    font-size: 20px;
    font-weight: 300;
}

.footer-social {
    margin-top: 0;
}

.footer-social a {
    background: transparent;
    margin-right: 1rem;
}

.footer-social a img {
    width: inherit;
}

.footer-description-2 p.description {
    font-size: 0.9rem;
    font-family: sans-serif;
    font-weight: 300;
    display: inline-grid;
    text-align: left;
}

.footer-description-2 p.description span {
    font-weight: 500;
}

div#footer-menus-sc {
    display: flex;
    align-self: end;
    justify-content: center;
}

.footer-description .description {
    margin: 0;
}

footer.footer {
    padding-top: 3.3rem;
    position: relative;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-social a:hover {
    background: transparent;
    filter: brightness(0) saturate(100%) invert(81%) sepia(53%) saturate(1816%) hue-rotate(184deg) brightness(94%) contrast(89%);
}

.clickable-passport {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-passport:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 0px 12px rgba(0, 0, 0, 0.2) !important;
}

.clickable-passport:active {
    transform: translateY(-6px) !important;
    transition: all 0.1s ease;
}

.passport-img {
    pointer-events: none; /* Prevent image drag */
}

div#visaFilterBadges span.badge.visa-filter-badge {
    padding: 0;
}

div#visaFilterBadges span.badge.visa-filter-badge:last-child {
    margin: 0;
}

div#visaFilterBadges span.badge.visa-filter-badge span.badge-label {
    box-shadow: 3px 0 6px rgba(0, 0, 0, 0.2);
}

button.close-filter {
    position: absolute;
    border: none;
    background: transparent;
    right: 0px;
    top: 0px;
    color: #1c2842;
    font-size: 20px;
}

/**************/

.ranking-passport-section-2 {
        background-color: #ffffff;
        min-height: 600px;
    }



    .text-vector {
        /* color: #007bff; */
        position: relative;
    }

    .ranking-table {
        font-size: 14px;
        margin: 0;
    }

    .ranking-table th {
        font-weight: 600;
        color: #6c757d;
        font-size: 12px;
        text-transform: uppercase;
        border: none;
        padding: 12px 8px;
    }

    .ranking-table td {
        border: none;
        padding: 12px 8px;
        vertical-align: middle;
        background: #F8F8F8;
    }

    .ranking-table tbody tr {
        position: relative;
    }

    .ranking-table tbody tr:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(to right, #5F82B6 0%, #ffffff00 100%);
    pointer-events: none;
    }

    .ranking-table tbody tr:hover {
        background-color: #f8f9fa;
        cursor: pointer;
    }

    .flag-img {
        width: 35px;
        height: 35px;
        border-radius: 35px;
        object-fit: cover;
    }

    .country-name {
        font-weight: 500;
        color: #333;
    }

    .rank-badge {
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        padding: 4px 8px;
        /* border-radius: 4px; */
        font-weight: 500;
        font-size: 12px;
    }

    .visa-free-count {
        font-weight: 600;
        color: #28a745;
    }

    .map-container {
        position: relative;
        margin-top: 85px;
    }

    #rankingGlobalMap {
        min-height: 700px;
        /* border: 1px solid #e9ecef; */
    }

    .download-list-div {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 60px;
    }

    .download-list-div p.text-muted {
        margin: 0;
        font-size: 25px;
        color: #2b4369 !important;
        font-weight: 500;
    }

    .table-responsive {
        padding: 10px;
        background: #F8F8F8;
        border-radius: 10px;
    }

    .ranking-table th:first-child {
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
    }

    .ranking-table th:last-child {
        border-bottom-right-radius: 10px;
        border-top-right-radius: 10px;
    }

    button#rankingPrev,
    button#rankingNext {
        background: #2b4369;
        width: 30px;
        height: 30px;
        border-radius: 30px;
        color: white !important;
        line-height: 19px !important;
        font-size: 16px;
    }

    #rankingGlobalMap{
        height: 500px;
    }

    /* Map Legend Styles */
    .map-legend {
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 20px;
    }

    .legend-title {
        font-size: 16px;
        font-weight: 600;
        color: #2b4369;
        margin-bottom: 15px;
    }

    .legend-items {
        gap: 15px !important;
    }

    .legend-item {
        font-size: 13px;
        color: #555;
        white-space: nowrap;
    }

    .legend-color {
        border: 1px solid rgba(0,0,0,0.1);
        flex-shrink: 0;
    }

    .legend-text {
        font-weight: 500;
    }

    .legend-note {
        border-top: 1px solid #e9ecef;
        padding-top: 12px;
        margin-top: 15px !important;
    }


    span.tbg-blue {
        color: white;
        position: relative;
        z-index: 2;
    }

    span.tbg-blue::before {
        content: '';
        position: absolute;
        right: -5px;
        left: -4px;
        top: 0;
        bottom: -1px;
        background: #2D466B;
        z-index: -1;
        border-radius: 3px;
    }





    .visaneed-result,
    div#passportResult,
    .compare-result{
        padding: 2.5rem 0 0 0;
    }

    .program-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 35px;
    }

    a.btn.btn-view-details {
        background: #D9D9D9;
        border-radius: 3px;
        padding-left: 20px;
        padding-right: 20px;
    }

    a.btn.btn-view-details:hover {
        background: #15243b;
        color: white;
    }

    [data-page="smart-passport"] .hero-section,
    [data-page="view-by-area"] .hero-section {
        background: #F7F7F7;
        color: black;
    }

    [data-page="smart-passport"] h1#main-hero-title,
    [data-page="view-by-area"] h1#main-hero-title {
        color: white;
    }

    [data-page="smart-passport"] span.small-title,
    [data-page="view-by-area"] span.small-title {
        color: #273c5a;
    }

    [data-page="smart-passport"] p.hero-desc,
    [data-page="view-by-area"] p.hero-desc {
        max-width: 550px;
    }


    section.cta-download {
        background: #1A2A42;
        color: white;
        text-align: center;
        padding: 40px 0;
    }

    section.cta-download p.small.text-muted {
        color: white !important;
        font-size: 17px;
        font-weight: 100;
    }

    .ranking-passport-section-2 span.badge.legend-item {
        padding: 0;
    }

    .ranking-passport-section-2 span.badge-label {
        width: 30px !important;
    }

    .fi.fis {
        background-size: auto;
    }

/* ========================================
   PASSPORT COMPARISON STYLES
   ======================================== */
.passport-compare-box {
    max-width: initial;
}


/* Header add passport button */
.removePassportBtn,
.addPassportBtn {
    position: absolute;
    background: #bfbfbf2b;
    border: 1px solid #bfc9e0;
    height: 100%;
    width: 30px;
    font-size: 13px;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    top: 0;
    right: -18px;
    border-left: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.passport-compare-box .col-md-3 {
    position: relative;
}

.passport-compare-box .col-md-3:last-child .select2-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0px;
    width: 6px;
    height: 100%;
    border-top: 1px solid #bfc9e0;
    border-bottom: 1px solid #bfc9e0;
    z-index: 0;
}

.removePassportBtn:hover,
.addPassportBtn:hover {
    background: #273c5a;
    color: white;
    border: 1px solid #bfc9e0;
    border-left: 0;
}

.passport-compare-box .col-md-3:nth-child(4) .select2-container::after{
    display: none;
}

.passport-compare-box {
    position: relative;
}

div#passportComparisonContainer {
    justify-content: center;
}

section.compare-passports-section {
    background: white;
    padding-bottom: 47px !important;
}

section.compare-passports-section .cell-PassportSelect {
    max-width: none;
}

section.compare-passports-section #passportComparisonContainer {
    display: flex;
}

/* Default: each visible cell flex equally */
section.compare-passports-section .cell-PassportSelect {
    flex: 1 1 0;
}

body[data-page="smart-passport"] .cell-PassportSelect ,
section.compare-passports-section .cell-PassportSelect {
    padding-right: 0;
}

body[data-page="smart-passport"] .cell-PassportSelect ,
section.compare-passports-section .cell-PassportSelect {
    padding-left: 0;
}

body[data-page="smart-passport"] .cell-PassportSelect .PassportSelect-result.comparePassportSelect-result ,
section.compare-passports-section .cell-PassportSelect .PassportSelect-result.comparePassportSelect-result {
    border-radius: 5px;
    padding: 15px;
}

body[data-page="smart-passport"] .clear-passport-btn ,
section.compare-passports-section .remove-passport-btn {
    color: white;
    background: #832d5b;
    border: 1px solid #832d5b;
    padding: 1px 15px !important;
}

body[data-page="smart-passport"] .comparison-header-info ,
section.compare-passports-section .comparison-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body[data-page="smart-passport"] .comparison-header-info h4 ,
section.compare-passports-section .comparison-header-info h4 {
    font-size: 19px;
    margin: 0;
}

body[data-page="smart-passport"] .comparison-stats ,
section.compare-passports-section .comparison-stats {
    background: #2A4562;
    color: white !important;
    display: flex;
    justify-content: center;
    padding: 0 5px;
    border-radius: 4px;
}

body[data-page="smart-passport"] .stat-item ,
section.compare-passports-section .stat-item {
    display: grid;
    text-align: center;
    font-size: 10px;
}

body[data-page="smart-passport"] .stat-item:not(:last-child) ,
section.compare-passports-section .stat-item:not(:last-child) {
    border-right: 1px solid white;
}

body[data-page="smart-passport"] .stat-item:hover,
section.compare-passports-section .stat-item:hover {
    box-shadow: 0px -3px 21.5px 5px #FFFFFF47 inset;
    background: #2B4369;
}

section.compare-passports-section .stat-item {
    cursor: pointer;
    padding: 5px 7px;
}

body[data-page="smart-passport"] .stat-item {
    cursor: pointer;
    padding: 5px 10px;
}

.difference-result .stat-item:nth-child(2) {
    display: none;
}

body[data-page="smart-passport"] span.stat-number ,
section.compare-passports-section span.stat-number {
    color: white;
    font-weight: 600;
}

body[data-page="smart-passport"] .table-responsive ,
section.compare-passports-section .table-responsive {
    padding: 5px;
    font-size: 15px;
}

body[data-page="smart-passport"] span.badge ,
section.compare-passports-section span.badge {
    width: 90px;
    font-size: 10px;
}

.PassportSelect-result a.btn {
    background: #1c2842 !important;
    font-size: 14px;
}

body[data-page="smart-passport"] .visa-req-table.table-responsive ,
section.compare-passports-section .visa-req-table.table-responsive {
    max-height: 400px;
    margin-bottom: 2px;
}

.cell-PassportSelect .visa-req-table {
    max-height: 400px;
    margin-bottom: 20px;
}


.page-loader {
    position: fixed;
    z-index: 999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #d4d6d9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-loader img {
    width: 350px;
}

body.loading {
    overflow: hidden;
}

button.select2-selection__clear {
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    right: 18px;
    z-index: 10;
}

.select2-selection__clear ~ .select2-selection__arrow {
    display: none !important;
}

button.select2-selection__clear span {
    font-weight: 400;
    font-size: 19px;
}

.hero-section button.select2-selection__clear span {
    color: #ffffffd1;
}

table#passportTable .clickable-passport:hover {
    box-shadow: none !important;
    transform: none !important;
}

table#passportTable tbody>tr:hover {
    box-shadow: inset 0 0 15px rgba(0,0,0,0.25);
}

.global-map-section span.badge.visa-filter-badge {
    padding: 0;
}

div#map-legend span.badge.badge-voa,
div#map-legend span.badge.badge-vf{
    color: #469390;
}

div#map-legend span.badge.badge-ev,
div#map-legend span.badge.badge-eta{
    color: #699FE2;
}

div#map-legend span.badge.badge-vr{
    color: #832D5B;
}

span.badge.visa-filter-badge:hover,
span.badge.visa-filter-badge:not(.vf-not-active) {
    color: white !important;
}
.selected-passport .select2-container {
    max-width: 80% !important;
}

.how-to-section-2 {
    text-align: center;
    position: relative;
}

.how-to-section-2 p.how-to-desc {
    margin: 0 auto;
    margin-top: 20px;
    max-width: 1000px;
    font-weight: 300;
}

.how-to-section-buttons {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 80px;
}

.how-to-section-buttons::before {
    content: '';
    position: absolute;
    background: white;
    height: 2px;
    width: 30px;
    top: -45px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.how-to-section-buttons a.btn.btn-primary {
    margin: 0;
}

.how-to-section-2::before {
    content: '';
    position: absolute;
    background: url('../images/dotted-map.png');
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-position: top;
    opacity: 0.5;
    z-index: 0;
}

.how-to-section-2 .container{
    position: inherit;
    z-index: 1;
}

footer.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/dotted-map.png');
    background-repeat: no-repeat;
    background-position: bottom;
    background-position-y: -435.6px;
    opacity: 0.5; /* background only */
    pointer-events: none; /* keep content clickable */
    z-index: 0;
}

/* .single-hero .hero-bg{
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background-repeat: no-repeat;
    background-color: white;
    background-position: right;
    background-image: url('../images/single-passport.png');
    background-size: contain;
    filter: grayscale(1);
} */

.dynamic-hero-bg img {
    width: 120px;
    padding: 0;
    border-radius: 0 7px 7px 0;
    filter: grayscale(100%) drop-shadow(-9.29723px 1.32818px 7.43778px rgba(0, 0, 0, 0.35));
    margin: 6px;
    opacity: 0.9;
    height: 179px;
    object-fit: cover;
}

.dynamic-hero-bg img.passport-hero-img-12 {
    filter: drop-shadow(-9.29723px 1.32818px 7.43778px rgba(0, 0, 0, 0.35));
    opacity: 1;
}

.dynamic-hero-bg {
    justify-items: right;
    transform: rotate(-17.3deg);
    position: absolute;
    content: '';
    /* top: 0; */
    bottom: -410px;
    left: 0;
    right: -140px;
    z-index: -1;
}

section.hero-section.d-flex.align-items-center.single-hero {
    overflow: hidden;
}

.single-hero {
    position: relative;
    min-height: 60vh;
    box-shadow: inset 0 -50px 30px -10px rgb(255 255 255);
}

.single-hero .hero-content {
    color: #232426;
    padding-right: 30%;
}

.single-hero .hero-content .hero-title .passport-flag {/* Rectangle 23794 */
    box-shadow: 0px 8.07947px 8.07947px -2.01987px rgba(12, 12, 13, 0.1), 0px 8.07947px 8.07947px -2.01987px rgba(12, 12, 13, 0.05);
    border-radius: 80px;
}

div#map-legend span.badge {
    position: relative;
}

div#map-legend span.badge.vf-not-active::before {
    content: '';
}
div#map-legend span.badge::before {
    content: 'x';
    background: transparent;
    color: white;
    position: absolute;
    top: 1px;
    right: 3px;
    opacity: 1;
}

.global-map-section span.badge.legend-item.top-10.rank-not-active:hover,
.global-map-section span.badge.legend-item.top-10 {
    background: #111a27 !important;
    color: white !important;
}

.global-map-section span.badge.legend-item.top-30.rank-not-active:hover,
.global-map-section span.badge.legend-item.top-30 {
    background: #344b6d !important;
    color: white !important;
}

.global-map-section span.badge.legend-item.top-50.rank-not-active:hover,
.global-map-section span.badge.legend-item.top-50 {
    background: #4f5e7a !important;
    color: white !important;
}

.global-map-section span.badge.legend-item.top-100.rank-not-active:hover,
.global-map-section span.badge.legend-item.top-100 {
    background: #708198 !important;
    color: white !important;
}

.global-map-section span.badge.legend-item.top-100plus.rank-not-active:hover,
.global-map-section span.badge.legend-item.top-100plus {
    background: #9caabd !important;
    color: white !important;
}

.global-map-section span.badge.legend-item.top-na.rank-not-active:hover,
.global-map-section span.badge.legend-item.top-na {
    background: #BFB6B6 !important;
    color: white !important;
}

.global-map-section span.badge.legend-item.top-10.rank-not-active {
    color: #111a27 !important;
}

.global-map-section span.badge.legend-item.top-30.rank-not-active {
    color: #344b6d !important;
}

.global-map-section span.badge.legend-item.top-50.rank-not-active {
    color: #4f5e7a !important;
}

.global-map-section span.badge.legend-item.top-100.rank-not-active {
    color: #708198 !important;
}

.global-map-section span.badge.legend-item.top-100plus.rank-not-active {
    color: #9caabd !important;
}

.global-map-section span.badge.legend-item.top-na.rank-not-active {
    color: #e6e6e6 !important;
}

.global-map-section span.badge.legend-item.rank-not-active {
    background: white !important;
    color: white !important;
}

body[data-page="single-passport"] button.select2-selection__clear {
    display: none;
}

body[data-page="single-passport"] span#passportFlag {
    display: none;
}
/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

.tooltip-icon {
    color: #6c757d;
    cursor: pointer;
    font-size: 0.9em;
    position: relative;
}
.tooltip-icon:hover {
    color: #495057;
}

/* Custom Tooltip Styles */
.custom-tooltip {
    position: absolute;
    background: #2c3e50;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    max-width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    pointer-events: none;
    display: none;
}

.custom-tooltip.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2c3e50;
}

.custom-tooltip .tooltip-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #3498db;
}

.custom-tooltip .tooltip-content {
    font-size: 13px;
    line-height: 1.5;
    color: #ecf0f1;
}

.destinations {
    cursor: pointer;
    text-decoration: underline;
}
.destinations:hover {
    background: #39393921;
}

.destination-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.destination-item:last-child {
    border-bottom: none;
}
.destination-item span.badge.bg-vf {
    background: #469390;
}

.destination-item span.badge.bg-vr {
    background: #832D5B;
}

.destination-item span.badge.bg-eta {
    background: #699FE2;
}

.destination-item span.badge.bg-ev {
    background: #699FE2;
}

.destination-item span.badge.bg-voa {
    background: #469390;
}
#destinationModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}
.visa-free-list, .visa-required-list {
    /* max-height: 400px; */
    overflow-y: auto;
}

.destination-item span.fi {
    border-radius: 60px;
    height: 20px;
    width: 20px;
}

.destination-item .country-flag-name {
    font-size: 14px;
}






.visa-req-table thead th {
    font-size: 12px;
    color: #111C2C;
    position: relative;
}

.visa-req-table thead th:first-child {padding-left: 19px;border-top-left-radius: 4px;}

.visa-req-table thead th:last-child {
    padding-right: 19px;
    border-top-right-radius: 4px;
    width: 145px;
}

.sort-icon {
    margin-left: 3px;
    color: #999; /* default grey */
}

.sortable.active .sort-icon {
    color: #111C2C; /* highlight when sorting (blue) */
}


/***/

.destination-content.visa-requirements-table {
    padding: 0;
    border: 0;
}

.destination-content.visa-requirements-table .visa-table-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.destination-content.visa-requirements-table .visa-req-table {
    max-height: 450px;
}

.destination-content.visa-requirements-table .visa-table-title span.country-rank {
    font-weight: 400;
}

.destination-content.visa-requirements-table .visa-table-title span {
    font-size: 15px;
}

.destination-content.visa-requirements-table .visa-table-title h3 span {
    margin: 0;
    font-size: 20px;
}

.destination-content.visa-requirements-table .visa-table-title span.country-rank span {
    font-size: 15px;
}

.destination-content.visa-requirements-table .country-flag span.fi {
    border-radius: 60px;
    /* width: 30px;
    height: 30px; */
    box-shadow: 0px 8.07947px 8.07947px -2.01987px rgba(12, 12, 13, 0.1), 0px 8.07947px 8.07947px -2.01987px rgba(12, 12, 13, 0.05);
}

.destination-content.visa-requirements-table button.btn.btn-outline-secondary {
    background: #1C2842;
}

.destination-content.visa-requirements-table button#visaFilterBtn {
    color: #1C2842;
    border-color: #1C2842;
}

.destination-content.visa-requirements-table button#visaFilterBtn:hover{
    color: white;
    background: #1C2842;
}

.destination-content.visa-requirements-table input.form-control.visa-search {border-color: #1C2842;}

.destination-content.visa-requirements-table input.form-control.visa-search:focus {
    background: transparent;
    /* color: white; */
    border: 1px solid #bfc9e0 !important;
}

.section-cta-website p.top-passports-desc {
    margin-bottom: 40px;
}

.section-cta-website a.btn.btn-primary {
    margin: 0;
}

.navbar-nav li.nav-item.active a,
.navbar-nav .nav-item:hover {
    color: white !important;
}

section#compare-passport {
    min-height: 40vh;
    text-align: center;
}

section#compare-passport .card-select-passport {
    justify-items: center;
}

section#compare-passport p.hero-desc {
    margin: 0 auto;
    margin-bottom: 20px;
}

section#compare-passport span.tbg-blue::before {
    background: white;
}

section#compare-passport span.tbg-blue {
    color: #2D466B;
}

section#compare-passport .card-select-passport p {
    text-align: left;
    font-size: 18px;
}

section#compare-passport .container {
    bottom: -7vh;
    position: relative;
}

section.compare-passports-secti {
    padding-top: 170px !important;
}

section.compare-passports-section {
    padding-top: 100px;
    min-height: 40vh;
    align-content: center;
}

section.compare-passports-section p.compare-passports-desc {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 0px;
}

.comp-info {
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.comp-info .country-rank span {
    font-size: 10px;
}

.comp-info span.fi {
    border-radius: 30px;
    font-size: 20px;
    margin: 0 5px !important;
}
/* Stat item clickable cursor */
.stat-item {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.stat-item:hover {
    opacity: 0.8;
}

/* Highlight row animation */
.highlight-row {
    animation: highlightFade 2s ease-in-out;
}

button.removePassportBtn {
    right: 12px;
}

.passport-compare-box .col-md-3:nth-child(3) span.select2,
.passport-compare-box .col-md-3:nth-child(4) span.select2 {
    width: 90% !important;
    display: block;
}
.passport-compare-box .col-md-3:nth-child(3) .select2-container::after,
.passport-compare-box .col-md-3:nth-child(4) .select2-container::after {
    display: block !important;
    content: '';
    position: absolute;
    top: 0;
    right: 0px;
    width: 6px;
    height: 100%;
    border-top: 1px solid #bfc9e0;
    border-bottom: 1px solid #bfc9e0;
    z-index: 0;
}

.passport-compare-box .col-md-3:has(.removePassportBtn):has(.addPassportBtn) 
.removePassportBtn{
    right: 10px;
}
.passport-compare-box .col-md-3:has(.removePassportBtn):has(.addPassportBtn) 
.addPassportBtn {
    right: -20px;
}

.passport-compare-box .col-md-3:nth-child(4) .removePassportBtn {
    right: 12px !important;
}

.passport-compare-box .col-md-3:has(.addPassportBtn):nth-child(3) .select2-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: -32px;
    width: 6px;
    height: 100%;
    border-top: 1px solid #bfc9e0;
    border-bottom: 1px solid #bfc9e0;
    z-index: 0;
}

@keyframes highlightFade {
    0% {
        background-color: #fff3cd;
    }
    100% {
        background-color: transparent;
    }
}

/* Stat item clickable cursor */
.stat-item {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.stat-item:hover {
    opacity: 0.8;
}

/* Highlight row animation */
.highlight-row {
    background-color: #fff3cd !important;
    animation: highlightFade 2s ease-in-out;
}

@keyframes highlightFade {
    0% {
        background-color: #fff3cd;
    }
    100% {
        background-color: transparent;
    }
}


.filter-btn span#filterCount{
    display: none !important;
}

.cell-PassportSelect:last-child .PassportSelect-result h4 {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px !important;
}

a#downloadListBtn {
    margin: 0;
}

/* FAQ Section Styles */
.faq-section {
    background: #ffffff;
    padding: 60px 0 0 0;
}

.faq-section #how-to-title {
    color: #273c5a;
    font-size: 50px;
    text-align: center;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: #273c5a;
    padding: 45px 0;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question[aria-expanded="true"] {
    background: #F0F7FF;
    padding-bottom: 20px;
}

.faq-icon {
    margin-left: 12px;
    font-size: 1.1em;
    color: #3a4a6b;
    display: flex;
    align-items: center;
}

.faq-icon .fa-xmark {
    display: none;
}

.faq-question .svg-inline--fa{
    padding: 5px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.faq-question[aria-expanded="true"] .fa-plus {
    display: none;
}
.faq-question[aria-expanded="true"] .fa-xmark {
    display: inline;
}

.faq-icon .fa-xmark {
    background: black;
    color: white;
}

.faq-answer {
    background: #F0F7FF;
    padding: 0 0px 45px 0px;
    font-size: 1rem;
    color: #273c5a;
    animation: fadeIn 0.3s;
}

div#faqAccordion {
    padding: 0;
    margin-top: 40px;
}

.faq-question .container {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.faq-question span.faq-nbr {
    position: absolute;
    left: -70px;
    top: -18px;
    font-size: 40px;
    color: #9D96A8;
}

button.reset-passport-btn:hover,
button.reset-passport-btn {
    background: #832D5B;
    color: white;
}

.compare-passport-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    width: calc(100% + 32px);
}

.compare-passport-h p {
    margin: 0;
}

ul#select2-comparePassportSelect0-results .select2-results__option--disabled,
ul#select2-comparePassportSelect1-results .select2-results__option--disabled,
ul#select2-comparePassportSelect2-results .select2-results__option--disabled,
ul#select2-comparePassportSelect3-results .select2-results__option--disabled {
    background: #40526b;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hide PassportSelect-result on mobile, show mobile-compare-country */
@media (max-width: 768px) {
    /* .mobile-compare-country {
        display: block !important;
    } */
    
    section.compare-passports-section .PassportSelect-result.comparePassportSelect-result {
        display: none !important;
    }

    /* Hide smart passport results on mobile */
    .PassportSelect-result.yourPassportSelect-result,
    .PassportSelect-result.ProgramPassportSelect-result,
    .PassportSelect-result.difference-result {
        display: none !important;
    }
}

/* Show PassportSelect-result on desktop, hide mobile-compare-country */
@media (min-width: 769px) {
    .mobile-compare-country {
        display: none !important;
    }
}
