@layer base {
  html,
  body {
    margin: 0;
    padding: 0;
  }

  body {
    overscroll-behavior: none;
  }

  main > :first-child {
    margin-top: 0 !important;
  }

  main > :last-child {
    margin-bottom: 0 !important;
  }
}

::-webkit-scrollbar {
  display: none;
}

/* Sky Ambience, Flight Path & Flying Plane Styles (Matched with live site) */
.sky-ambience {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.sky-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(4, 115, 234, 0.08) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  opacity: 0.8;
}

.flight-path {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.flight-path svg {
  width: 100%;
  height: 100%;
}

.animated-flight-line {
  animation: dashMove 40s linear infinite;
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -1000;
  }
}

.floating-plane {
  position: absolute;
  top: 22%;
  left: -60px;
  font-size: 2.2rem;
  filter: drop-shadow(0 0 16px rgba(4, 115, 234, 0.6));
  animation: flyStraightAcross 18s linear infinite;
  z-index: 2;
  pointer-events: none;
  line-height: 1;
}

.floating-plane-2 {
  position: absolute;
  top: 65%;
  left: -60px;
  font-size: 1.6rem;
  filter: drop-shadow(0 0 12px rgba(56, 210, 0, 0.6));
  animation: flyStraightAcrossSecondary 26s linear infinite;
  animation-delay: 8s;
  z-index: 2;
  pointer-events: none;
  line-height: 1;
}

@keyframes flyStraightAcross {
  0% {
    transform: translate(0, 0) rotate(45deg) scale(0.9);
    opacity: 0;
  }

  4% {
    opacity: 1;
  }

  96% {
    opacity: 1;
  }

  100% {
    transform: translate(calc(100vw + 120px), 0) rotate(45deg) scale(1.05);
    opacity: 0;
  }
}

@keyframes flyStraightAcrossSecondary {
  0% {
    transform: translate(0, 0) rotate(45deg) scale(0.8);
    opacity: 0;
  }

  4% {
    opacity: 0.9;
  }

  96% {
    opacity: 0.9;
  }

  100% {
    transform: translate(calc(100vw + 120px), 0) rotate(45deg) scale(0.95);
    opacity: 0;
  }
}

