/* ======================================================================
   RPM INDUSTRIES — HOMEPAGE
   Warm ivory, RPM red and charcoal theme. All homepage styles live here.
   ====================================================================== */
:root {
    --rpm-red: #0877bd;
    --rpm-red-dark: #07528a;
    --rpm-cream: #fbf6ef;
    --rpm-cream-deep: #f2e7d9;
    --rpm-white: #ffffff;
    --rpm-ink: #0b3455;
    --rpm-muted: #6c625b;
    --rpm-border: #eadbcb;
    --rpm-shadow: 0 14px 34px rgba(63, 42, 24, 0.08);
    --rpm-radius: 18px;
    --rpm-transition: 280ms ease;
    --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--rpm-cream);
    color: var(--rpm-ink);
    font-family: var(--font-family);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button, input, select, textarea {
    font: inherit;
}

.container {
    width: min(100% - 48px, 1280px);
    margin-inline: auto;
}

main {
    overflow: clip;
}

.text-gradient {
    color: var(--rpm-red);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: .92rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--rpm-transition), background var(--rpm-transition), color var(--rpm-transition), box-shadow var(--rpm-transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--rpm-red);
    color: #fff;
    box-shadow: 0 8px 18px rgba(217, 15, 22, .15);
}

.btn-primary:hover {
    background: var(--rpm-red-dark);
    box-shadow: 0 12px 24px rgba(217, 15, 22, .22);
}

.btn-secondary {
    background: rgba(255,255,255,.75);
    color: var(--rpm-ink);
    border-color: #d8bda7;
}

.btn-secondary:hover {
    background: #fff;
    border-color: var(--rpm-red);
    color: var(--rpm-red);
}

.btn-block {
    width: 100%;
    border: 0;
}

/* Hero and bento layout */
.hero-section {
    position: relative;
    padding: 34px 0 54px;
    background: radial-gradient(circle at 8% 8%, rgba(7,95,159,.07), transparent 30%), var(--rpm-cream);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0 0 auto auto;
    width: 27%;
    height: 78%;
    pointer-events: none;
    opacity: .45;
    background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(7,95,159,.07) 14px 16px);
    mask-image: linear-gradient(to left, #000, transparent);
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(150px, auto);
    gap: 18px;
}

.bento-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--rpm-border);
    border-radius: var(--rpm-radius);
    background: var(--rpm-white);
    box-shadow: var(--rpm-shadow);
    transition: transform var(--rpm-transition), box-shadow var(--rpm-transition), border-color var(--rpm-transition);
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(7,95,159,.35);
    box-shadow: 0 20px 42px rgba(12,54,88,.13);
}

.hero-main-card {
    grid-column: span 7;
    grid-row: span 2;
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 440px;
    padding: clamp(24px, 3.2vw, 44px);
    background: linear-gradient(135deg, #fff 0%, #fffaf4 100%);
}

.hero-content-col {
    position: relative;
    z-index: 2;
    flex: 1.1;
    min-width: 0;
}

.hero-image-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: .9;
    min-width: 0;
    min-height: 285px;
    padding: 12px;
    border: 1px solid #cbddea;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(12,54,88,.10);
}

.hero-img {
    width: 100%;
    height: 285px;
    object-fit: cover;
    border-radius: 9px;
    animation: gentleFloat 6s ease-in-out infinite;
}

.float-tag {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
    padding: 6px 11px;
    border: 1px solid rgba(217,15,22,.18);
    border-radius: 100px;
    background: #f3f9fd;
    color: var(--rpm-red);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

@keyframes gentleFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }

}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 17px;
    padding: 7px 12px;
    border: 1px solid #b9d9ee;
    border-radius: 100px;
    background: #eaf5fc;
    color: var(--rpm-red);
    font-size: 15px;
    font-weight: 850;
    letter-spacing: .1em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rpm-red);
    box-shadow: 0 0 0 4px rgba(7,95,159,.1);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    50% {
        box-shadow: 0 0 0 7px rgba(217,15,22,0);
    }

}

.hero-title {
    max-width: 680px;
    margin: 0 0 17px;
    font-size: clamp(2.15rem, 3.4vw, 3.45rem);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -.045em;
}

.hero-description {
    max-width: 560px;
    margin: 0 0 24px;
    color: var(--rpm-muted);
    font-size: 1rem;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    color: #38536b;
    font-size: .79rem;
    font-weight: 650;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-points li::before {
    content: '✓';
    display: inline-grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--rpm-red);
    color: #fff;
    font-size: .68rem;
    font-weight: 900;
}

.feature-card {
    grid-column: span 5;
    min-height: 150px;
    display: flex;
    align-items: end;
    padding: 24px;
    isolation: isolate;
    color: #fff;
    background: #342a24;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(26,20,17,.84), rgba(26,20,17,.22));
}

.feature-1 {
    grid-row: span 1;
}

.feature-2, .feature-3, .feature-4 {
    grid-column: span 3;
    min-height: 170px;
}

.feature-content {
    position: relative;
    z-index: 2;
    max-width: 360px;
}

.feature-content h3 {
    margin: 0 0 5px;
    font-size: 1.12rem;
    line-height: 1.3;
}

.feature-content p {
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: .84rem;
    line-height: 1.5;
}

.bento-bg-img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 550ms ease;
}

.feature-card:hover .bento-bg-img {
    transform: scale(1.06);
}

