/* ======================== Reset and Base Styles =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
html {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
} /* ======================== Header Styles =========================== */ /* ======================== Header Styles =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
  background: rgba(248, 249, 250, 0.9); /* off-white with 90% opacity */
  backdrop-filter: blur(6px); /* adds a modern glass effect */
  border-bottom: 1px solid rgba(224, 224, 224, 0.8);
  transition: all 0.3s ease;
}
.site-header.sticky {
  background: rgba(255, 255, 255, 0.95); /* slightly brighter on scroll */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.site-header .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header .logo img {
  max-height: 50px;
  width: auto;
} /* Hide old nav-menu (only login remains) */
.nav-menu {
  display: none;
} /* Login Button */
.header-actions .btn-visa-yellow {
  padding: 6px 20px; /* slimmer button */
  font-size: 14px;
  border-radius: 20px;
  font-weight: 600;
} /* ======================== Hero Section =========================== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.hero-typing-text {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  z-index: 2;
  text-align: center;
  width: 80%;
  max-width: 1000px;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #f3c301;
  animation: blink 0.75s step-end infinite;
}
@keyframes blink {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #f3c301;
  }
} /* ======================== Search Box =========================== */
.hero-search-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.85);
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 70%;
  max-width: 1000px;
}
.hero-search-box label {
  display: block;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 500;
}
.hero-search-box input[type="text"] {
  width: 100%;
  padding: 12px;
  border-radius: 25px;
  border: 2px solid transparent;
  font-size: 16px;
  background-color: #fff;
  color: #000;
  margin-bottom: 20px;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}
.hero-search-box button {
  padding: 12px 30px;
  font-size: 16px;
  background-color: #f3c301;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  color: #000;
  transition: background 0.3s ease;
}
.hero-search-box button:hover {
  background-color: #e6b700;
}
.card-img-top {
  height: 220px; /* set a fixed height */
  object-fit: cover; /* crop/zoom to fill area */
  width: 100%; /* make sure it fills card width */
} /* ======================== Content Wrapper =========================== */
.content {
  padding: 40px 20px;
  margin-top: 800px; /* to prevent overlap with fixed header and banner */
} /* ======================== Footer =========================== */
.site-footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 30px 15px;
  font-size: 16px;
  line-height: 1.6;
}
.site-footer p {
  margin: 5px 0;
}
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
} /* ======================== Autocomplete =========================== */
.autocomplete-wrapper {
  position: relative;
}
.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 250px;
  overflow-y: auto;
  z-index: 999;
  list-style: none;
  padding: 0;
  margin: 0;
}
.autocomplete-list li {
  padding: 10px;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.autocomplete-list li img {
  width: 20px;
  margin-right: 10px;
}
.read-btn:hover,
.show-more-btn:hover {
  color: #fff !important;
}
.blog-hero {
  position: relative;
  width: 100%;
  min-height: 340px;
  background-image: url("../assets/images/visa4u-blog-page-hero-image-travelling.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 1.5rem;
}
.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}
.blog-hero .hero-title {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
} /* Breadcrumb style */
.v4u-breadcrumb {
  background: #f8f9fa; /* subtle light background */
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 1rem; /* spacing before the cards */
}
.v4u-breadcrumb .breadcrumb {
  background: transparent;
}
.v4u-breadcrumb .breadcrumb a {
  text-decoration: none;
  color: #0d6efd; /* Bootstrap primary; adjust if needed */
}
.v4u-breadcrumb .breadcrumb a:hover {
  text-decoration: underline;
}
.v4u-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›"; /* cleaner chevron */
  color: #6c757d;
  font-weight: 600;
} /* Sidebar updates box */
.updates-box .list-group-item {
  padding: 0.85rem 1rem;
}
.updates-box .list-group-item + .list-group-item {
  border-top: 1px solid #eef1f4;
}
.updates-box .list-group-item a {
  display: inline-block;
  font-weight: 600;
  color: #212529;
}
.updates-box .list-group-item a:hover {
  color: #0d6efd;
  text-decoration: underline;
}
.updates-box .card-header {
  padding: 0.75rem 1rem;
} /* Ensure hero + breadcrumb spacing plays nice with two-column layout */
.v4u-breadcrumb {
  margin-bottom: 1rem;
} /* ======================== Responsive Styles =========================== */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: row; /* keep logo left, button right */
  }
  .hero-typing-text {
    font-size: 22px;
    width: 90%;
  }
  .hero-search-box {
    padding: 25px 20px;
  }
}
@media (max-width: 576px) {
  .hero-typing-text {
    font-size: 18px;
    width: 95%;
  }
  .hero-search-box {
    padding: 20px 15px;
    width: 90%;
  }
  .site-footer {
    font-size: 14px;
    padding: 20px 10px;
  }
  .header-actions .btn-visa-yellow {
    padding: 5px 15px;
    font-size: 13px;
  }
} /* Prevent yellow background and thin line from Chrome autocomplete */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 9999s ease-in-out 0s;
  -webkit-text-fill-color: #000 !important;
  box-shadow: 0 0 0px 1000px #fff inset !important;
  border: 2px solid transparent;
} /* Yellow Button */
.btn-visa-yellow {
  padding: 12px 30px;
  font-size: 16px;
  background-color: #f3c301;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  color: #000;
  transition: background 0.3s ease;
}
.btn-visa-yellow:hover {
  background-color: #e6b700;
  color: #fff;
}
.footer-links {
  background: rgba(248, 249, 250, 0.9); /* same as header */
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(224, 224, 224, 0.8);
  text-align: center;
}
.footer-links a {
  color: #000; /* black text */
  text-decoration: none; /* no underline */
  font-weight: 500;
}
.footer-links a:hover {
  color: #333; /* slightly darker on hover */
  text-decoration: none; /* still no underline */
}
.mt-6 {
  margin-top: 5rem !important;
}
.mt-7 {
  margin-top: 6rem !important;
}
.mt-8 {
  margin-top: 7rem !important;
}