/* Banner Lightbox & Calendly Modals */
.lightbox-modal,
.calendly-modal {
  border: none;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  padding: 1rem;
  margin: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

.lightbox-modal[open],
.calendly-modal[open] {
  display: flex;
  opacity: 1;
}

.lightbox-modal::backdrop,
.calendly-modal::backdrop {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* FAQ Accordion Styling */
details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary {
  list-style: none;
}

details.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: #0473ea;
}

details.faq-item[open] {
  border-color: rgba(4, 115, 234, 0.4);
  box-shadow: 0 10px 25px -5px rgba(4, 115, 234, 0.08);
}

/* Button Consistency & High-Contrast Hover Styles */
.btn-secondary-glow {
  background-color: #16a34a !important;
  color: #ffffff !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary-glow:hover {
  background-color: #15803d !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.4) !important;
}

.btn-primary-glow {
  background-color: #0473ea !important;
  color: #ffffff !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-glow:hover {
  background-color: #035bb8 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(4, 115, 234, 0.35) !important;
}

.btn-outline-hover-fill {
  background-color: #ffffff !important;
  color: #0a192f !important;
  border: 1.5px solid rgba(4, 115, 234, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-hover-fill:hover {
  background-color: #0473ea !important;
  color: #ffffff !important;
  border-color: #0473ea !important;
  box-shadow: 0 6px 20px rgba(4, 115, 234, 0.25) !important;
}

.btn-outline-hover-fill:hover .btn-icon {
  color: #ffffff !important;
}

/* Visa Category Radio Buttons - Prevent Checked State from Going Invisible on Hover */
.visa-cat-btn {
  background-color: #ffffff;
  color: #0a192f;
  border: 1.5px solid rgba(200, 228, 252, 0.9);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.visa-cat-btn:hover {
  background-color: #eaf4fe !important;
  color: #0473ea !important;
  border-color: #0473ea !important;
}

input[type="radio"].peer:checked + .visa-cat-btn {
  background-color: #0473ea !important;
  color: #ffffff !important;
  border-color: #0473ea !important;
  box-shadow: 0 4px 14px rgba(4, 115, 234, 0.35) !important;
}

input[type="radio"].peer:checked + .visa-cat-btn:hover {
  background-color: #035bb8 !important;
  color: #ffffff !important;
  border-color: #035bb8 !important;
}

/* WordPress Pagination Modern Styling */
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.85rem;
  border-radius: 9999px;
  background-color: #ffffff;
  border: 1px solid rgba(200, 228, 252, 0.8);
  color: #0a192f;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.page-numbers:hover,
.page-numbers.current {
  background-color: #0473ea;
  border-color: #0473ea;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(4, 115, 234, 0.3);
}

/* Success Stories Carousel */
.stories-slider-track {
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.stories-slider-track::-webkit-scrollbar {
  display: none;
}

/* Contact Form 7 Theme Styling */
.wpcf7 form.init,
.wpcf7-form {
  position: relative;
  width: 100%;
}

.wpcf7-form p {
  margin: 0 !important;
}

.wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  margin-top: 0.25rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100% !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  padding: 0.875rem 1rem !important;
  border-radius: 0.75rem !important;
  font-size: 0.875rem !important;
  border: 1px solid #cbd5e1 !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
}

@media (min-width: 640px) {
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="url"],
  .wpcf7-form select,
  .wpcf7-form textarea {
    font-size: 0.9375rem !important;
  }
}

.wpcf7-form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.75rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.25em 1.25em !important;
  padding-right: 2.5rem !important;
  cursor: pointer !important;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: #0473ea !important;
  box-shadow: 0 0 0 3px rgba(4, 115, 234, 0.25) !important;
}

.wpcf7-form input[type="submit"] {
  width: 100% !important;
  padding: 1rem 1.5rem !important;
  border-radius: 0.75rem !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #001f3f !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
  transition: all 0.2s ease !important;
  display: block !important;
}

.wpcf7-form input[type="submit"]:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45) !important;
}

.wpcf7-form input[type="submit"]:active {
  transform: translateY(0) scale(0.99) !important;
}

.wpcf7-form .wpcf7-not-valid-tip {
  color: #dc2626 !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  margin-top: 0.25rem !important;
}

.wpcf7-form .wpcf7-response-output {
  margin: 1rem 0 0 0 !important;
  padding: 0.875rem 1.25rem !important;
  border-radius: 0.75rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  border: 1px solid transparent !important;
}

.wpcf7-form.sent .wpcf7-response-output {
  background-color: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
  color: #166534 !important;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output {
  background-color: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #991b1b !important;
}

.wpcf7-spinner {
  margin: 0.5rem auto 0 !important;
  display: block !important;
}

/* Radio buttons styled as modern cards/pills in CF7 */
.cf7-visa-radio {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.625rem !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  .cf7-visa-radio {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.cf7-visa-radio .wpcf7-list-item {
  margin: 0 !important;
  display: block !important;
  width: 100% !important;
}

.cf7-visa-radio .wpcf7-list-item label {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  cursor: pointer !important;
  position: relative !important;
}

.cf7-visa-radio .wpcf7-list-item input[type="radio"] {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
}

.cf7-visa-radio .wpcf7-list-item .wpcf7-list-item-label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 0.75rem 0.5rem !important;
  background-color: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 0.75rem !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  color: #334155 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  user-select: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  width: 100% !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
}

.cf7-visa-radio .wpcf7-list-item:hover .wpcf7-list-item-label {
  border-color: #0473ea !important;
  color: #003a70 !important;
}

.cf7-visa-radio .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label,
.cf7-visa-radio .wpcf7-list-item label:has(input[type="radio"]:checked) .wpcf7-list-item-label {
  background-color: #003a70 !important;
  color: #ffffff !important;
  border-color: #003a70 !important;
  box-shadow: 0 4px 14px rgba(0, 58, 112, 0.25) !important;
}

