/* -------------------- 
  Visa Section Styles
 -------------------- */
.visa-hero {
  padding-top: 180px;
  background-image: url('/images/visa.jpg');
  background-size: cover;
  background-position: inherit;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}
.visa-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
}
.visa-hero-content {
  background-color: rgba(17, 121, 226, 0.85);  /* semi-transparent background */
  padding: 5px 10px;
  border-radius: 8px;
  opacity: 0.9;
  font-size: 2.5rem;
  z-index: 2;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.home {
  margin-top: 20px;
  position: relative;
  z-index: 2;  /* makes it appear above the background overlay */
}
.home-span{
  color: rgba(3, 29, 68, 0.8);
  font-weight:600;
  font-size: 1.2rem;
}
.home-btn {
  display: inline-block;
  background-color: rgba(224, 224, 224, 0.6);
  color: #020202;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 15px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 2;  /* make sure it's clickable */
}
.home-btn:hover,.visa-hero-content:hover {
  background-color: #0055aa;
  color: #fff;
}
.main-content {
  padding: 0;
  margin: 0 auto;
}
.visa-container {
  max-width: 1080px;
  padding: 20px;
  margin: 0 auto;
}
.visa-container p {
  color: #333;
  margin-bottom: 20px;
}
.visa-container h2 {
  color: #333;
  font-size: 1.4rem;
  padding-bottom: 10px;
}
.visa-requirements {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}
.visa-requirements li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 2px;
  font-size: 16px;
}
.visa-requirements li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #007BFF;
}
.visa-category-section {
  padding-top: 40px;
  padding-bottom: 40px;
}
.visa-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 0 10px;
  box-sizing: border-box;
}
.visa-card {
  max-width: 500px;

  flex: 1 1 300px;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}
.visa-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
}
.visa-card h2 {
  padding: 0;
  font-size: 1.5rem;
  color: #003366;
}
.visa-card h3 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #333;
}

/* For screens up to 1024px (laptops/tablets) */
@media screen and (max-width: 1024px) {
  .visa-hero {
    height: 350px;
    padding: 15px;
  }
  .visa-hero-content {
    font-size: 2rem;
  }
  .visa-grid {
    gap: 40px;
  }
  .visa-card {
    max-width: 90%;
  }
}

/* For screens up to 786px (tablets) */
@media screen and (max-width: 786px) {
  .visa-hero {
    height: 300px;
  }
  .visa-hero-content {
    font-size: 1.6rem;
    padding: 8px;
  }
  .home-btn {
    font-size: 0.95rem;
    padding: 8px 16px;
  }
  .visa-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .visa-card {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

/* For screens up to 480px (mobile phones) */
@media screen and (max-width: 480px) {
  .visa-hero {
    height: 250px;
    padding: 10px;
  }
  .visa-hero-content {
    font-size: 1.3rem;
    padding: 6px;
  }
  .home-btn {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 10px;
  }
  .visa-container h2 {
    font-size: 1.2rem;
  }
  .visa-requirements li {
    font-size: 14px;
  }
  .visa-grid {
    padding: 0 10px;
    gap: 20px;
  }
  .visa-card {
    padding: 10px;
  }
}
