/* Add this CSS to your existing Visa.css file or style.css */
body{
    background-color: #cadbe7;

}

.country-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-link:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-5px);
}

.country-link:hover .country {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.country-link:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
  border-radius: 8px;
}

.country-link:active .country {
  transform: scale(0.98);
}

/* Ensure the country div maintains its original styling */
.country-link .country {
  cursor: pointer;
  transition: all 0.3s ease;
}

.country-link .country:hover {
  transform: none;
  /* Remove any existing hover transform on country div since we're handling it on the link */
}






.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}

.visa-header {
  text-align: center;
  padding: 0% 7%;
  font-size: 20px;
}

.visa-topic {
  margin-top: 0%;
}

.search-box {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 1rem auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.search-box input {
  flex-grow: 1;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.search-box button {
  background: #00bcd4;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.description {
  text-align: center;
  max-width: 900px;
  margin: 2rem auto;
  line-height: 1.6;
  font-weight: bolder;
}

.countries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.country {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  /* box-shadow: 0 5px 10px rgba(255, 255, 255, 0.167); */
  text-align: center;
  color: black;
}

.country-link:hover .country{
  box-shadow: none;
  color: chocolate;
}

.country-link{
  border-radius: 10px;

}

.country-link:hover {
  /* border: 1px solid rgba(40, 40, 40, 0.404); */
  cursor: pointer;
  transition: ease-in 0.5s;
  transition: ease-out 0.3s;
  box-shadow: 0 10px 20px rgb(255, 255, 255);
  


}

.country img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.country p {
  margin: 0;
  padding: 1rem;
  font-weight: bold;
}




/* Visa Specialities Section */

.vs-container {
  max-width: 1200px;
  margin: 0 auto;
  /* background-color: #fff5eb; */
  border-radius: 16px;
  padding: 40px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 50px;
}

.vs-section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #000000;
}

.vs-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: rgba(89, 89, 91, 0.596);
  background-position: center;
  background-size: cover;
  backdrop-filter: blur(5px);
}

.vs-feature {
  flex: 1;
  min-width: 240px;
  padding: 20px;
  text-align: center;
  margin: 10px;
  border-right: 1px solid #eee;
}

.vs-feature:first-child {
  border-left: 1px solid #eee;
}

.vs-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-feature i {
  font-size: 60px;
  color: #ffffff;
}

.vs-feature-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.vs-feature-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
}

@media (max-width: 768px) {
  .vs-features {
    flex-direction: column;
  }

  .vs-feature {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .vs-feature:last-child {
    border-bottom: none;
  }


}




/* Destinition Form Section */

.vf-visa-inquiry-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.vf-header {
  background-color: #0077d937;
  padding: 30px 20px;
  text-align: center;
  color: white;
  border-radius: 5px 5px 0 0;
  position: relative;
  /* background-color: rgba(38, 38, 41, 0.208); */
  background-position: center;
  background-size: cover;
  backdrop-filter: blur(5px);
}

.vf-header h2 {
  font-weight: 600;
  font-size: 28px;
  color: #fefefe;
  margin-top: 10px;
}

.vf-icon-circle {
  width: 80px;
  height: 80px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid #0077d9;

}

.vf-passport-icon {
  color: #ffa500;
  font-size: 40px;
}

.vf-form-container {
  /* background-color: white; */
  padding: 30px;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

  background-color: rgba(255, 255, 255, 0.354);
  background-position: center;
  background-size: cover;
  backdrop-filter: blur(5px);
}

.vf-form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.vf-form-group {
  flex: 1;
  padding: 0 15px;
  margin-bottom: 20px;
  min-width: 300px;
}

.vf-form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #ffffff;
}

.vf-form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 16px;
  color: #555;
  outline: none;
  transition: border-color 0.3s;
}

.vf-form-control:focus {
  border-color: #0077d9;
}

.vf-form-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 16px;
  color: #555;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}

.vf-date-input {
  position: relative;
}

.vf-date-input i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  pointer-events: none;
}

.vf-submit-btn {
  background-color: #ffa500;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 40px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin: 20px auto 0;
  transition: background-color 0.3s;
}

.vf-submit-btn:hover {
  background-color: #f09000;
}

/* Flatpickr custom styling */
.flatpickr-calendar {
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  border: none;
  font-family: 'Poppins', sans-serif;
}

.flatpickr-day.selected {
  background: #0077d9;
  border-color: #0077d9;
}

.flatpickr-day.selected:hover {
  background: #0066b8;
  border-color: #0066b8;
}

.flatpickr-day.today {
  border-color: #ffa500;
}

.flatpickr-day:hover {
  background: #f0f0f0;
}

.flatpickr-months .flatpickr-month {
  background: #0077d9;
  color: white;
}

.flatpickr-current-month {
  font-size: 16px;
  padding: 10px 0;
}

.flatpickr-monthDropdown-months {
  color: white;
}

.flatpickr-weekdays {
  background: #0077d9;
}

span.flatpickr-weekday {
  background: #0077d9;
  color: white;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  fill: white;
  padding: 10px;
}

@media (max-width: 768px) {
  .vf-form-group {
    flex: 100%;
  }
}
@media (max-width:394px){
  .search-box button {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  margin-left: 30%;
}
}