.elementor-12857 .elementor-element.elementor-element-bc92aed{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-12857 .elementor-element.elementor-element-df1efd9{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-12857 .elementor-element.elementor-element-4d718d5{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-12857 .elementor-element.elementor-element-d60005a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}body.elementor-page-12857:not(.elementor-motion-effects-element-type-background), body.elementor-page-12857 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-92872fe );}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-c3626bd *//* Center the glass network tabs under the hero text */
.rf-hero__networks {
  display: flex;
  justify-content: center;
  width: 100%;
}

.rf-hero__network-shell {
  margin: 0 auto;        /* Ensure it aligns centrally */
  display: inline-flex;  /* Keep shape tight around tabs */
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-86619b0 *//* ========= Full-Width Intro Container ========= */
.rf-intro-container {
  width: 100%;
  background: #ffffff;
  padding: 60px 6vw;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.rf-intro-inner {
  max-width: 1500px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Left: Logo */
.rf-intro-left {
  flex: 0 0 350px;
  display: flex;
  justify-content: center;
}

.rf-intro-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* Right: Text */
.rf-intro-right {
  flex: 1;
}

.rf-intro-right h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.rf-intro-right p {
  font-size: 16px;
  line-height: 1.75;
  color: #555;
  margin: 0;
}

/* ========= Responsive ========= */
@media (max-width: 1100px) {
  .rf-intro-inner {
    gap: 40px;
  }
}

@media (max-width: 850px) {
  .rf-intro-inner {
    flex-direction: column;
    text-align: center;
  }

  .rf-intro-left {
    flex: none;
  }

  .rf-intro-logo {
    max-width: 240px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-e3de297 *//* ===== Private Networks | Luxury Market Strip ===== */

.rf-pn-markets {
  padding: 20px 6vw 40px;
  background: #ffffff; /* Pure white background */
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.rf-pn-inner {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}

/* Under-rail glowing line */
.rf-pn-rail {
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7fa9ae, #e28640);
  opacity: 0.35; /* slightly stronger for white bg */
  border-radius: 999px;
  pointer-events: none;
  transition: 0.4s ease;
}

/* (Note: this .elementor-12857 .elementor-element.elementor-element-e3de297 doesn't actually fire with current HTML order,
   but kept as-is to avoid JS changes) */
.rf-pn-markets-row.has-active ~ .rf-pn-rail {
  opacity: 0.55;
}

.rf-pn-markets-row {
  display: flex;
  gap: 1px;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Core card */
.rf-pn-market-card {
  flex: 1 1 0;
  min-height: 500px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /* Slower, smoother transition – no flex animation */
  transition:
    transform 0.75s ease,
    box-shadow 0.75s ease;
  transform: translateY(0) scale(1);
}

/* When any card is active, gently scale the others down */
.rf-pn-markets-row.has-active .rf-pn-market-card {
  transform: translateY(0) scale(0.99);
}

/* Inner glass glow border – adjusted for white bg */
.rf-pn-market-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  pointer-events: none;
}

/* Accent bar (sector-specific) */
.rf-pn-accent {
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 60px;
  border-radius: 0 0 6px 0;
  z-index: 3;
  opacity: 0.85;
}

/* Example accent colours */
.market-oem .rf-pn-accent { background: #7fa9ae; }
.market-rail .rf-pn-accent { background: #e28640; }
.market-energy .rf-pn-accent { background: #9ad66b; }
.market-road .rf-pn-accent { background: #d8a74a; }
.market-defence .rf-pn-accent { background: #4ea0db; }

/* Icon (etched) */
.rf-pn-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  opacity: 0.18;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 3;
  transition: opacity 0.4s ease;
}

/* Replace with actual icons later */
.market-oem .rf-pn-icon { background-image: url('data:image/svg+xml,<svg fill="white" opacity="0.8" ...>'); }
.market-rail .rf-pn-icon { background-image: url('data:image/svg+xml,<svg ...>'); }
/* (I can add proper SVG icons once you choose them) */

/* Noise overlay */
.rf-pn-noise {
  position: absolute;
  inset: 0;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.18;
  mix-blend-mode: soft-light;
  z-index: 2;
  pointer-events: none;
}

/* Background + overlay */
.rf-pn-market-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.75s ease, filter 0.75s ease;
  filter: grayscale(0) brightness(0.75);
}

/* Softer overlay for white background */
.rf-pn-market-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.15));
  z-index: 1;
  transition: opacity 0.55s ease;
}

/* Subtle light sweep */
.rf-pn-light-sweep {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(75deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.8s ease;
  opacity: 0.35;
  z-index: 3;
  pointer-events: none;
}

/* Content */
.rf-pn-market-content {
  position: absolute;
  bottom: 0;
  padding: 25px 22px;
  z-index: 4;
  color: #fff;
}

.rf-pn-market-content h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.4px;
}

.rf-pn-hover-text {
  margin: 5px 0 0;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.45s ease;
  font-size: 14px;
  line-height: 1.4;
}

/* Hover effects – SOFTER, LUXURIOUS */
.rf-pn-market-card.is-active {
  /* No flex-grow change so cards don’t shove each other */
  flex: 1 1 0;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 45px rgba(0,0,0,0.45);
}

.rf-pn-market-card.is-active .rf-pn-market-bg {
  transform: scale(1.06);
  filter: grayscale(0) brightness(1.08); /* a touch brighter on hover */
}

.rf-pn-market-card.is-active .rf-pn-market-overlay {
  opacity: 0.75;
}

.rf-pn-market-card.is-active .rf-pn-light-sweep {
  transform: translateX(120%);
}

.rf-pn-market-card.is-active .rf-pn-hover-text {
  opacity: 0.75;
  transform: translateY(0);
}

/* De-emphasise non-hovered – lighter for white bg */
.rf-pn-markets-row.has-active .rf-pn-market-card:not(.is-active) .rf-pn-market-bg {
  filter: grayscale(0.9) brightness(0.85);
}

/* Background images (replace as needed) */
.market-oem .rf-pn-market-bg {
  background-image: url('https://rainfordsolutions.com/wp-content/uploads/2023/08/design.jpg');
}

.market-rail .rf-pn-market-bg {
  background-image: url('https://rainfordsolutions.com/wp-content/uploads/2023/04/rail-1.jpg');
}

.market-energy .rf-pn-market-bg {
  background-image: url('https://rainfordsolutions.com/wp-content/uploads/2023/04/solarpark-1288842_1920-2.jpg');
}

.market-road .rf-pn-market-bg {
  background-image: url('https://rainfordsolutions.com/wp-content/uploads/2023/08/road_2.jpg');
}

.market-defence .rf-pn-market-bg {
  background-image: url('https://rainfordsolutions.com/wp-content/uploads/2023/08/defence_3.jpg');
}

/* Full-card link */
.rf-pn-card-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-e990a4e *//* ===== Why Rainford for Private Networks Banner ===== */

.rf-pn-why {
  width: 100%;
  background: #ffffff;
  padding: 60px 6vw 70px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.rf-pn-why-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* Header */
.rf-pn-why-header {
  text-align: left;
  max-width: 780px;
  margin-bottom: 40px;
}

.rf-pn-why-header h2 {
  font-size: 30px;
  margin: 0 0 10px;
  font-weight: 600;
  color: #222;
}

.rf-pn-why-header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* Grid of value points */
.rf-pn-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* Individual item card */
.rf-pn-why-item {
  position: relative;
  padding: 22px 20px 24px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(15,23,42,0.04);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

/* Soft gradient edge at the bottom */
.rf-pn-why-item::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7fa9ae, #e28640);
  opacity: 0.65;
}

/* Icon – simple luxury disc with gradient ring */
.rf-pn-why-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  margin-bottom: 12px;
  position: relative;
  background: radial-gradient(circle at 30% 30%, #ffffff, #dfe9ec);
  box-shadow: 0 0 0 1px rgba(127,169,174,0.5), 0 4px 10px rgba(15,23,42,0.12);
}

.rf-pn-why-icon::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  background: linear-gradient(135deg, #7fa9ae, #e28640);
  opacity: 0.85;
}

/* Text inside card */
.rf-pn-why-item h3 {
  font-size: 16px;
  margin: 0 0 6px;
  font-weight: 600;
  color: #222;
}

.rf-pn-why-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* Hover effect – soft lift and glow */
.rf-pn-why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15,23,42,0.08);
  border-color: rgba(127,169,174,0.7);
}

/* Responsive */
@media (max-width: 1024px) {
  .rf-pn-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .rf-pn-why {
    padding: 40px 18px 50px;
  }

  .rf-pn-why-header {
    text-align: left;
  }

  .rf-pn-why-grid {
    grid-template-columns: 1fr;
  }
}/* End custom CSS */