/* Shared section headings and spacing */
section:not(.hero-section) {
    padding-block: 62px;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.sub-heading {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--rpm-ink);
    font-size: 19px;
    font-weight: 850;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.sub-heading.light {
    color: var(--rpm-red);
}

.section-title {
    margin: 0 0 12px;
    color: var(--rpm-white);
    font-size: clamp(1.8rem, 2.7vw, 2.55rem);
    line-height: 1.17;
    font-weight: 850;
    letter-spacing: -.035em;
}

.section-title1 {
    margin: 0 0 12px;
    color: var(--rpm-red);
    font-size: clamp(1.8rem, 2.7vw, 2.55rem);
    line-height: 1.17;
    font-weight: 850;
    letter-spacing: -.035em;
}
.section-title2 {
    display: inline-block;
    margin: 0 0 12px;
    color: var(--rpm-ink);
    font-size: 22px;
    line-height: 1.17;
    font-weight: 850;
    letter-spacing: -.035em;
}

.section-desc {
    margin: 0;
    color: var(--rpm-white);
    font-size: .96rem;
}

.section-desc1 {
    margin: 0;
    color: var(--rpm-ink);
    font-size: .96rem;
}

/* Stats strip */
/* ======================================================================
   STATS SECTION — HORIZONTAL GRADIENT BADGE DESIGN
   ====================================================================== */
.stats-section {
    padding: 60px 0 !important;
    background: #0b3455;
    border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.stat-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f4ebd0 100%);
    border: 1px solid #d8bda7;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(4, 28, 48, 0.2);
    transition: all 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--rpm-red), #e99518);
    transition: width 300ms ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(4, 28, 48, 0.35);
    border-color: var(--rpm-red);
}

.stat-card:hover::before {
    width: 8px;
}

.stat-icon-box {
    display: grid;
    place-items: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--rpm-red), var(--rpm-red-dark));
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(7, 95, 159, 0.3);
    transition: transform 300ms ease;
}

.stat-icon-box svg {
    width: 24px;
    height: 24px;
}

.stat-card:hover .stat-icon-box {
    transform: scale(1.1) rotate(-6deg);
}

.stat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stat-number {
    color: var(--rpm-ink);
    font-size: 1.85rem;
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-label {
    margin-top: 3px;
    color: var(--rpm-muted);
    font-size: 0.82rem;
    font-weight: 750;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 580px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
/* About section */
.about-section {
    background: var(--rpm-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: clamp(28px, 5vw, 68px);
}

.about-image {
    position: relative;
    padding: 0 18px 18px 0;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 18px 0 0 18px;
    border: 1px solid var(--rpm-red);
    border-radius: 18px;
    pointer-events: none;
}

.about-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--rpm-shadow);
}

.about-badge {
    position: absolute;
    z-index: 2;
    right: -4px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    min-width: 150px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--rpm-shadow);
}

.about-badge strong {
    color: var(--rpm-red);
    font-size: 1.7rem;
    line-height: 1.1;
}

.about-badge span {
    color: var(--rpm-muted);
    font-size: .76rem;
}

.about-text {
    color: var(--rpm-muted);
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
}

.about-points li {
    position: relative;
    padding-left: 27px;
    font-weight: 650;
    font-size: .88rem;
}

.about-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fbe1df;
    color: var(--rpm-red);
    font-size: .72rem;
    font-weight: 900;
}

/* ======================================================================
   SERVICES SECTION — ATTRACTIVE HIGHLIGHTED STYLING
   ====================================================================== */
/* ======================================================================
   SERVICES SECTION — DARK NAVY BACKGROUND (#0b3455) & WARM CARDS STYLING
   ====================================================================== */
.services-section { 
  position: relative; 
  padding: 85px 0; 
  background: #0b3455; 
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 231, 217, 0.08) 0%, rgba(11, 52, 85, 0) 70%);
  pointer-events: none;
}

.services-section .section-title {
  color: #ffffff;
}

.services-section .section-desc {
  color: rgba(255, 255, 255, 0.85);
}

.service-badge {
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(242, 231, 217, 0.15), rgba(216, 189, 167, 0.2));
  border: 1px solid rgba(216, 189, 167, 0.35);
  border-radius: 30px;
  color: #fbf6ef;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.services-grid { 
  display: grid; 
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  gap: 28px; 
  align-items: stretch;
  margin-top: 25px;
}

.service-card { 
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px 32px; 
  border: 1px solid #d8bda7; 
  border-radius: 22px; 
  background: #fbf6ef; 
  box-shadow: 0 16px 36px rgba(4, 28, 48, 0.3); 
  transition: all 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  z-index: 1;
  color: #0b3455;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--rpm-red), #e99518);
  opacity: 0;
  transition: opacity 350ms ease;
}

.service-card:hover { 
  transform: translateY(-10px); 
  border-color: var(--rpm-red); 
  box-shadow: 0 24px 50px rgba(4, 28, 48, 0.45); 
}

.service-card:hover::after {
  opacity: 1;
}

/* Featured / Highlighted Service Card */
.service-card.featured-service {
  border: 2px solid #e99518;
  background: linear-gradient(180deg, #ffffff 0%, #f2e7d9 100%);
  box-shadow: 0 20px 45px rgba(4, 28, 48, 0.35);
  transform: scale(1.02);
}

.service-card.featured-service::after {
  opacity: 1;
}

.service-card.featured-service:hover {
  transform: scale(1.02) translateY(-8px);
}

.featured-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  padding: 4px 12px;
  background: #e99518;
  color: #0b3455;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(233, 149, 24, 0.3);
}

