/*
 * Homepage Redesign — Modern Layout + Full Responsive
 * Color Palette (all from established site design):
 *   Primary:   #413686  (dark purple)
 *   Accent:    #ffba00  (gold/yellow)
 *   Dark Navy: #272242
 *   Mid:       #4C4765
 *   Border:    #eef0f2
 *   Body text: #5b5b5b
 *   White:     #ffffff
 */

/* =============================================
   BOX-SIZING SAFEGUARD
   ============================================= */
.hd-hero,
.hd-hero *,
.hd-features-bar,
.hd-features-bar *,
.hd-services,
.hd-services *,
.hd-stats,
.hd-stats *,
.hd-process,
.hd-process *,
.hd-quote,
.hd-quote *,
.hd-testimonials,
.hd-testimonials *,
.hd-partners,
.hd-partners *,
.hd-about-cta,
.hd-about-cta * {
  box-sizing: border-box;
}

/* =============================================
   SECTION BASE
   ============================================= */
.hd-section {
  width: 100%;
  position: relative;
  overflow-x: hidden;
}

/* =============================================
   MODERN HERO SECTION
   ============================================= */
.hd-hero {
  width: 100%;
  min-height: 90vh;
  height: auto;
  position: relative;
  display: flex;
  align-items: center;
  background: url('../images/banner1.jpg') center / cover no-repeat;
  overflow: hidden;
  /* Pad top to clear sticky nav (~165px at desktop) */
  padding-top: 40px;
  padding-bottom: 80px;
}

.hd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(39, 34, 66, 0.94) 0%,
    rgba(65, 54, 134, 0.82) 55%,
    rgba(39, 34, 66, 0.72) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Background slider panels */
.hd-hero__slider-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hd-hero__slider-bg .hd-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hd-hero__slider-bg .hd-slide.active { opacity: 1; }
.hd-hero__slider-bg .hd-slide-1 { background-image: url('../images/banner1.jpg'); }
.hd-hero__slider-bg .hd-slide-2 { background-image: url('../images/banner2.jpg'); }
.hd-hero__slider-bg .hd-slide-3 { background-image: url('../images/banner3.jpg'); }

/* Hero inner — constrained to Bootstrap container */
.hd-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

/* Tag pill */
.hd-hero__tagline {
  display: inline-block;
  background: #ffba00;
  color: #272242;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  margin-bottom: 24px;
  border-radius: 2px;
  white-space: nowrap;
}

/* ---- FLUID HEADLINE ---- */
.hd-hero__title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hd-hero__title span {
  color: #ffba00;
  display: block;
}

/* ---- FLUID SUBTITLE ---- */
.hd-hero__subtitle {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 40px;
  max-width: 520px;
  font-weight: 300;
  line-height: 1.75;
  word-break: break-word;
}

/* CTA button group — wraps automatically */
.hd-hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
  align-items: center;
}

/* ---- BASE BUTTON ---- */
.hd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;           /* ≥44px tap target */
  padding: 0 32px;
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.hd-btn-primary {
  background: #ffba00;
  color: #272242;
}

.hd-btn-primary:hover {
  background: #e5a800;
  color: #272242;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 186, 0, 0.35);
}

.hd-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.hd-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ---- TRACK FORM ---- */
.hd-hero__track-form {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 28px 30px;
  max-width: 600px;
  border-radius: 4px;
  width: 100%;
}

.hd-hero__track-form label {
  color: #ffba00;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
  width: auto;
  float: none;
}

/* Inline row — flex with wrap fallback */
.hd-track-input-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.hd-track-input-row input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;                      /* prevent overflow in flex */
  height: 52px;
  background: rgba(255, 255, 255, 0.10) !important;
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
  border-right: none !important;
  color: #fff !important;
  font-size: 15px;
  padding: 0 18px;
  border-radius: 2px 0 0 2px;
  font-family: 'Roboto', sans-serif;
  width: 100%;
}

.hd-track-input-row input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.hd-track-input-row input[type="text"]:focus {
  outline: none;
  border-color: #ffba00 !important;
  background: rgba(255, 255, 255, 0.14) !important;
}

.hd-track-input-row button {
  flex-shrink: 0;
  height: 52px;
  background: #ffba00;
  color: #272242;
  border: none;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0 2px 2px 0;
  transition: background 0.2s;
  white-space: nowrap;
  min-height: 48px;
}

.hd-track-input-row button:hover { background: #e5a800; }

/* Slider dots */
.hd-hero__dots {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hd-hero__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.30);
  cursor: pointer;
  transition: all 0.3s;
  display: block;
}

