.visa-container {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.visa-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: #1a71cc;
}

.visa-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-items: center;
  margin-bottom: 40px;
}

.visa-card {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: transform 0.2s ease;
}

.visa-card:hover {
  transform: scale(1.03);
}

.visa-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.visa-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.visa-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  z-index: 1;
}

.visa-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  font-size: 35px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  z-index: 2;
}

.view-more-wrapper {
  text-align: center;
  margin-top: 30px;
}

.view-more-button {
  padding: 10px 20px;
  border: 2px solid #1a71cc;
  color: #1a71cc;
  background: transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.view-more-button:hover {
  background-color: #1a71cc;
  color: #fff;
}

/* Responsive */
@media (max-width: 1200px) {
  .visa-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .visa-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .visa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .visa-grid {
    grid-template-columns: 1fr;
  }
}

.visa-link {
  display: block;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.visa-detail-container {
  max-width: 1500px;
  margin: 40px auto;
  padding: 0 20px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.visa-detail-title {
  font-size: 28px;
  font-weight: bold;
  margin: 30px 0 20px;
  text-align: center;
  color: #1a73e8;
}

.visa-detail-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 30px;
}

.visa-detail-description {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.visa-detail-description table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 15px;
}

.visa-detail-description th,
.visa-detail-description td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
}

.visa-detail-description th {
  background-color: #f0f0f0;
  font-weight: bold;
  color: #111;
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
  .visa-detail-title {
    font-size: 22px;
    margin: 24px 0 16px;
  }

  .visa-detail-container {
    padding: 0 12px;
    margin: 20px auto;
  }

  .visa-detail-description {
    font-size: 15px;
  }

  .visa-detail-description table {
    font-size: 14px;
  }

  .visa-detail-description th,
  .visa-detail-description td {
    padding: 6px 8px;
  }
}

@media (max-width: 480px) {
  .visa-detail-title {
    font-size: 20px;
  }

  .visa-detail-description {
    font-size: 14px;
    line-height: 1.6;
  }

  .visa-detail-description table {
    font-size: 13px;
  }
}