.service-icon { 
  display: grid; 
  place-items: center; 
  width: 62px; 
  height: 62px; 
  margin-bottom: 24px; 
  border: 1px solid rgba(11, 52, 85, 0.15); 
  border-radius: 16px; 
  background: linear-gradient(135deg, #f2e7d9, #e6d4bc); 
  color: var(--rpm-red); 
  box-shadow: 0 6px 16px rgba(11, 52, 85, 0.08);
  transition: all 350ms ease; 
}

.service-icon svg { width: 30px; height: 30px; }

.service-card:hover .service-icon { 
  transform: rotate(-6deg) scale(1.1); 
  background: linear-gradient(135deg, var(--rpm-red), var(--rpm-red-dark)); 
  color: #ffffff; 
  box-shadow: 0 8px 20px rgba(7, 95, 159, 0.28);
}

.service-card h3 { 
  margin: 0 0 12px; 
  font-size: 1.3rem; 
  font-weight: 800;
  color: var(--rpm-ink);
}

.service-card p { 
  margin: 0 0 20px; 
  color: var(--rpm-muted); 
  font-size: 0.93rem; 
  line-height: 1.6;
}

.check-list { 
  display: grid; 
  gap: 12px; 
  margin: 0 0 26px; 
  padding: 0; 
  list-style: none; 
}

.check-list li { 
  position: relative; 
  padding-left: 28px; 
  color: #38536b; 
  font-size: 0.88rem; 
  font-weight: 650;
}

.check-list li::before { 
  content: '✓'; 
  position: absolute; 
  left: 0; 
  top: 1px; 
  display: grid; 
  place-items: center; 
  width: 18px; 
  height: 18px; 
  border-radius: 50%; 
  background: #ebdcc8; 
  color: var(--rpm-red); 
  font-size: 0.7rem; 
  font-weight: 900; 
  transition: background 280ms ease, color 280ms ease;
}

.service-card:hover .check-list li::before {
  background: var(--rpm-red);
  color: #ffffff;
}

.service-action-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--rpm-red);
  text-decoration: none;
  transition: color 250ms ease, transform 250ms ease;
}

.service-action-link span {
  transition: transform 250ms ease;
}

.service-action-link:hover {
  color: var(--rpm-red-dark);
}

.service-action-link:hover span {
  transform: translateX(5px);
}


/* ===================== PRODUCTS — AUTO CARDS SLIDESHOW (4 CARDS PER VIEW) ===================== */
/* ===================== PRODUCTS — AUTO CARDS SLIDESHOW ===================== */
.products-section {
    position: relative;
    background: #edf5fc;/* Light warm background color */
}
.products-section::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 30%;
    pointer-events: none;
    opacity: .7;
    background: repeating-linear-gradient(135deg, transparent 0 13px, rgba(8,119,189,.07) 13px 16px);
    mask-image: linear-gradient(to right, #000, transparent);
    -webkit-mask-image: linear-gradient(to right, #000, transparent);
}

.products-section .container {
    position: relative;
}

.pc-carousel {
    --pc-per-view: 4;
    --pc-gap: 18px;
    position: relative;
    padding: 0 30px;
}

.pc-viewport {
   overflow: hidden;
    padding: 24px 16px 36px;
    background: #062038; /* Background color behind the cards area */
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 30px rgba(4, 28, 48, 0.2);
}

.pc-track {
    position: relative;
    display: flex;
    gap: var(--pc-gap);
    transition: transform .65s cubic-bezier(.2, .7, .2, 1);
    will-change: transform;
}

.pc-track.no-anim {
    transition: none;
}

.pc-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #cbddea;
    border-radius: 50%;
    background: #fff;
    color: var(--rpm-red);
    box-shadow: 0 10px 24px rgba(12, 54, 88, .18);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.pc-arrow svg {
    width: 20px;
    height: 20px;
}

.pc-prev {
    left: -8px;
}

.pc-next {
    right: -8px;
}

.pc-arrow:hover {
    border-color: var(--rpm-red);
    background: var(--rpm-red);
    color: #fff;
    transform: translateY(-50%) scale(1.07);
}

.pc-arrow:focus-visible, .pc-dash:focus-visible {
    outline: 3px solid rgba(8, 119, 189, .45);
    outline-offset: 3px;
}

.mc-card {
    position: relative;
    flex: 0 0 calc((100% - (var(--pc-per-view) - 1) * var(--pc-gap)) / var(--pc-per-view));
    display: flex;
    align-items: flex-end;
    min-width: 0;
    height: 420px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 22px;
    background: #07253f;
    box-shadow: 0 16px 36px rgba(12, 54, 88, .22);
    transition: transform .35s ease, box-shadow .35s ease;
}

.mc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(5,34,59,.95) 0%, rgba(5,34,59,.55) 44%, rgba(5,34,59,.04) 80%);
    transition: background .35s ease;
}

.mc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 50px rgba(12, 54, 88, .34);
}

.mc-card:hover::before {
    background: linear-gradient(0deg, rgba(7,82,138,.97) 0%, rgba(8,119,189,.6) 50%, rgba(5,34,59,.08) 88%);
}

.mc-img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.mc-card:hover .mc-img {
    transform: scale(1.1);
}

.mc-num {
    position: absolute;
    top: 18px;
    left: 18px;
    display: grid;
    place-items: center;
    min-width: 46px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 999px;
    background: var(--rpm-ink);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mc-body {
    width: calc(100% - 28px);
    margin: 14px;
    padding: 16px 16px 14px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 16px;
    background: rgba(255,255,255,.13);
    color: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background .35s ease, transform .35s ease;
}

.mc-card:hover .mc-body {
    background: rgba(255,255,255,.22);
    transform: translateY(-2px);
}

.mc-chip {
    display: inline-block;
    margin-bottom: 9px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--rpm-red);
    color: #fff;
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.mc-title {
    margin: 0 0 6px;
    color: #fff;
    font-size: 1.12rem;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.mc-desc {
    margin: 0 0 14px;
    color: rgba(255,255,255,.9);
    font-size: .8rem;
    line-height: 1.55;
}

.mc-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none;
}

.mc-arrow-ico {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--rpm-red);
    font-size: .95rem;
    transition: transform .3s ease, background .3s ease, color .3s ease;
}

