

.visa-card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px; 
  row-gap: 40px; 
  max-width: 1020px;
  margin: 0 auto;
}

.visa-card {
  flex: 1 1 calc(33.333% - 24px);
  max-width: 320px;
  min-width: 280px;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-family: 'Inter', sans-serif;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}



.country-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0A0A0A;
  margin: 0;
}

.visa-type {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1E3A8A;
  margin-bottom: 16px;
}

.investment .amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E3A8A;
  display: block;
  margin-top: 8px;
}

.investment .label {
  font-size: 0.75rem;
  font-weight: 400;
  color: #4B5563;
  margin-bottom: 12px;
}

.processing {
  padding-top: 1rem;
}

.processing .time {
  font-size: 1rem;
  font-weight: 500;
  color: #0A0A0A;
}

.processing .label {
  font-size: 0.75rem;
  font-weight: 400;
  color: #4B5563;
  margin-bottom: 16px;
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 20px 0 16px;
  text-align: left;
}

.benefits li {
  font-size: 0.75rem;
  font-weight: 400;
  color: #4B5563;
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.benefits li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #D97706;
  font-size: 1rem;
  line-height: 1;
}



.learn-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: #1E3A8A;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.75rem;
  color: #FAFAFA;
  transition: background 0.2s ease;
  text-align: center;
}

.learn-btn:hover {
  background: #f3f4f6;
  color: #0A0A0A;
}

.button-wrapper{
    padding: 1rem;
}

.visa-pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.visa-pagination-wrapper .page-numbers {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.visa-pagination-wrapper .page-numbers li a,
.visa-pagination-wrapper .page-numbers li span {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background-color: #f9fafb;
  color: #1f2937;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}

.visa-pagination-wrapper .page-numbers li a:hover {
  background-color: #e5e7eb;
}

.visa-pagination-wrapper .page-numbers .current {
  background-color: #1E3A8A;
  color: #fff;
  border-color: #1E3A8A;
}

#citizenship-programs-wrapper {
  position: relative; /* để overlay định vị tương đối */
}

.visa-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.spinner {
  border: 4px solid #d1d5db;
  border-top: 4px solid #1E3A8A;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Card Quốc Gia */
.country-card {
  border-radius: 12px;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  width: 200px;
}

.country-card {
  transition: transform 0.3s ease;
}
.country-card:hover {
  transform: scale(1.03);
  box-shadow: none !important;
}

.country-card img {
  width: 200px !important;
  height: 150px !important;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease-in-out;
}

.country-card img:hover {
  transform: translateY(-4px);
}

.country-card .country-name {
  padding: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  color: #1E293B;
}


.visa-card.residency-card {
  padding: 20px;
}



/* Responsive */
@media (max-width: 1024px) {
  .visa-card {
    width: 100%;
  }
}
.country-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

