/* ==========================================================================
   SWARAJ MHE INDIA — "UPGRADE YOUR FLEET WITH CONFIDENCE" BANNER SECTION
   Fully Responsive, High-Performance Native HTML + CSS Implementation
   Matching the exact design layout, typography, yellow highlight & CTA styling
   ========================================================================== */

.closing-cta {
  position: relative;
  background: #ffffff;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-banner-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Stage Card Layout */
.cta-fleet-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 360px;
  max-height: 420px;
  background: #ffffff;
  overflow: hidden;
  padding-left: clamp(28px, 6vw, 100px);
  padding-right: 0;
  box-sizing: border-box;
}

/* Background Backdrop */
.cta-fleet-backdrop {
  display: none; /* The image already has the exact 3D angled yellow ribbons seamlessly baked in */
}

/* Left Content Column */
.cta-fleet-content {
  position: relative;
  z-index: 3;
  max-width: 530px;
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Eyebrow / Tagline: / SMARTER FLEET SOLUTIONS */
.cta-fleet-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #dfa71b;
  margin: 0 0 16px 0;
}

.cta-fleet-eyebrow .eyebrow-slash {
  color: #dfa71b;
  font-weight: 800;
  opacity: 0.85;
}

/* Headline: UPGRADE YOUR FLEET WITH CONFIDENCE. */
.cta-fleet-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 4.8vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
}

.heading-line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 2px;
}

.cta-fleet-heading .heading-line {
  display: block;
  will-change: transform, opacity;
}

.cta-fleet-heading .line-dark {
  color: #171a1d;
}

.cta-fleet-heading .line-gold {
  color: #f5ba18;
  position: relative;
  display: inline-block;
  background: linear-gradient(110deg, #f5ba18 0%, #f5ba18 36%, #ffffff 50%, #f5ba18 64%, #f5ba18 100%);
  background-size: 240% 100%;
  background-position: 140% 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  will-change: background-position;
}

/* Subtitle / Descriptive Text */
.cta-fleet-lead {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(14px, 1.05vw, 15.5px);
  line-height: 1.55;
  color: #555d5b;
  margin: 0 0 32px 0;
  max-width: 440px;
  font-weight: 500;
}

/* Call to Action Buttons */
.cta-fleet-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-fleet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

.cta-fleet-btn .btn-arrow-icon {
  display: inline-block;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

/* Primary Button: Yellow Pill */
.cta-fleet-btn.btn-talk {
  background: #f5ba18;
  color: #101413;
  padding: 13.5px 28px;
  border: 1.5px solid #f5ba18;
  box-shadow: 0 8px 24px rgba(245, 186, 24, 0.42);
}

.cta-fleet-btn.btn-talk:hover {
  background: #fec72c;
  border-color: #fec72c;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 186, 24, 0.55);
}

.cta-fleet-btn.btn-talk:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(245, 186, 24, 0.35);
}

.cta-fleet-btn.btn-talk:hover .btn-arrow-icon {
  transform: translate(2.5px, -2.5px);
}

/* Secondary Button: Outlined Clean Pill */
.cta-fleet-btn.btn-explore {
  background: #fbfbfb;
  color: #1a1e1d;
  padding: 13px 26px;
  border: 1.5px solid #242827;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.cta-fleet-btn.btn-explore:hover {
  background: #171a19;
  color: #ffffff;
  border-color: #171a19;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.cta-fleet-btn.btn-explore:active {
  transform: translateY(0);
}

.cta-fleet-btn.btn-explore:hover .btn-arrow-icon {
  transform: translate(2.5px, -2.5px);
}

/* Right Equipment Visual */
.cta-fleet-visual-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 58%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  will-change: clip-path;
}

.cta-diagonal-accent {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 18px;
  background: linear-gradient(180deg, #f5ba18, #fec72c);
  transform: skewX(-20deg);
  opacity: 0;
  z-index: 4;
  box-shadow: 0 0 25px rgba(245, 186, 24, 0.8);
  pointer-events: none;
}

.closing-cta img.cta-fleet-visual-img,
.cta-fleet-visual-img {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: right center !important;
  filter: none !important;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

/* Smooth blend from image into left white background */
.cta-visual-fade-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 160px;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.75) 35%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (min-width: 1600px) {
  .cta-fleet-stage {
    min-height: 420px;
  }
  .cta-fleet-visual-wrap {
    width: 55%;
  }
}

@media (max-width: 1180px) {
  .cta-fleet-stage {
    min-height: 350px;
  }
  .cta-fleet-content {
    max-width: 480px;
    padding: 40px 0;
  }
  .cta-fleet-visual-wrap {
    width: 54%;
  }
}

@media (max-width: 960px) {
  .cta-fleet-stage {
    min-height: 340px;
    padding-left: clamp(20px, 4vw, 40px);
  }
  .cta-fleet-content {
    max-width: 410px;
    padding: 36px 0;
  }
  .cta-fleet-heading {
    font-size: clamp(36px, 4.2vw, 54px);
  }
  .cta-fleet-lead {
    font-size: 13.5px;
    margin-bottom: 22px;
  }
  .cta-fleet-actions {
    gap: 12px;
  }
  .cta-fleet-btn {
    font-size: 13.5px;
    padding: 11px 22px;
  }
  .cta-fleet-visual-wrap {
    width: 52%;
  }
}

@media (max-width: 768px) {
  .cta-fleet-stage {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px 0 24px;
    min-height: auto;
    max-height: none;
  }
  .cta-fleet-content {
    max-width: 100%;
    padding: 0 0 24px 0;
    z-index: 4;
  }
  .cta-fleet-heading {
    font-size: clamp(38px, 9vw, 54px);
  }
  .cta-fleet-lead {
    max-width: 100%;
    margin-bottom: 24px;
  }
  .cta-fleet-actions {
    width: 100%;
    gap: 12px;
  }
  .cta-fleet-btn {
    flex: 1 1 auto;
    text-align: center;
  }
  .cta-fleet-visual-wrap {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: 300px;
    margin-top: 10px;
  }
  .cta-fleet-visual-img {
    object-fit: cover;
    object-position: center bottom;
  }
  .cta-visual-fade-mask {
    width: 100%;
    height: 40px;
    top: 0;
    bottom: auto;
    left: 0;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  }
}

@media (max-width: 480px) {
  .cta-fleet-stage {
    padding: 32px 18px 0 18px;
  }
  .cta-fleet-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-fleet-btn {
    width: 100%;
  }
  .cta-fleet-visual-wrap {
    height: 240px;
  }
}