.hd-hero__dots span.active {
  background: #ffba00;
  transform: scale(1.5);
}

/* =============================================
   FEATURES BAR
   ============================================= */
.hd-features-bar {
  background: #413686;
  width: 100%;
  float: left;
  padding: 0;
}

.hd-features-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hd-features-bar__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
  transition: background 0.2s;
  flex-wrap: nowrap;
}

.hd-features-bar__item:last-child { border-right: none; }
.hd-features-bar__item:hover { background: rgba(255, 255, 255, 0.06); }

.hd-features-bar__icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: #ffba00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
  color: #272242;
}

.hd-features-bar__text strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.hd-features-bar__text span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.hd-services {
  padding: 90px 0;
  background: #fff;
  width: 100%;
  float: left;
}

.hd-section-header { margin-bottom: 56px; }

.hd-section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffba00;
  margin-bottom: 10px;
}

.hd-section-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #272242;
  margin: 0 0 14px;
  line-height: 1.2;
  width: 100%;
  float: none;
  word-break: break-word;
}

/* override theme .section-title */
.hd-section-title::after { display: none !important; }
.hd-section-title span { display: none !important; }

.hd-section-divider {
  width: 56px;
  height: 4px;
  background: #ffba00;
  margin: 0 0 18px;
  border-radius: 2px;
}

.hd-section-subtitle {
  font-size: 15px;
  color: #5b5b5b;
  line-height: 1.75;
  max-width: 520px;
  margin: 0;
}

.hd-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.hd-service-card {
  background: #fff;
  border: 1px solid #eef0f2;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.hd-service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ffba00;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.hd-service-card:hover {
  box-shadow: 0 20px 60px rgba(65, 54, 134, 0.12);
  transform: translateY(-6px);
}

.hd-service-card:hover::before { transform: scaleX(1); }

.hd-service-card__img {
  height: 200px;
  background: #413686;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hd-service-card__img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  transition: opacity 0.3s;
}

.hd-service-card:hover .hd-service-card__img-bg { opacity: 0.40; }

.hd-service-card__img-icon {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  background: rgba(255, 186, 0, 0.15);
  border: 2px solid #ffba00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #ffba00;
}

.hd-service-card__body {
  padding: 28px 26px;
  flex: 1;
}

.hd-service-card__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffba00;
  margin-bottom: 10px;
  display: block;
}

.hd-service-card__title {
  font-size: 21px;
  font-weight: 700;
  color: #272242;
  margin: 0 0 12px;
}

.hd-service-card__text {
  font-size: 14px;
  color: #5b5b5b;
  line-height: 1.8;
  margin: 0;
}

.hd-service-card__footer { padding: 0 26px 26px; }

.hd-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #413686;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}

.hd-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 22px;
  height: 2px;
  background: #ffba00;
  transition: width 0.25s;
}

.hd-link:hover { color: #ffba00; text-decoration: none; }
.hd-link:hover::after { width: 100%; }

/* =============================================
   STATS SECTION
   ============================================= */
.hd-stats {
  background: #272242;
  padding: 80px 0;
  width: 100%;
  float: left;
  position: relative;
  overflow: hidden;
}

.hd-stats::before {
  content: 'STATS';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 200px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  white-space: nowrap;
}

.hd-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.hd-stats__item {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.hd-stats__item:last-child { border-right: none; }

.hd-stats__icon {
  font-size: 34px;
  color: #ffba00;
  margin-bottom: 14px;
  display: block;
}

.hd-stats__number {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
}

.hd-stats__number .hd-counter { color: #fff; }

.hd-stats__number .plus {
  font-size: 1.4rem;
  color: #ffba00;
  margin-bottom: 4px;
}

.hd-stats__label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.50);
  margin-top: 10px;
  font-weight: 700;
}

/* =============================================
   HOW IT WORKS — PROCESS STEPS
   ============================================= */
.hd-process {
  padding: 90px 0;
  background: #f7f8fc;
  width: 100%;
  float: left;
}

.hd-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 56px;
}

.hd-process__grid::before {
  content: '';
  position: absolute;
  top: 46px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: #eef0f2;
  z-index: 0;
}

.hd-process__step {
  text-align: center;
  padding: 0 18px;
  position: relative;
  z-index: 1;
}

.hd-process__step-num {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #413686;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  position: relative;
  transition: all 0.3s;
  border: 4px solid #f7f8fc;
  box-shadow: 0 0 0 3px #413686;
}

.hd-process__step:hover .hd-process__step-num {
  background: #ffba00;
  color: #272242;
  box-shadow: 0 0 0 3px #ffba00;
  transform: scale(1.08);
}