.mc-link:hover .mc-arrow-ico, .mc-card:hover .mc-arrow-ico {
    transform: translateX(5px);
    background: var(--rpm-red-dark);
    color: #fff;
}

.mc-link:focus-visible {
    outline: 3px solid rgba(255,255,255,.85);
    outline-offset: 4px;
    border-radius: 6px;
}

.pc-dashes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.pc-dash {
    position: relative;
    width: 46px;
    height: 14px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.pc-dash::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 5px;
    height: 4px;
    border-radius: 2px;
    background: #b5d3e8;
    transition: background .25s ease;
}

.pc-dash:hover::before {
    background: #6fb0da;
}

.pc-dash.is-active::before {
    background: var(--rpm-red);
}

/* ===================== END PRODUCTS SLIDESHOW ===================== */
/* Why choose us */
/* ======================================================================
   WHY US SECTION — CENTERED STYLISH CARDS
   ====================================================================== */
.why-section {
    position: relative;
    padding: 85px 0;
    background: #0b3455;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 119, 189, 0.22) 0%, rgba(11, 52, 85, 0) 70%);
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.why-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 38px 28px 32px;
    border: 1px solid rgba(216, 189, 167, 0.3);
    border-radius: 22px;
    background: #fbf6ef;
    box-shadow: 0 16px 36px rgba(4, 28, 48, 0.28);
    text-align: center;
    overflow: hidden;
    transition: all 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
}

/* Subtle inner background radial glow on hover */
.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center top, rgba(8, 119, 189, 0.09), transparent 65%);
    opacity: 0;
    transition: opacity 400ms ease;
    z-index: -1;
}

/* Top accent gradient border line */
.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--rpm-red), #e99518);
    opacity: 0;
    transition: opacity 300ms ease;
}

.why-card:hover {
    transform: translateY(-9px);
    border-color: var(--rpm-red);
    box-shadow: 0 24px 48px rgba(4, 28, 48, 0.42);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card:hover::after {
    opacity: 1;
}

.why-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin-bottom: 22px;
    border: 1px solid rgba(7, 95, 159, 0.2);
    border-radius: 20px;
    background: linear-gradient(135deg, #eaf5fc, #d2eaf8);
    color: var(--rpm-red);
    box-shadow: 0 8px 20px rgba(7, 95, 159, 0.14);
    transition: all 380ms ease;
}

.why-icon svg {
    width: 30px;
    height: 30px;
}

.why-card:hover .why-icon {
    transform: translateY(-4px) scale(1.1);
    background: linear-gradient(135deg, var(--rpm-red), var(--rpm-red-dark));
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(7, 95, 159, 0.35);
}

.why-card h3 {
    margin: 0 0 10px;
    color: var(--rpm-ink);
    font-size: 1.18rem;
    font-weight: 800;
}

.why-card p {
    margin: 0;
    color: var(--rpm-muted);
    font-size: 0.89rem;
    line-height: 1.62;
}

@media (max-width: 1100px) {
    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* Industries */
.industries-section {
    background: var(--rpm-cream);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 15px;
}

.industry-card {
    padding: 22px 24px;
    border: 1px solid var(--rpm-border);
    border-radius: 13px;
    background: #fff;
    transition: transform var(--rpm-transition), border-color var(--rpm-transition), box-shadow var(--rpm-transition);
}

.industry-card:hover {
    transform: translateY(-3px);
    border-color: #91c8e8;
    box-shadow: var(--rpm-shadow);
}

.industry-card h3 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.industry-card p {
    margin: 0;
    color: var(--rpm-muted);
    font-size: .84rem;
}

/* Process */
.process-section {
    background: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}

.process-step {
    padding: 25px 20px;
    border: 1px solid var(--rpm-border);
    border-radius: 15px;
    background: #fff;
    text-align: center;
    transition: transform var(--rpm-transition), box-shadow var(--rpm-transition);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--rpm-shadow);
}

.step-number {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin: 0 auto 17px;
    border: 1px solid #f0b8b5;
    border-radius: 50%;
    background: #eaf5fc;
    color: var(--rpm-red);
    font-weight: 850;
}

.process-step h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.process-step p {
    margin: 0;
    color: var(--rpm-muted);
    font-size: .84rem;
}

/* Testimonials */
.testimonials-section {
    background: var(--rpm-cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
}

.testimonial-card {
    padding: 26px;
    border: 1px solid var(--rpm-border);
    border-radius: 16px;
    background: #fff;
    transition: transform var(--rpm-transition), box-shadow var(--rpm-transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rpm-shadow);
}

.stars {
    color: #e99518;
    letter-spacing: 2px;
}

.quote {
    min-height: 72px;
    color: #38536b;
    font-size: .91rem;
    font-style: italic;
}

.person {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--rpm-border);
}

.avatar {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rpm-red);
    color: #fff;
    font-size: .78rem;
    font-weight: 850;
}

.person strong, .person small {
    display: block;
}

.person strong {
    font-size: .85rem;
}

.person small {
    color: var(--rpm-muted);
    font-size: .74rem;
}

/* ======================================================================
   ATTRACTIVE FAQ SECTION (FULL-WIDTH 2-COLUMN GRID)
   ====================================================================== */
.faq-section { 
  position: relative; 
  padding: 85px 0; 
  background: #0b3455; 
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 119, 189, 0.15) 0%, rgba(11, 52, 85, 0) 70%);
  pointer-events: none;
}

.faq-badge {
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: #60a0b0;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.faq-container { 
  max-width: 1280px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  margin-top: 35px;
}

.faq-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: all 300ms ease;
}

.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 24px;
  border: none;
  background: #ffffff;
  color: #0b3455;
  text-align: left;
  cursor: pointer;
  transition: background 250ms ease;
}

.faq-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-num {
  font-size: 0.85rem;
  font-weight: 850;
  color: #0877bd;
  background: #eaf5fc;
  padding: 4px 10px;
  border-radius: 8px;
}

