/* ========== Font – eye-friendly, aesthetic ========== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ========== Design tokens (DRY) ========== */
:root {
  --color-primary: #0d6efd;
  --color-primary-dark: #0a58ca;
  --color-success: #198754;
  --color-footer-bg: #2c3e50;
  --color-text-dark: #1a1a2e;
  --color-text-muted: #5a5a5a;
  --hero-overlay: rgba(0, 0, 0, 0.35);
  --section-heading-color: #1a1a2e;
  --radius-card: 0.5rem;
  --navbar-height: 4rem;
  --anim-duration: 0.35s;
  --anim-duration-mobile: 0.25s;
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-card: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.06), 0 0.125rem 0.5rem rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.1), 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.05);
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 5rem; /* reserve space for bottom fixed call bar */
}

/* ========== Navbar: 30% logo, 70% links. Green CTA. Fixed. ========== */
.navbar-spacer {
  height: var(--navbar-height);
}

.navbar-custom {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(0.625rem);
  -webkit-backdrop-filter: blur(0.625rem);
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.08);
  min-height: var(--navbar-height);
}

.navbar-custom .navbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.navbar-brand-wrap {
  flex: 0 0 30%;
  max-width: 30%;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
}

.navbar-custom .brand-link {
  color: var(--color-primary) !important;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
  padding-top: 0;
  padding-bottom: 0;
  height: 100%;
  display: inline-flex;
  align-items: center;
}

.navbar-custom .brand-link:hover {
  color: var(--color-primary-dark) !important;
}

.navbar-custom .brand-link i {
  color: var(--color-primary);
}

.navbar-logo {
  height: 100%;
  max-height: 2.75rem;
  width: auto;
  object-fit: contain;
  object-position: left center;
  vertical-align: middle;
  display: block;
}

.navbar-links-wrap {
  flex: 0 0 70%;
  max-width: 70%;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.navbar-custom .nav-links-plain {
  gap: 0.25rem;
}

.navbar-custom .nav-links-plain .nav-link {
  color: var(--color-text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  position: relative;
  transition: color 0.2s ease;
}

.navbar-custom .nav-links-plain .nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.25rem;
  height: 0.125rem;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.navbar-custom .nav-links-plain .nav-link:hover,
.navbar-custom .nav-links-plain .nav-link.active {
  color: var(--color-primary) !important;
}

.navbar-custom .nav-links-plain .nav-link:hover::after,
.navbar-custom .nav-links-plain .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-custom .btn-cta-nav {
  background: var(--color-success);
  color: #fff !important;
  font-weight: 600;
  padding: 0.45rem 1.25rem;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.navbar-custom .btn-cta-nav:hover {
  background: #157347;
  color: #fff !important;
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.25rem 0.75rem rgba(25, 135, 84, 0.35);
}

.navbar-custom .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.15);
}

.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230d6efd' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 62em) {
  .navbar-links-wrap {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 0.5rem;
  }
  .navbar-custom .nav-links-plain {
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar-custom .navbar-toggler {
    margin-left: auto; /* push hamburger to the right on mobile/tablet */
  }
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 40vh;
  background-image: url("../images/home-bg-1.png");
  background-size: cover; /* fill hero while keeping aspect ratio */
  background-position: center center; /* show image nicely from top and bottom */
  background-repeat: no-repeat;
  border-radius: 0.75rem;
  box-shadow: 0 -0.375rem 1.5rem rgba(0, 0, 0, 0.08), 0 0.5rem 2rem rgba(0, 0, 0, 0.15), 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  border-radius: 0.75rem;
}

.hero .container {
  z-index: 1;
}

.hero-content {
  min-height: 40vh;
}

@media (max-width: 48em) {
  .hero {
    background-size: cover;        /* keep full image coverage */
    background-position: center 30%; /* lift a bit so subject is visible */
  }
}

.hero-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.hero-tagline {
  opacity: 0.95;
}

.btn-hero-cta {
  font-size: 1.1rem;
  margin-top: clamp(1rem, 3vw, 2.5rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-cta:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.375rem 1.25rem rgba(25, 135, 84, 0.4);
  color: #fff;
}

.hero-card {
  background: #fff;
  border: none;
  box-shadow: var(--shadow-card);
}

.hero-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.hero-card .section-title {
  color: var(--section-heading-color);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Compact hero form – less height, fits first view better */
.hero-form-card {
  padding: 1rem 1.25rem !important;
  max-width: 24rem;
}

.hero-form-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--section-heading-color);
  margin-bottom: 0.15rem;
}

.hero-form-subtext {
  font-size: 0.8rem;
}

.hero-form-label {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--color-text-dark);
}