.hd-process__step-title {
  font-size: 17px;
  font-weight: 700;
  color: #272242;
  margin-bottom: 10px;
}

.hd-process__step-text {
  font-size: 13px;
  color: #5b5b5b;
  line-height: 1.75;
}

/* =============================================
   QUOTE REQUEST SECTION
   ============================================= */
.hd-quote {
  width: 100%;
  float: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.hd-quote__image {
  background: url('../images/sub-header.jpg') center / cover no-repeat;
  position: relative;
  min-height: 360px;
}

.hd-quote__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 186, 0, 0.85) 0%, rgba(65, 54, 134, 0.72) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.hd-quote__image-content { text-align: center; color: #fff; }

.hd-quote__image-content .big-text {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1;
  letter-spacing: -2px;
}

.hd-quote__image-content h3 {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  margin-top: -12px;
}

.hd-quote__image-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.hd-quote__form {
  background: #413686;
  padding: 56px 48px;
}

.hd-quote__form .hd-section-label { color: rgba(255, 255, 255, 0.55); }
.hd-quote__form .hd-section-title { color: #fff; font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
.hd-quote__form .hd-section-divider { background: #ffba00; }

.hd-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hd-form-group { margin-bottom: 0; }
.hd-form-group.full { grid-column: 1 / -1; }

.hd-form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 7px;
  width: auto;
  float: none;
}

.hd-form-group input,
.hd-form-group select {
  width: 100%;
  height: 46px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  color: #fff !important;
  padding: 0 14px;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  border-radius: 2px;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  min-height: 46px;
}

.hd-form-group select option { background: #413686; color: #fff; }

.hd-form-group input:focus,
.hd-form-group select:focus {
  outline: none;
  border-color: #ffba00 !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

.hd-form-group input::placeholder { color: rgba(255, 255, 255, 0.35); }

.hd-btn-submit {
  width: 100%;
  min-height: 52px;
  background: #ffba00;
  color: #272242;
  border: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.25s;
  margin-top: 10px;
}

.hd-btn-submit:hover {
  background: #e5a800;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.hd-testimonials {
  padding: 90px 0;
  background: #fff;
  width: 100%;
  float: left;
}

.hd-testimonials__carousel { margin-top: 48px; }

.hd-testimonial-card {
  background: #fff;
  border: 1px solid #eef0f2;
  padding: 36px;
  position: relative;
  margin: 8px;
  border-radius: 2px;
}

.hd-testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 28px;
  font-size: 76px;
  line-height: 1;
  color: #ffba00;
  font-family: Georgia, serif;
}

.hd-testimonial-card__quote {
  font-size: 14px;
  line-height: 1.85;
  color: #5b5b5b;
  margin-bottom: 28px;
  padding-top: 20px;
}

.hd-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hd-testimonial-card__photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffba00;
  flex-shrink: 0;
}

.hd-testimonial-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hd-testimonial-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #272242;
  margin-bottom: 2px;
}

.hd-testimonial-card__role {
  font-size: 11px;
  color: #ffba00;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =============================================
   CLIENTS / PARTNERS
   ============================================= */
.hd-partners {
  background: #f7f8fc;
  padding: 56px 0;
  width: 100%;
  float: left;
  border-top: 1px solid #eef0f2;
  border-bottom: 1px solid #eef0f2;
}

.hd-partners__label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #4C4765;
  margin-bottom: 36px;
}

.hd-partners__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hd-partners__item {
  flex: 0 0 16.66%;
  text-align: center;
  padding: 14px;
  opacity: 0.5;
  transition: opacity 0.2s;
  filter: grayscale(100%);
}

.hd-partners__item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.hd-partners__item img {
  max-height: 46px;
  width: auto;
  display: inline-block;
  max-width: 100%;
}

/* =============================================
   CTA / ABOUT SPLIT SECTION
   ============================================= */
.hd-about-cta {
  width: 100%;
  float: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hd-about-cta__content {
  background: #272242;
  padding: 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hd-about-cta__content .hd-section-label { color: rgba(255, 255, 255, 0.50); }
.hd-about-cta__content .hd-section-title { color: #fff; }
.hd-about-cta__content .hd-section-divider { background: #ffba00; }

.hd-about-cta__content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.85;
  margin-bottom: 30px;
}

.hd-about-cta__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 38px;
}

.hd-about-cta__stat strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #ffba00;
  line-height: 1;
}

.hd-about-cta__stat span {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.50);
  font-weight: 700;
}

.hd-about-cta__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hd-about-cta__image {
  background: url('../images/image1.jpg') center / cover no-repeat;
  min-height: 460px;
  position: relative;
}

.hd-about-cta__image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(65, 54, 134, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hd-about-cta__image-overlay .big-word {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: -4px;
}

/* =============================================
   MODERN NAV OVERRIDES
   ============================================= */
.full-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(39, 34, 66, 0.14);
}

/* Modernize top bar */
.full-header .navbar-default .top-bar {
  height: 36px;
  line-height: 36px;
  background: #272242;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.full-header .navbar-default .top-bar .phone {
  color: #ffba00;
  font-weight: 600;
  font-size: 13px;
  height: 36px;
  line-height: 36px;
}

.full-header .navbar-default {
  background: #fff !important;
}

.full-header .navbar-default .navbar-brand {
  padding: 12px 0 !important;
}

.full-header .navbar-default .navbar-brand img {
  height: 52px !important;
}

.full-header .navbar-default .navbar-header i {
  background: #413686;
  width: 40px;
  height: 40px;
  font-size: 20px;
  margin-top: 20px;
  line-height: 40px;
}

.full-header .navbar-default .navbar-header h6 {
  margin-top: 26px;
  font-size: 10px;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: #4C4765;
  text-transform: uppercase;
  line-height: 14px;
}

.full-header .navbar-default .navbar-header h6 span {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #ffba00;
}

.full-header .navbar-default .navbar-collapse {
  background: #413686;
}

.full-header .navbar-default .main-menu li a {
  font-size: 12px;
  letter-spacing: 1px;
  padding: 0 16px;
  height: 54px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.85);
}