.faq-text {
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.35;
  color: #0b3455;
}

.faq-icon-box {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f3f8fc;
  border: 1px solid #cbddea;
  transition: all 300ms ease;
}

.faq-icon {
  color: #0877bd;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
  transition: transform 300ms ease;
}

.faq-card.open .faq-icon-box {
  background: #0877bd;
  border-color: #0877bd;
}

.faq-card.open .faq-icon {
  color: #ffffff;
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 22px 62px;
  color: #526373;
  font-size: 0.93rem;
  line-height: 1.6;
}

.faq-card.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-cta-card {
  padding: 24px clamp(20px, 3vw, 30px);
  background: linear-gradient(135deg, rgba(8, 119, 189, 0.25), rgba(7, 82, 138, 0.4));
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq-cta-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
}

.faq-cta-card p {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: #d7e9f7;
}

.faq-cta-card .btn {
  align-self: flex-start;
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* CTA and contact */
.cta-banner {
    padding: 30px 0 !important;
    background: var(--rpm-cream-deep);
    border-block: 1px solid var(--rpm-border);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-inner h2 {
    margin: 0 0 5px;
    font-size: clamp(1.25rem, 2.3vw, 1.8rem);
    line-height: 1.3;
}

.cta-inner p {
    margin: 0;
    color: var(--rpm-muted);
    font-size: .9rem;
}

.contact-section {
    background: var(--rpm-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: start;
    gap: clamp(26px, 4vw, 55px);
}

.contact-info .section-title {
    margin-top: 7px;
}

.contact-text {
    color: var(--rpm-muted);
}

.contact-list {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    padding-bottom: 11px;
    border-bottom: 1px solid var(--rpm-border);
    font-size: .88rem;
}

.contact-list strong {
    color: var(--rpm-ink);
}

.contact-form {
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid var(--rpm-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--rpm-shadow);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 15px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #183b58;
    font-size: .82rem;
    font-weight: 750;
}

.form-group input, .form-group select, .form-group textarea {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid #cbddea;
    border-radius: 8px;
    outline: none;
    background: #fffdfb;
    color: var(--rpm-ink);
    transition: border-color var(--rpm-transition), box-shadow var(--rpm-transition);
}

.form-group textarea {
    min-height: 112px;
    resize: vertical;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--rpm-red);
    box-shadow: 0 0 0 3px rgba(7,95,159,.09);
}

.error-msg {
    display: block;
    min-height: 0;
    color: var(--rpm-red);
    font-size: .75rem;
}

.form-status {
    margin: 10px 0 0;
    color: #287547;
    font-size: .85rem;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--rpm-red);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(217,15,22,.25);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--rpm-transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .hero-main-card {
        grid-column: span 12;
        grid-row: span 1;
        min-height: 390px;
    }

    .feature-card {
        grid-column: span 12;
        min-height: 150px;
    }

    .feature-2, .feature-3, .feature-4 {
        grid-column: span 4;
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .pc-carousel {
        --pc-per-view: 3;
    }

    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .service-card.featured-service {
        transform: none;
    }

    .service-card.featured-service:hover {
        transform: translateY(-8px);
    }

}

@media (max-width: 900px) {
    .pc-carousel {
        --pc-per-view: 2;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

}

@media (max-width: 760px) {
    .container {
        width: min(100% - 32px, 620px);
    }

    section:not(.hero-section) {
        padding-block: 45px;
    }

    .hero-section {
        padding: 20px 0 34px;
    }

    .hero-container {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 12px;
        grid-auto-rows: auto;
    }

    .hero-main-card {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        min-height: 0;
        padding: 22px;
    }

    .hero-content-col {
        padding: 0;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .hero-description {
        font-size: .93rem;
    }

    .hero-image-col {
        min-height: 210px;
        padding: 8px;
    }

    .hero-img {
        height: 230px;
    }

    .float-tag {
        top: 15px;
        left: 15px;
    }

    .feature-card, .feature-2, .feature-3, .feature-4 {
        grid-column: span 1;
        min-height: 170px;
        padding: 15px;
    }

    .feature-content h3 {
        font-size: .95rem;
    }

    .feature-content p {
        font-size: .77rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 10px;
    }

    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-image img {
        height: 280px;
    }

    .about-badge {
        right: 0;
    }

    /* Services slideshow & responsiveness */
    .services-section {
        padding: 50px 0;
    }

    .service-card {
        padding: 28px 22px;
    }

    /* Products slideshow */
    .pc-carousel {
        --pc-gap: 14px;
        padding: 0 18px;
    }

    .pc-arrow {
        width: 38px;
        height: 38px;
    }

    .pc-arrow svg {
        width: 17px;
        height: 17px;
    }

    .pc-prev {
        left: -6px;
    }

    .pc-next {
        right: -6px;
    }

    .mc-card {
        height: 360px;
        border-radius: 18px;
    }

    .mc-title {
        font-size: 1.1rem;
    }

    .mc-desc {
        font-size: .78rem;
        margin-bottom: 11px;
    }

    .pc-dash {
        width: 36px;
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 12px;
    }

    .why-card {
        padding: 19px 14px;
    }

    .industries-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 11px;
    }

    .industry-card {
        padding: 17px;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 12px;
    }

    .process-step {
        padding: 20px 14px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .quote {
        min-height: 0;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }

}

@media (max-width: 560px) {
    .pc-carousel {
        --pc-per-view: 1;
        padding: 0 14px;
    }

    .mc-card {
        height: 390px;
    }

}

@media (max-width: 420px) {
    .container {
        width: min(100% - 24px, 390px);
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .hero-points {
        gap: 8px 12px;
        font-size: .73rem;
    }

    .feature-card, .feature-2, .feature-3, .feature-4 {
        min-height: 155px;
    }

    .about-points {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 24px;
    }

}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

}

/* Dynamic styling fixes */
body {
    background: var(--rpm-cream);
    color: var(--rpm-ink);
}

.text-gradient {
    color: #0877bd;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #06233b;
    isolation: isolate;
}

.hero-section::before {
    content: none;
}

.rpm-home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 620px;
    overflow: hidden;
    background: #06233b;
}

.rpm-home-hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 28, 48, 0.9) 0%, rgba(4, 28, 48, 0.68) 42%, rgba(4, 28, 48, 0.2) 100%);
    content: "";
    pointer-events: none;
}

