/* =========================================================
   Hub Freight International — Main Stylesheet
   Palette: Navy / Blue / White / Light Gray / Accent Orange
   ========================================================= */

:root {
  --navy: #0b1f3a;
  --navy-deep: #071526;
  --blue: #1a4f8b;
  --blue-mid: #2a6bb5;
  --blue-light: #e8f1fa;
  --accent: #e85d04;
  --accent-hover: #d14f00;
  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #eef1f6;
  --gray-200: #dce3ec;
  --gray-500: #6b7c93;
  --gray-700: #3a4a5c;
  --text: #1a2332;
  --shadow: 0 8px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 16px 48px rgba(11, 31, 58, 0.14);
  --radius: 12px;
  --transition: 0.25s ease;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Libre Baskerville", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.25;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 640px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.bg-soft {
  background: var(--gray-50);
}

.bg-navy {
  background: var(--navy);
  color: var(--white);
}

.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy .section-title {
  color: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  font-weight: 600;
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  transition: all var(--transition);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn-outline-light-custom {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
  background: transparent;
}

.btn-outline-light-custom:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Top bar & Navbar ---------- */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 0.45rem 0;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
  color: var(--white);
}

.top-bar-right a {
  margin-left: 0.85rem;
  font-size: 1rem;
}

.site-nav {
  box-shadow: 0 2px 16px rgba(11, 31, 58, 0.06);
  padding: 0.65rem 0;
  z-index: 1030;
}

.navbar-brand {
  gap: 0.65rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), var(--navy));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--blue-mid);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav .nav-link {
  color: var(--navy);
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
  position: relative;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--accent);
}

.site-nav .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 0.5rem;
}

.site-nav .dropdown-item {
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  font-weight: 500;
}

.site-nav .dropdown-item:hover,
.site-nav .dropdown-item.active {
  background: var(--blue-light);
  color: var(--navy);
}

.nav-cta .btn {
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(232, 93, 4, 0.18), transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 620px;
  margin-bottom: 0;
}

.breadcrumb-nav {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav a:hover {
  color: var(--white);
}

.breadcrumb-nav span {
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0.4rem;
}

.breadcrumb-nav .current {
  color: var(--white);
}

/* ---------- Home Hero ---------- */
.home-hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(7, 21, 38, 0.92) 0%, rgba(11, 31, 58, 0.78) 45%, rgba(26, 79, 139, 0.55) 100%),
    url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.home-hero .container {
  position: relative;
  z-index: 2;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.home-hero .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.home-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  max-width: 720px;
  margin-bottom: 1.15rem;
}

.home-hero .hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats-strip .stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: var(--white);
}

.hero-stats-strip .stat-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem;
  height: 100%;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}

.service-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--gray-500);
  flex-grow: 1;
}

.service-card .card-link {
  font-weight: 600;
  color: var(--blue);
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-card .card-link:hover {
  color: var(--accent);
}

/* ---------- Feature / Why Choose ---------- */
.feature-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.feature-item .icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: background var(--transition), color var(--transition);
}

.feature-item:hover .icon-wrap {
  background: var(--navy);
  color: var(--white);
}

.feature-item h3 {
  font-size: 1.1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- About preview ---------- */
.about-preview-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  min-height: 360px;
  background:
    linear-gradient(to top, rgba(7, 21, 38, 0.45), transparent 50%),
    url("https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?auto=format&fit=crop&w=900&q=80") center/cover;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
}

.checklist li i {
  color: var(--accent);
  margin-top: 0.2rem;
}

/* ---------- How it works ---------- */
.steps-row {
  counter-reset: step;
}

.step-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
  text-align: center;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

.step-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------- Global Network ---------- */
.network-section {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 40%, var(--blue) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.network-section .section-title {
  color: var(--white);
}

.network-map {
  position: relative;
  max-width: 900px;
  margin: 2rem auto 0;
  aspect-ratio: 2 / 1;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 45%, rgba(42, 107, 181, 0.35), transparent 50%),
    radial-gradient(ellipse at 70% 40%, rgba(232, 93, 4, 0.15), transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 500'%3E%3Cpath fill='%23ffffff' fill-opacity='0.08' d='M150 180c40-30 80-20 120-40s60-10 90 10 70 5 100-15 80 0 110 20 90-10 130 5 70 40 40 70-50 40-90 35-70-20-110-10-80 30-120 20-70-25-110-20-80 15-100-10-20-40 0-65z'/%3E%3C/svg%3E") center/contain no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 2rem;
}

.region-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background var(--transition);
}

.region-pill:hover,
.region-pill.active {
  background: var(--accent);
  border-color: var(--accent);
}

.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(232, 93, 4, 0.5);
  animation: pulse-dot 2s infinite;
  transform: translate(-50%, -50%);
}