.quote-form .form-control,
.quote-form .form-select {
  border-radius: var(--radius-card);
  border: 0.0625rem solid #dee2e6;
}

.quote-form .form-control-sm,
.quote-form .form-select-sm {
  font-size: 0.9rem;
}

.quote-form .btn-success {
  border-radius: var(--radius-card);
}

.form-disclaimer {
  font-size: 0.7rem;
}

/* Classier date input with icon */
.date-input-wrap {
  position: relative;
}

.date-input-wrap .date-input-field {
  padding-right: 2.25rem;
  background: #fff;
  cursor: pointer;
}

.date-input-wrap .date-input-icon {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
  font-size: 1rem;
}

.date-input-wrap:focus-within .date-input-icon {
  color: var(--color-primary);
}

/* Quote modal – clean look, a little wider */
.quote-modal-dialog {
  max-width: 34rem;
}

.quote-modal-content {
  border: none;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card-hover);
}

.quote-modal-content .modal-header {
  padding: 1.25rem 1.5rem 0;
}

.quote-modal-content .modal-body {
  padding: 1rem 1.5rem 2rem;
  min-height: 18rem;
}

/* Calendar (Flatpickr) styles are in css/calendar.css */

/* ========== Section headings ========== */
.section-heading {
  color: var(--section-heading-color);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-subtitle {
  color: #6c757d;
  font-size: 1rem;
}

/* ========== Service cards ========== */
.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-card);
}

.service-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-card-hover) !important;
}

.service-icon.icon-box {
  width: 3rem;
  height: 3rem;
}

.service-link {
  color: var(--color-primary) !important;
}

.service-link:hover {
  color: var(--color-primary-dark) !important;
}

/* ========== Locations section ========== */
.section-locations {
  background: #fff;
}

.location-card {
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-card-hover) !important;
}

.location-card .card-body {
  padding: 1rem 1.25rem;
}

.location-icon {
  color: var(--color-primary);
  font-size: 1.1rem;
}

/* ========== Trust section ========== */
.trust-icon {
  width: 4rem;
  height: 4rem;
}

/* ========== Testimonial (single card) ========== */
.testimonial-card {
  background: #fff;
  box-shadow: var(--shadow-card);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.quote-icon {
  font-size: 3rem;
  line-height: 1;
  opacity: 0.6;
  color: var(--color-primary) !important;
}

/* ========== Pricing section ========== */
.section-pricing {
  background: #f8fafc;
}

.pricing-card {
  box-shadow: var(--shadow-card);
}

.pricing-card-popular {
  box-shadow: var(--shadow-card-hover);
  border: 0.125rem solid rgba(13, 110, 253, 0.35);
}

.pricing-badge {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-primary);
  color: #fff;
}

.pricing-amount {
  font-weight: 700;
  color: var(--color-primary);
}

/* Price range block (multiple lines per card – home shifting & vehicle transport) */
.pricing-range-block {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.pricing-range-block p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  gap: 0.5rem;
  font-size: 0.875rem;
}
.pricing-range-block p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.pricing-range-block .pricing-amount {
  font-weight: 600;
  white-space: nowrap;
}