.full-header .navbar-default .main-menu li a:hover,
.full-header .navbar-default .main-menu li a:focus {
  color: #ffba00;
  border-top-color: #ffba00;
}

/* CTA track shipment pill — absolute-positioned to right of nav bar */
.full-header .navbar-default .navbar-collapse {
  position: relative;
}

.hd-nav-cta {
  position: absolute !important;
  right: 0 !important;
  top: 7px !important;
  float: none !important;
  margin: 0 !important;
  z-index: 10;
}

.hd-nav-cta a {
  display: flex !important;
  align-items: center !important;
  height: 40px !important;
  min-height: 40px !important;
  background: #ffba00 !important;
  color: #272242 !important;
  padding: 0 20px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-top: none !important;
  border-radius: 2px !important;
  margin: 0 12px 0 0 !important;
  white-space: nowrap;
}

.hd-nav-cta a:hover {
  background: #e5a800 !important;
  color: #272242 !important;
  border-top: none !important;
  transform: none !important;
}

.hd-nav-cta a::after { display: none !important; }

/* On mobile, hide nav CTA — nav collapses so it would overlap the toggle */
@media (max-width: 767px) {
  .hd-nav-cta { display: none !important; }
}

/* =============================================
   BREAKPOINT: ≤ 1200px
   ============================================= */
@media (max-width: 1200px) {
  .hd-hero {
    min-height: 80vh;
    padding-top: 50px;
    padding-bottom: 70px;
  }

  .hd-hero__track-form { max-width: 100%; }

  .hd-services__grid { grid-template-columns: repeat(3, 1fr); }

  .hd-about-cta__content { padding: 70px 44px; }
}

/* =============================================
   BREAKPOINT: ≤ 992px (tablet landscape)
   ============================================= */
@media (max-width: 992px) {
  /* Hero */
  .hd-hero {
    min-height: 75vh;
    height: auto;
    padding-top: 60px;
    padding-bottom: 64px;
    align-items: flex-start;
    padding-top: max(60px, env(safe-area-inset-top));
  }

  .hd-hero__inner { padding-top: 20px; }

  .hd-hero__title {
    font-size: clamp(1.9rem, 5vw, 3.2rem);
  }

  .hd-hero__subtitle {
    max-width: 100%;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
  }

  .hd-hero__track-form {
    max-width: 100%;
    padding: 22px 24px;
  }

  .hd-hero__dots { display: none; }

  /* Features bar */
  .hd-features-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .hd-features-bar__item:nth-child(2) { border-right: none; }
  .hd-features-bar__item:nth-child(1),
  .hd-features-bar__item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  /* Services */
  .hd-services__grid { grid-template-columns: repeat(2, 1fr); }

  /* Stats */
  .hd-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .hd-stats__item:nth-child(2) { border-right: none; }
  .hd-stats__item:nth-child(1),
  .hd-stats__item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  /* Process */
  .hd-process__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .hd-process__grid::before { display: none; }

  /* Quote */
  .hd-quote { grid-template-columns: 1fr; }
  .hd-quote__image { min-height: 320px; }
  .hd-quote__form { padding: 50px 40px; }

  /* About CTA */
  .hd-about-cta { grid-template-columns: 1fr; }
  .hd-about-cta__content { padding: 64px 40px; }
  .hd-about-cta__image { min-height: 380px; }

  /* Partners */
  .hd-partners__item { flex: 0 0 25%; }
}