.rpm-hero-slides {
    position: absolute;
    z-index: 0;
    inset: 0;
}

.rpm-hero-slide {
    position: absolute;
    inset: 0;
    background-color: #16456a;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.4s ease-in-out;
    will-change: opacity, transform;
}

.rpm-hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    animation: rpmHeroZoom 7s ease-out forwards;
}

@keyframes rpmHeroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.07);
    }

}

.rpm-hero-copy {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 800px;
    padding: clamp(40px, 5vw, 72px) clamp(28px, 6.8vw, 104px) 140px;
}

.rpm-hero-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: 0.24em;
}

.rpm-hero-eyebrow span {
    color: #4fc3ff;
}

.rpm-hero-title {
    max-width: 700px;
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 46px;
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 1;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.35);
}

.rpm-hero-title span {
    color: #4fc3ff;
}

.rpm-hero-description {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.98rem, 1.15vw, 1.12rem);
    line-height: 1.55;
}

.rpm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
    text-decoration-style: dashed;
    text-decoration-color: deeppink;
}

.rpm-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid #0877bd;
    border-radius: 9px;
    font-size: 0.91rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

.rpm-hero-button:hover {
    transform: translateY(-3px);
}

.rpm-hero-button-primary {
    background: linear-gradient(110deg, #075b9b, #118bd0);
    color: #ffffff;
    box-shadow: 0 9px 22px rgba(7, 95, 159, 0.3);
}

.rpm-hero-button-primary:hover {
    box-shadow: 0 13px 28px rgba(7, 95, 159, 0.45);
}

.rpm-hero-button-outline {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.rpm-hero-button-outline:hover {
    background: #ffffff;
    color: #075b9b;
}

.rpm-hero-benefits {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 17px clamp(22px, 6.8vw, 104px);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(5, 34, 59, 0.74);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.rpm-hero-benefits > div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.rpm-benefit-icon {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #0c9be0, #07528a);
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
}

.rpm-hero-benefits strong, .rpm-hero-benefits small {
    display: block;
}

.rpm-hero-benefits strong {
    color: #ffffff;
    font-size: 0.78rem;
    line-height: 1.25;
}

.rpm-hero-benefits small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.72rem;
    line-height: 1.25;
}

.rpm-hero-dots {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 100px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rpm-hero-dot {
    position: relative;
    width: 34px;
    height: 14px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.rpm-hero-dot::before {
    position: absolute;
    top: 5px;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
    content: "";
    transition: background 250ms ease;
}

.rpm-hero-dot:hover::before {
    background: rgba(255, 255, 255, 0.85);
}

.rpm-hero-dot.is-active::before {
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.rpm-hero-dot:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

.rpm-hero-service-strip {
    position: absolute;
    z-index: 3;
    right: clamp(22px, 5vw, 72px);
    bottom: 118px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(440px, 34vw);
    padding: 10px 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    background: linear-gradient(110deg, rgba(5, 55, 91, 0.86), rgba(7, 104, 166, 0.82));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.rpm-hero-service-strip a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 80px;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    transition: background 200ms ease;
}

.rpm-hero-service-strip a:last-child {
    border-right: 0;
}

.rpm-hero-service-strip a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.rpm-hero-service-strip a > span {
    font-size: 29px;
    line-height: 1;
}

.rpm-hero-service-strip strong {
    font-size: 0.77rem;
    line-height: 1.2;
}

.stats-section, .about-section, .industries-section, .testimonials-section, .contact-section {
    background-color: #f3f8fc;
}

.why-section, .process-section, .faq-section {
    background-color: #0b3455;
}

.why-section, .why-section .section-title, .faq-section, .faq-section .section-title {
    color: #ffffff;
}

@media (max-width: 1100px) {
    .rpm-home-hero {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-end;
        min-height: 600px;
    }

    .rpm-home-hero::before {
        background: linear-gradient(180deg, rgba(4, 28, 48, 0.55) 0%, rgba(4, 28, 48, 0.88) 100%);
    }

    .rpm-hero-copy {
        max-width: none;
        padding: 60px 34px 24px;
    }

    .rpm-hero-title {
        font-size: clamp(2.35rem, 5.2vw, 3.6rem);
    }

    .rpm-hero-service-strip {
        position: relative;
        z-index: 3;
        right: auto;
        bottom: auto;
        width: auto;
        margin: 0 34px 22px;
    }

    .rpm-hero-benefits {
        position: relative;
        gap: 8px;
        padding-inline: 22px;
    }

    .rpm-hero-benefits small {
        display: none;
    }

    .rpm-hero-dots {
        top: 18px;
        right: 0;
        bottom: auto;
        left: 0;
    }

}

@media (max-width: 760px) {
    .rpm-hero-copy {
        padding: 56px 24px 22px;
    }

    .rpm-hero-title {
        font-size: clamp(2.3rem, 9.5vw, 3.5rem);
    }

    .rpm-hero-service-strip {
        margin: 0 24px 20px;
    }

    .rpm-hero-service-strip a {
        min-height: 70px;
    }

    .rpm-hero-benefits {
        padding: 14px 18px;
    }

    .rpm-hero-benefits > div {
        align-items: flex-start;
        gap: 7px;
    }

    .rpm-benefit-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        font-size: 17px;
    }

    .rpm-hero-benefits strong {
        font-size: 0.66rem;
    }

}

@media (max-width: 430px) {
    .rpm-hero-copy {
        padding-inline: 20px;
    }

    .rpm-hero-eyebrow {
        gap: 7px;
        font-size: 9px;
        letter-spacing: 0.15em;
    }

    .rpm-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .rpm-hero-button {
        width: 100%;
    }

    .rpm-hero-service-strip {
        margin-inline: 20px;
    }

    .rpm-hero-benefits {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 18px;
    }

    .rpm-hero-benefits > div {
        align-items: center;
    }

    .rpm-hero-benefits small {
        display: inline;
        margin-left: 5px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .rpm-hero-button, .rpm-hero-service-strip a {
        transition: none;
    }

    .rpm-hero-slide {
        transition-duration: .01ms;
    }

    .rpm-hero-slide.is-active {
        animation: none;
    }

}

/* ================================================================
   RPM INDUSTRIES — APPROVED FULL-WIDTH HERO DESIGN
   Compact desktop height, full-bleed background and readable overlay.
   ================================================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #062b4b;
    isolation: isolate;
}

.hero-section::before {
    content: none;
}

.rpm-home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(520px, 43vw, 590px);
    overflow: hidden;
    background: #062b4b;
}

.rpm-home-hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient( 90deg, rgba(3, 27, 48, 0.94) 0%, rgba(4, 39, 67, 0.84) 34%, rgba(4, 39, 67, 0.45) 58%, rgba(4, 39, 67, 0.10) 100% );
    content: "";
    pointer-events: none;
}

.rpm-hero-slides {
    position: absolute;
    z-index: 0;
    inset: 0;
}

.rpm-hero-slide {
    position: absolute;
    inset: 0;
    background-color: #16456a;
    background-position: center 54%;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.35s ease-in-out;
    will-change: opacity, transform;
}

.rpm-hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    animation: rpmHeroZoom 8s ease-out forwards;
}

@keyframes rpmHeroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.045);
    }

}

.rpm-hero-copy {
    position: relative;
    z-index: 3;
    width: min(100%, 760px);
    padding: 36px 0 38px clamp(28px, 7vw, 108px);
    color: #ffffff;
}

.rpm-hero-welcome {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.25em;
}

.rpm-hero-welcome i {
    display: inline-block;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, #38d0ff, rgba(56, 208, 255, 0.08));
}

.rpm-hero-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 0 8px;
    line-height: 0.88;
    text-shadow: 0 5px 22px rgba(0, 0, 0, 0.26);
}

.rpm-hero-brand-main {
    color: #25c4ff;
    background: linear-gradient(180deg, #7ce8ff 0%, #1aa9ee 48%, #0870bd 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(4.2rem, 7vw, 6.2rem);
    font-weight: 950;
    letter-spacing: -0.075em;
}

.rpm-hero-brand-sub {
    margin-top: 7px;
    color: #ffffff;
    font-size: clamp(2.1rem, 3.8vw, 3.35rem);
    font-weight: 900;
    letter-spacing: -0.045em;
}

.rpm-hero-brand-tagline {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 15px 0 22px;
    color: #d8efff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.19em;
}

.rpm-hero-brand-tagline i {
    width: 4px;
    height: 4px;
}

.rpm-hero-title {
    max-width: 660px;
    margin: 0 0 13px;
    color: #ffffff;
    font-size: clamp(2rem, 3.1vw, 2.8rem);
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 1.04;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.32);
}

.rpm-hero-title span {
    color: #35c7ff;
}

.rpm-hero-description {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.91);
    font-size: 14px;
    line-height: 1.55;
}

.rpm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 22px;
}

.rpm-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 47px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
}

.rpm-hero-button:hover {
    transform: translateY(-3px);
}

.rpm-hero-button-primary {
    color: #ffffff;
    background: linear-gradient(110deg, #0876bd, #12a8e8);
    box-shadow: 0 9px 22px rgba(0, 125, 199, 0.30);
}

.rpm-hero-button-primary:hover {
    color: #ffffff;
    box-shadow: 0 13px 28px rgba(0, 125, 199, 0.42);
}

.rpm-hero-button-outline {
    border-color: rgba(255, 255, 255, 0.72);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}

.rpm-hero-button-outline:hover {
    color: #075b9b;
    background: #ffffff;
}

.rpm-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.rpm-hero-benefit {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding-right: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.30);
}

.rpm-hero-benefit:last-child {
    padding-right: 0;
    border-right: 0;
}

.rpm-benefit-icon {
    display: grid;
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(145deg, #27c6f5, #0872b7);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.20);
    font-size: 17px;
    font-weight: 850;
}

.rpm-hero-benefit strong, .rpm-hero-benefit small {
    display: block;
}

.rpm-hero-benefit strong {
    color: #ffffff;
    font-size: 11px;
    line-height: 1.25;
}

.rpm-hero-benefit small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 10px;
    line-height: 1.25;
}

.rpm-hero-dots {
    position: absolute;
    z-index: 4;
    right: clamp(24px, 5vw, 74px);
    bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.rpm-hero-dot {
    position: relative;
    width: 27px;
    height: 13px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.rpm-hero-dot::before {
    position: absolute;
    top: 5px;
    right: 0;
    left: 0;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.52);
    content: "";
    transition: background 220ms ease, box-shadow 220ms ease;
}

.rpm-hero-dot.is-active::before {
    background: #28c6ff;
    box-shadow: 0 0 10px rgba(40, 198, 255, 0.72);
}

.rpm-hero-caption {
    position: absolute;
    z-index: 3;
    right: clamp(24px, 5vw, 74px);
    bottom: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.15em;
}

@media (max-width: 1100px) {
    .rpm-home-hero {
        min-height: 560px;
    }

    .rpm-hero-copy {
        padding-left: 6vw;
    }

    .rpm-hero-benefits {
        gap: 13px;
    }

    .rpm-hero-benefit {
        padding-right: 12px;
    }

}

@media (max-width: 760px) {
    .rpm-home-hero {
        min-height: 650px;
        align-items: flex-end;
    }

    .rpm-home-hero::before {
        background: linear-gradient( 180deg, rgba(3, 27, 48, 0.16) 0%, rgba(3, 27, 48, 0.58) 30%, rgba(3, 27, 48, 0.96) 100% );
    }

    .rpm-hero-slide {
        background-position: 62% center;
    }

    .rpm-hero-copy {
        width: 100%;
        padding: 210px 28px 54px;
    }

    .rpm-hero-brand-main {
        font-size: clamp(3.8rem, 13vw, 5.2rem);
    }

    .rpm-hero-brand-sub {
        font-size: clamp(1.9rem, 7vw, 2.7rem);
    }

    .rpm-hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .rpm-hero-description {
        font-size: 13px;
    }

    .rpm-hero-benefits {
        gap: 12px;
        margin-top: 20px;
    }

    .rpm-hero-benefit {
        flex: 1 1 42%;
        padding-right: 8px;
    }

    .rpm-hero-dots {
        top: 18px;
        right: 22px;
        bottom: auto;
    }

    .rpm-hero-caption {
        display: none;
    }

}

@media (max-width: 480px) {
    .rpm-home-hero {
        min-height: 690px;
    }

    .rpm-hero-copy {
        padding: 190px 20px 48px;
    }

    .rpm-hero-welcome {
        font-size: 10px;
        letter-spacing: 0.20em;
    }

    .rpm-hero-brand-tagline {
        gap: 7px;
        font-size: 8px;
        letter-spacing: 0.12em;
    }

    .rpm-hero-title {
        font-size: 1.82rem;
    }

    .rpm-hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .rpm-hero-button {
        width: 100%;
    }

    .rpm-hero-benefits {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 11px;
    }

    .rpm-hero-benefit {
        border: 0;
        padding: 0;
    }

    .rpm-hero-benefit:last-child {
        grid-column: 1 / -1;
    }

}

@media (prefers-reduced-motion: reduce) {
    .rpm-hero-button, .rpm-hero-slide, .rpm-hero-dot::before {
        transition: none;
    }

    .rpm-hero-slide.is-active {
        animation: none;
    }

}


/* ================================================================
   HERO BENEFITS — PREVENT OVERLAP WITH THE CTA BUTTONS
   Keep the benefits in the normal content flow below the buttons.
   ================================================================ */
.rpm-hero-benefits {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 25px;
    padding: 0;
    border: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}


/* ================================================================
   HEADING UNDERLINES + ALIGNMENT FIXES  (added last so it wins)
   ================================================================ */

/* ---- Heading underline (accent bar under every section title) ---- */
.section-title,
.section-title1 {
    position: relative;
    margin-bottom: 18px;
}

.section-title::after,
.section-title1::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 14px 0 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #0877bd, #4fc3ff);
}

/* Centered headings -> centered underline */
.section-header .section-title::after,
.section-header .section-title1::after {
    margin-inline: auto;
}

/* Left-aligned headings (About + Contact) -> left underline */
.about-content .section-title1::after,
.contact-info .section-title1::after {
    margin-left: 0;
    margin-right: auto;
}

/* Dark navy sections -> light/gold underline so it stays visible */
.services-section .section-title::after,
.why-section .section-title::after,
.process-section .section-title::after,
.faq-section .section-title::after {
    background: linear-gradient(90deg, #4fc3ff, #e99518);
}

/* ---- Heading text alignment ---- */
.section-header {
    text-align: center;
}

.section-header .sub-heading {
    display: inline-block;
    margin-bottom: 12px;
}

.section-desc,
.section-desc1 {
    max-width: 620px;
    line-height: 1.65;
}

.section-header .section-desc,
.section-header .section-desc1 {
    margin-inline: auto;
}

.about-content,
.contact-info {
    text-align: left;
}

.about-content .sub-heading,
.contact-info .sub-heading {
    margin-bottom: 12px;
}

.contact-info .section-title,
.contact-info .section-title1 {
    margin-top: 0;
}

/* ---- Layout alignment ---- */

/* Products section used .container-fluid which had no style */
.container-fluid {
    width: min(100% - 48px, 1480px);
    margin-inline: auto;
}

/* Equal height + consistent inner alignment for card rows */
.why-card,
.process-step,
.industry-card,
.testimonial-card {
    height: 100%;
}

.why-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
}

.testimonial-card .quote {
    flex: 1;
    margin: 10px 0 18px;
}

.stat-item {
    justify-content: center;
}

.faq-title-wrap {
    flex: 1;
    min-width: 0;
}

.faq-icon-box {
    flex-shrink: 0;
}

/* Hero text, dots and caption line up with the page container edges */
@media (min-width: 761px) {
    .rpm-hero-copy {
        width: 100%;
        max-width: none;
        padding-left: max(24px, calc((100% - 1280px) / 2));
        padding-right: 24px;
    }

    .rpm-hero-copy > * {
        max-width: 760px;
    }

    .rpm-hero-dots,
    .rpm-hero-caption {
        right: max(24px, calc((100% - 1280px) / 2));
    }
}

@media (max-width: 760px) {
    .section-header {
        margin-bottom: 26px;
    }

    .section-title::after,
    .section-title1::after {
        width: 60px;
        height: 3px;
        margin-top: 12px;
    }
}