.pricing-feature-list li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.pricing-feature-list li i {
  color: var(--color-success);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.btn-pricing {
  background: var(--color-success);
  color: #fff;
  border: none;
  padding-block: 0.55rem;
}

.btn-pricing:hover {
  background: #157347;
  color: #fff;
}

/* ========== FAQ section ========== */
.section-faqs {
  background: #f8f9fb;
}

.faq-item + .faq-item {
  margin-top: 1.25rem;
}

.faq-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-icon i {
  color: var(--color-primary);
  font-size: 1.1rem;
}

/* ========== Process section (4-step cards) ========== */
.section-process {
  background: #f0f4f8;
}

.process-step-card {
  background: #fff;
  border: none;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  padding: 1.75rem 1.5rem !important;
}

.process-step-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.process-step-card .step-icon-wrap {
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto;
  transition: transform 0.5s ease;
}

.process-step-card:hover .step-icon-wrap {
  transform: rotate(360deg);
}

.process-step-card .step-label {
  color: var(--color-success);
  font-weight: 600;
  font-size: 1rem;
}

.process-step-card .step-title {
  color: var(--color-text-dark);
  font-weight: 700;
  font-size: 1.15rem;
}

.process-step-card .text-muted.small {
  font-size: 0.925rem;
  line-height: 1.5;
}

/* ========== Footer ========== */
.footer {
  background: var(--color-footer-bg);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
}

.footer-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: #fff;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  margin-right: 0.5rem;
  transition: background 0.2s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* ========== Reusable: Page hero (inner pages e.g. Services) ========== */
.page-hero {
  min-height: 32vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 0 0 0.75rem 0.75rem;
  overflow: hidden;
}
.page-hero .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.page-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ========== Reusable: Service offer cards (What We Offer) ========== */
.service-offer-card {
  border: none;
  border-radius: var(--radius-card);
  overflow: visible;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--anim-duration) ease, transform var(--anim-duration) ease;
  height: 100%;
  position: relative;
}
.service-offer-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-0.25rem);
}
.service-offer-card .card-img-wrap {
  height: 11.25rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
/* Icon on the line between image and text; sibling of img-wrap and body so z-index puts it on top of both */
.service-offer-card .card-icon-badge {
  position: absolute;
  top: 11.25rem;
  right: 1rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 2;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15);
}
.service-offer-card .card-body {
  padding: 1.25rem;
}
.service-offer-card .card-title {
  font-weight: 700;
  color: var(--section-heading-color);
  font-size: 1.1rem;
}
.service-offer-card .card-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
.service-offer-card .card-price {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.service-offer-card .btn-quote {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-card);
  font-weight: 600;
  font-size: 0.9rem;
}
.service-offer-card .btn-quote:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

/* ========== Reusable: Servicing areas (city tags) ========== */
.section-areas {
  background: #f8f9fa;
}
.area-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin: 0.25rem;
  background: #e9ecef;
  color: var(--color-text-dark);
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: default;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.area-tag:hover {
  transform: scale(1.05);
  box-shadow: 0 0.1875rem 0.75rem rgba(0, 0, 0, 0.12);
}

/* ========== Reusable: CTA banner (e.g. Don't Trust Your Move to Luck) ========== */
.cta-banner {
  min-height: 17.5rem;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 0.75rem;
}
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 58, 112, 0.85) 0%, rgba(44, 62, 80, 0.9) 100%);
}
.cta-banner .container {
  position: relative;
  z-index: 1;
}
.cta-banner-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.cta-banner-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}
.cta-banner .btn-cta-banner {
  background: #20a39e;
  color: #fff;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-card);
  font-weight: 600;
}
.cta-banner .btn-cta-banner:hover {
  background: #1a8a86;
  color: #fff;
}

/* ========== Responsive ========== */
@media (max-width: 62em) {
  .hero {
    min-height: 40vh;
  }
  .hero-content {
    min-height: auto;
  }
}

@media (max-width: 36em) {
  .hero-card {
    padding: 1.25rem !important;
  }
}

/* ========== Floating contact icons (right side, popping) ========== */
.floating-contact-wrap {
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.floating-contact-wrap > * {
  pointer-events: auto;
}
.floating-contact-btn {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: floating-contact-pop 2s ease-in-out infinite;
}
.floating-contact-btn:last-child {
  animation-delay: 0.4s;
}
.floating-contact-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.25);
  color: #fff;
}
.floating-contact-whatsapp {
  background: #25d366;
}
.floating-contact-btn i {
  font-size: 1.5rem;
}
@keyframes floating-contact-pop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.35rem); }
}
.floating-callbar {
  position: fixed;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  bottom: 1rem;
  z-index: 1050;
  width: calc(100vw - 1.5rem);
  max-width: 26rem;
  height: 3.25rem;
  border-radius: 999rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, #0d6efd 0%, #0a58ca 100%);
  box-shadow: 0 0.5rem 1.5rem rgba(13, 110, 253, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-callbar:hover {
  color: #fff;
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.65rem 1.7rem rgba(13, 110, 253, 0.4);
}
.floating-callbar i {
  font-size: 1.05rem;
}
@media (max-width: 36em) {
  body {
    padding-bottom: 4.5rem;
  }
  .floating-contact-wrap {
    right: 0.75rem;
    bottom: 4.75rem;
  }
  .floating-contact-btn {
    width: 2.75rem;
    height: 2.75rem;
  }
  .floating-contact-btn i {
    font-size: 1.25rem;
  }
  .floating-callbar {
    width: calc(100vw - 1rem);
    bottom: 0.5rem;
    height: 3rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 62.001em) {
  body {
    padding-bottom: 5.5rem;
  }
}