/* =============================================
   BREAKPOINT: ≤ 768px (tablet portrait / large mobile)
   ============================================= */
@media (max-width: 768px) {
  /* Hero */
  .hd-hero {
    min-height: 100svh;
    min-height: 100vh;
    height: auto;
    padding-top: 50px;
    padding-bottom: 56px;
    align-items: center;
  }

  .hd-hero__tagline { font-size: 10px; letter-spacing: 2px; }

  .hd-hero__title {
    font-size: clamp(1.7rem, 7vw, 2.6rem);
    letter-spacing: 0;
  }

  .hd-hero__subtitle {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }

  .hd-hero__cta-group {
    gap: 12px;
    margin-bottom: 32px;
  }

  .hd-btn {
    padding: 0 22px;
    min-height: 48px;
    font-size: 11px;
    flex-shrink: 1;
    min-width: 140px;
  }

  /* Track form → stacked on mobile */
  .hd-hero__track-form {
    padding: 20px;
  }

  .hd-track-input-row {
    flex-direction: column;
    gap: 0;
  }

  .hd-track-input-row input[type="text"] {
    border-right: 2px solid rgba(255, 255, 255, 0.25) !important;
    border-bottom: none !important;
    border-radius: 2px 2px 0 0;
    height: 50px;
    width: 100%;
  }

  .hd-track-input-row button {
    border-radius: 0 0 2px 2px;
    width: 100%;
    height: 50px;
    justify-content: center;
  }

  /* Features bar */
  .hd-features-bar__inner { grid-template-columns: 1fr; }
  .hd-features-bar__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    padding: 20px 24px;
  }
  .hd-features-bar__item:last-child { border-bottom: none; }

  /* Services */
  .hd-services { padding: 60px 0; }
  .hd-services__grid { grid-template-columns: 1fr; }

  /* Stats */
  .hd-stats { padding: 60px 0; }
  .hd-stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Process */
  .hd-process { padding: 60px 0; }
  .hd-process__grid { grid-template-columns: 1fr; gap: 36px; }

  /* Quote */
  .hd-quote__form { padding: 40px 24px; }
  .hd-form-row { grid-template-columns: 1fr; }

  /* Testimonials */
  .hd-testimonials { padding: 60px 0; }

  /* Partners */
  .hd-partners__item { flex: 0 0 33.33%; }

  /* About CTA */
  .hd-about-cta__content { padding: 52px 24px; }
  .hd-about-cta__stats { gap: 20px; }
  .hd-about-cta__image { min-height: 300px; }

  /* Section titles */
  .hd-section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
}

/* =============================================
   BREAKPOINT: ≤ 480px (small mobile)
   ============================================= */
@media (max-width: 480px) {
  /* Hero */
  .hd-hero {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .hd-hero__title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
    margin-bottom: 14px;
  }

  .hd-hero__subtitle {
    font-size: 0.88rem;
    margin-bottom: 28px;
  }

  .hd-hero__cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hd-btn {
    width: 100%;
    justify-content: center;
    padding: 0 16px;
  }

  .hd-hero__track-form { padding: 16px; }

  .hd-hero__tagline { font-size: 9px; padding: 5px 12px; }

  /* Stats */
  .hd-stats__grid { grid-template-columns: 1fr; }
  .hd-stats__item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .hd-stats__item:last-child { border-bottom: none; }

  /* Partners */
  .hd-partners__item { flex: 0 0 50%; }

  /* About CTA */
  .hd-about-cta__content { padding: 44px 20px; }
  .hd-about-cta__stats { flex-direction: column; gap: 16px; }
  .hd-about-cta__image { min-height: 240px; }

  /* Quote */
  .hd-quote__form { padding: 32px 16px; }

  /* Prevent any horizontal overflow */
  .hd-section { overflow-x: hidden; }
}

/* =============================================
   PREVENT HORIZONTAL SCROLL (global safeguard)
   ============================================= */
@media (max-width: 992px) {
  body { overflow-x: hidden; }

  .hd-hero,
  .hd-features-bar,
  .hd-services,
  .hd-stats,
  .hd-process,
  .hd-quote,
  .hd-testimonials,
  .hd-partners,
  .hd-about-cta {
    max-width: 100vw;
    overflow-x: hidden;
  }
}
