/* Driving Revenue With Performance Section Styles (Bootstrap Consistent) */
:root {
  --ar-primary: #f03e04;
  --ar-primary-rgb: 240, 62, 4;
  --ar-secondary: #f6f9fc;
  --ar-gray-100: #f6f9fc;
  --ar-gray-800: #1e293b;
  --ar-gray-600: #64748b;
}

.driving-revenue-section {
  position: relative;
  overflow: hidden;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
  background-color: #ffffff;
}

.driving-revenue-section .bg-secondary {
  background-color: #f6f9fc !important;
  border-radius: 6rem;
  z-index: 0;
}

.driving-revenue-section .container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Headings & Text */
.driving-revenue-section h2.h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.driving-revenue-section h2.h1 span.fw-bold {
  font-weight: 700 !important;
  color: #f03e04;
}

.driving-revenue-section p {
  font-family: 'Inter', sans-serif;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.6;
}

.driving-revenue-section h3.h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

/* Badge */
.driving-revenue-section .badge {
  display: inline-block;
  padding: 0.4em 1em;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 50rem;
  letter-spacing: 0.02em;
}

.driving-revenue-section .bg-primary.bg-opacity-10 {
  background-color: rgba(240, 62, 4, 0.1) !important;
}

.driving-revenue-section .text-primary {
  color: #f03e04 !important;
}

/* Standard Bootstrap Grid & Flexbox Utilities */
.driving-revenue-section .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.driving-revenue-section .row > * {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.driving-revenue-section .d-flex {
  display: flex !important;
}

.driving-revenue-section .align-items-center {
  align-items: center !important;
}

.driving-revenue-section .justify-content-center {
  justify-content: center !important;
}

.driving-revenue-section .justify-content-between {
  justify-content: space-between !important;
}

.driving-revenue-section .text-center {
  text-align: center !important;
}

.driving-revenue-section .d-block {
  display: block !important;
}

.driving-revenue-section .d-none {
  display: none !important;
}

.driving-revenue-section img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.driving-revenue-section img:hover {
  transform: scale(1.02);
}

/* Connecting Dashed Arrows with Flow Animation */
.driving-revenue-section svg.text-primary path[stroke-dasharray] {
  stroke-dasharray: 6 6;
  animation: svgDashFlow 20s linear infinite;
}

@keyframes svgDashFlow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -500;
  }
}

/* Padding & Margin Utility Classes */
.driving-revenue-section .py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.driving-revenue-section .pb-1 { padding-bottom: 0.25rem !important; }
.driving-revenue-section .pb-2 { padding-bottom: 0.5rem !important; }
.driving-revenue-section .pb-3 { padding-bottom: 1rem !important; }
.driving-revenue-section .mb-0 { margin-bottom: 0 !important; }
.driving-revenue-section .mb-1 { margin-bottom: 0.25rem !important; }
.driving-revenue-section .mt-2 { margin-top: 0.5rem !important; }
.driving-revenue-section .mb-3 { margin-bottom: 1rem !important; }
.driving-revenue-section .mb-4 { margin-bottom: 1.5rem !important; }

/* Responsive Grid Breakpoints (Standard Bootstrap 5) */
@media (min-width: 768px) {
  .driving-revenue-section .text-md-start {
    text-align: left !important;
  }
  .driving-revenue-section .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .driving-revenue-section .order-md-1 {
    order: 1 !important;
  }
  .driving-revenue-section .order-md-2 {
    order: 2 !important;
  }
  .driving-revenue-section .justify-content-md-start {
    justify-content: flex-start !important;
  }
  .driving-revenue-section .justify-content-md-end {
    justify-content: flex-end !important;
  }
  .driving-revenue-section .pb-md-0 {
    padding-bottom: 0 !important;
  }
  .driving-revenue-section .mb-md-0 {
    margin-bottom: 0 !important;
  }
  .driving-revenue-section .pe-md-4 {
    padding-right: 1.5rem !important;
  }
  .driving-revenue-section .ps-md-4 {
    padding-left: 1.5rem !important;
  }
}

@media (min-width: 992px) {
  .driving-revenue-section .d-lg-flex {
    display: flex !important;
  }
  .driving-revenue-section .col-lg-5 {
    flex: 0 0 auto;
    width: 48%;
    max-width: 520px;
  }
  .driving-revenue-section .col-lg-8 {
    flex: 0 0 auto;
    width: 66.666667%;
    margin-left: auto;
    margin-right: auto;
  }
  .driving-revenue-section .py-lg-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .driving-revenue-section .mb-lg-4 {
    margin-bottom: 1.5rem !important;
  }
  .driving-revenue-section .mb-lg-5 {
    margin-bottom: 3rem !important;
  }
  .driving-revenue-section .pe-lg-4 {
    padding-right: 2rem !important;
  }
  .driving-revenue-section .ps-lg-4 {
    padding-left: 2rem !important;
  }
}

@media (min-width: 1400px) {
  .driving-revenue-section .d-xxl-block {
    display: block !important;
  }
}
