@import url("/assets/v8/fonts-22a9fdb8.css");
@import url("/assets/v8/style-94579fba.css");

/* Prevent horizontal scroll on mobile */
html {
  overflow-x: hidden;
}

/* ─── Global refinements ─── */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section {
  position: relative;
}

abbr {
  font-weight: bold;
  color: red;
}

/* ─── Hero section ─── */
#home-search {
  min-height: 520px;
  display: flex;
  align-items: center;
}

#home-search h1 {
  letter-spacing: -0.02em;
  line-height: 1.1;
}

#home-search h6 {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0.85;
}

#home-search .bg-blur {
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: border-color 0.3s ease;
}

#home-search .bg-blur:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

#home-search .location input,
#home-search .item {
  padding-left: 30px !important;
}

#home-search .ts-control {
  height: 50px !important;
}

#home-search .btn-primary {
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#home-search .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(81, 67, 217, 0.4);
}

/* ─── Navigation ─── */
.navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-brand-item {
  transition: opacity 0.2s ease;
}

.navbar-brand:hover .navbar-brand-item {
  opacity: 0.85;
}

#navbarCollapse #new-qr {
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbarCollapse #new-qr:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(81, 67, 217, 0.35);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  padding: 0.5rem;
  animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  transition: background-color 0.15s ease;
}

/* ─── Profile cards ─── */
.small-profile a.bookmark span.legend {
  display: none;
}

.small-profile .card {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.small-profile .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.small-profile .card-img-top {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.small-profile .card:hover .card-img-top {
  transform: scale(1.04);
}

.small-profile .card-body {
  padding: 1rem 1.15rem;
}

.small-profile .card-title a {
  color: var(--bs-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.small-profile .card-title a:hover {
  color: var(--bs-primary);
}

.small-profile .profile-view-link {
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.small-profile .profile-view-link:hover {
  opacity: 1;
  color: var(--bs-primary) !important;
}

.small-profile .card-footer {
  background: transparent;
  padding: 0.75rem 1.15rem;
}

.small-profile .card-footer .btn-primary {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.small-profile .card-footer .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(81, 67, 217, 0.3);
}

.badge.text-bg-success {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.7rem;
  padding: 0.4em 0.75em;
}

/* ─── Section headings ─── */
section h2 {
  letter-spacing: -0.01em;
}

section .lead {
  color: var(--bs-gray-600);
}

/* ─── Quote request form ─── */
form#new_quote_request .hidden {
  margin-bottom: 0 !important;
}

form#new_quote_request .form-control,
form#new_quote_request .form-select {
  border-radius: 10px;
  border-color: var(--bs-gray-200);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form#new_quote_request .btn-primary {
  border-radius: 10px;
  font-weight: 600;
  padding: 0.75rem 2rem;
}

/* ─── Pagination ─── */
.pagination .page-item {
  margin-left: 4px !important;
}

.pagination .page-link {
  border-radius: 8px;
  border: none;
  color: var(--bs-gray-600);
  transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
  background-color: var(--bs-primary);
  box-shadow: 0 2px 8px rgba(81, 67, 217, 0.3);
}

/* ─── Location inputs ─── */
.location input {
  height: 28px;
}

.location .ts-control {
  height: 40px;
}

/* ─── Country selector ─── */
.flag {
  margin-bottom: 3px;
}

.flag img {
  width: 20px;
}

.ts-wrapper .option.country-selector img {
  width: 25px;
}

.ts-wrapper .option.country-selector .name {
  margin-left: 5px;
}

.ts-control .item.country-selector img {
  width: 20px;
}

.ts-control .item.country-selector .name {
  margin-left: 5px;
}

.home-country .ts-control {
  position: relative;
  padding-left: 40px;
}

.home-country .ts-control::before {
  content: "\f0ac";
  font-family: "Font Awesome 6 Free";
  font-display: "swap";
  font-weight: 900;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
}

.home-country .ts-control::after {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  pointer-events: none;
}

.dropdown-text {
  display: none;
}

.navbar-collapse.show .dropdown-text {
  display: inline;
}

/* ─── Blog ─── */
#blog-entry {
  font-size: 1.15rem;
  line-height: 1.75;
}

#blog-entry h2 {
  font-size: 2.25rem;
  letter-spacing: -0.01em;
  margin-top: 2rem;
}

#blog-nav li:last-child:before {
  content: "";
}

/* ─── Video thumbnails ─── */
.video-thumbnail {
  position: relative;
  display: inline-block;
  width: 320px;
  max-width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.video-thumbnail:hover img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 56px;
  padding: 20px;
  border-radius: 50%;
  background: rgba(81, 67, 217, 0.85);
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.play-button:hover {
  background: rgba(81, 67, 217, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ─── SVG fills ─── */
.fill-af {
  fill: #5143d9 !important;
}

/* ─── Footer ─── */
footer.bg-dark {
  background: linear-gradient(180deg, #0b0a12 0%, #141320 100%) !important;
}

footer .nav-link {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

footer .nav-link:hover {
  opacity: 1;
}

footer .btn-white {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

footer .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

footer address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

footer p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── Cards (generic) ─── */
.card {
  border-radius: 14px;
}

.card.shadow {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.03) !important;
}

/* ─── Feedback form ─── */
textarea#quote_feedback_details {
  min-height: 150px;
}

/* ─── Landing pages ─── */
.landing-page-body h2 {
  margin-top: 20px !important;
  font-size: 1.5rem;
}

.landing-page-body h3 {
  font-size: 1.3rem;
  color: #4e4e4e;
}

.landing-page-body a {
  display: block;
  text-align: center;
}

/* ─── Availability / QR status forms ─── */
#ar-form form .form-check:first-of-type,
#qr-status-update form .form-check:first-of-type {
  margin-top: 35px !important;
}

#ar-form legend,
#ar-form label {
  color: #000;
}

#ar-form legend,
#ar-form label.form-label {
  font-weight: bold;
}

/* ─── Date picker fix ─── */
input#quote_request_scheduled_at {
  appearance: auto !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  display: block;
}

/* ─── Back to top ─── */
.back-top {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-top-show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ─── Smooth scroll ─── */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ─── Comments / testimonials ─── */
.dots-primary .tns-nav button {
  transition: all 0.25s ease;
}

/* ─── Agency section ─── */
section .bg-mode {
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