.map-dot::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.7rem;
  background: rgba(7, 21, 38, 0.9);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.map-dot:hover::after {
  opacity: 1;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(232, 93, 4, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(232, 93, 4, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 93, 4, 0); }
}

/* ---------- Tracking ---------- */
.tracking-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.tracking-box .form-control {
  border-radius: 8px;
  padding: 0.85rem 1rem;
  border-color: var(--gray-200);
}

.tracking-result {
  display: none;
  margin-top: 2rem;
  animation: fadeUp 0.4s ease;
}

.tracking-result.show {
  display: block;
}

.track-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.track-meta-item {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 1rem;
}

.track-meta-item label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.track-meta-item span {
  font-weight: 600;
  color: var(--navy);
}

.status-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #e6f6ed;
  color: #0d7a3f;
}

.timeline {
  position: relative;
  padding-left: 1.75rem;
  margin: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--gray-200);
}

.timeline li {
  position: relative;
  padding-bottom: 1.35rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 0.35rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gray-200);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gray-200);
}

.timeline li.done::before {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline li.current::before {
  background: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
  animation: pulse-dot 2s infinite;
}

.timeline li strong {
  display: block;
  color: var(--navy);
}

.timeline li span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ---------- Stats ---------- */
.stats-section {
  background: var(--navy);
  color: var(--white);
}

.stat-counter {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-counter .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--white);
  display: block;
  line-height: 1.2;
}

.stat-counter .num .suffix {
  color: var(--accent);
}

.stat-counter .label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  height: 100%;
}

.testimonial-card .stars {
  color: #f5a623;
  margin-bottom: 0.75rem;
}

.testimonial-card p {
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--navy);
}

.testimonial-card .role {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background:
    linear-gradient(110deg, rgba(7, 21, 38, 0.92), rgba(26, 79, 139, 0.85)),
    url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--white);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.form-control,
.form-select {
  border-radius: 8px;
  border-color: var(--gray-200);
  padding: 0.7rem 0.95rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 0.2rem rgba(26, 79, 139, 0.15);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  font-size: 0.82rem;
}

.alert-form {
  display: none;
  border-radius: 10px;
}

.alert-form.show {
  display: block;
}

/* ---------- Contact ---------- */
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.contact-info-item i {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-info-item strong {
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.contact-info-item a,
.contact-info-item span {
  color: var(--white);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 320px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Service page extras ---------- */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.service-list li i {
  color: var(--accent);
  font-size: 1.15rem;
}

.compare-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  height: 100%;
  border-top: 4px solid var(--blue);
}

.compare-card.lcl {
  border-top-color: var(--accent);
}

.compare-card h3 {
  margin-bottom: 1rem;
}

.compare-card ul {
  padding-left: 1.1rem;
  color: var(--gray-700);
}

.compare-card ul li {
  margin-bottom: 0.5rem;
}

.workflow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
}

.workflow-step {
  background: var(--white);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  text-align: center;
}

.workflow-arrow {
  color: var(--accent);
  font-size: 1.25rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  margin-top: auto;
}

.footer-main {
  padding: 4rem 0 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand .brand-name,
.footer-brand .brand-sub {
  color: var(--white);
}

.footer-brand .brand-sub {
  opacity: 0.7;
}

.footer-about {
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
}

.footer-title {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.88rem;
  align-items: flex-start;
  min-width: 0;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.8);
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0;
  font-size: 0.88rem;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1040;
  transition: transform var(--transition);
  /* Keep fixed button out of document scroll width */
  transform: translateZ(0);
}

.whatsapp-float:hover {
  color: var(--white);
  transform: translateZ(0) scale(1.08);
}

/* ---------- FAQ ---------- */
.accordion-item {
  border: none;
  margin-bottom: 0.75rem;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.accordion-button {
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
}

.accordion-button:not(.collapsed) {
  background: var(--blue-light);
  color: var(--navy);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Loading spinner ---------- */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading .spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
  margin-right: 0.4rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .nav-cta {
    margin-top: 0.75rem;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .workflow-arrow {
    display: none;
  }

  .workflow-step {
    width: calc(50% - 0.5rem);
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 3.5rem 0;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .home-hero h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    overflow-wrap: anywhere;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .page-hero {
    padding: 3.25rem 0 2.5rem;
  }

  .tracking-box,
  .form-card {
    padding: 1.35rem;
  }

  .workflow-step {
    width: 100%;
  }

  .map-dot::after {
    display: none;
  }

  .footer-main .col-6 {
    margin-bottom: 0.5rem;
  }

  .container,
  .row {
    max-width: 100%;
  }

  .row {
    --bs-gutter-x: 1rem;
  }
}

@media (max-width: 575.98px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}
