﻿@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Tajawal', sans-serif; color: #1C2028; background: #FFFFFF; }
a { color: inherit; }
a:hover { opacity: 0.85; }

/* =========================
   RackForge Navigation Bar
   ========================= */
.rf-navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid #E6E9E2;
  font-family: 'Tajawal', sans-serif;
}

.rf-navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.rf-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.rf-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #04231A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rf-brand-name {
  display: flex;
  align-items: baseline;
  gap: 2px;
  direction: ltr;
}

.rf-brand-name span,
.rf-brand-name b {
  font-weight: 800;
  font-size: 21px;
  letter-spacing: .5px;
}

.rf-brand-name span { color: #1C2028; }
.rf-brand-name b { color: #4D7B0F; }

.rf-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rf-desktop nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.rf-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: 12px;
}

.rf-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  text-decoration: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: #1C2028;
  transition: color .2s ease;
}

.rf-nav-link:hover {
  color: #4D7B0F;
  opacity: 1;
}

.rf-nav-link.active { color: #4D7B0F; }

.rf-nav-link.active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 3px;
  background: #C69714;
}

.rf-lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F5F6F2;
  border: 1px solid #E0E4DA;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: #1C2028;
  cursor: pointer;
}

.rf-lang-btn:hover { opacity: .9; }

.rf-mobile {
  display: none;
}

.rf-mobile-menu {
  background: #FFFFFF;
  border-top: 1px solid #E6E9E2;
  padding: 10px 24px 22px;
}

.rf-mobile-link {
  display: block;
  text-decoration: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1C2028;
  padding: 13px 4px;
  border-bottom: 1px solid #EEF0EA;
}

.rf-mobile-link.active { color: #4D7B0F; }

.rf-mobile-cta {
  display: block;
  text-decoration: none;
  text-align: center;
  background: #C69714;
  color: #1C2028;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 8px;
  margin-top: 14px;
}

.rf-mobile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rf-menu-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #04231A;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* =========================
   RackForge Footer
   ========================= */
.rf-footer {
  background: #04231A;
  font-family: 'Tajawal', sans-serif;
}

.rf-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.rf-footer-brand {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rf-footer-name {
  display: flex;
  align-items: baseline;
  gap: 2px;
  direction: ltr;
}

.rf-footer-name span,
.rf-footer-name b {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .5px;
}

.rf-footer-name span { color: #FFFFFF; }
.rf-footer-name b { color: #8FC63F; }

.rf-footer-blurb {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: #A9B8AE;
  max-width: 340px;
}

.rf-footer-line {
  width: 34px;
  height: 2px;
  background: #C69714;
}

.rf-footer-col {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rf-footer-col.services { flex-basis: 220px; }
.rf-footer-col.contact { flex-basis: 240px; }

.rf-footer-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #C69714;
  letter-spacing: 1px;
}

.rf-footer-link {
  text-decoration: none;
  font-size: 14.5px;
  color: #D8E0D9;
}

.rf-footer-link:hover { color: #8FC63F; opacity: 1; }

.rf-footer-contact-link {
  text-decoration: none;
  font-size: 14.5px;
  color: #D8E0D9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rf-footer-contact-link svg { flex-shrink: 0; }

.rf-footer-bottom {
  border-top: 1px solid #113328;
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
  color: #7E8F84;
}

@media (max-width: 939px) {
  .rf-desktop { display: none !important; }
  .rf-mobile { display: flex !important; }
  .rf-mobile-actions { display: flex !important; }
}

@media (min-width: 940px) {
  .rf-mobile { display: none !important; }
}

@media (max-width: 600px) {
  .rf-navbar-inner { padding: 0 16px; }
  .rf-brand-name span,
  .rf-brand-name b { font-size: 19px; }
  .rf-footer-inner { padding: 48px 20px 28px; gap: 36px; }
}


/* =========================================================
   RackForge Hero - City Network Image
   ========================================================= */

.rf-hero {
  position: relative;
  width: 100%;
  background: #021326;
  overflow: hidden;
}

.rf-hero-media {
  position: relative;
  width: 100%;
  height: clamp(560px, 58vw, 680px);
  overflow: hidden;
}

.rf-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.rf-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 18, 39, 0.20) 0%,
      rgba(2, 18, 39, 0.08) 48%,
      rgba(2, 18, 39, 0.02) 100%
    );
  pointer-events: none;
}

.rf-hero-content-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.rf-hero-content {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding-inline: 24px;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: right;
  direction: rtl;
  margin-inline-start: max(24px, calc((100vw - 1280px) / 2 + 24px));
  margin-inline-end: auto;
}

.rf-hero-kicker {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: #C69714;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.4;
}
.rf-page[dir="rtl"] .rf-hero-kicker {
  transform: translateX(-30px);
}

.rf-hero-kicker-mark {
  width: 46px;
  height: 13px;
  flex: 0 0 auto;
  clip-path: polygon(16% 0,100% 0,84% 100%,0 100%);
  background: linear-gradient(90deg, #C69714, #8FC63F);
  order: 2;
}

.rf-hero-title {
  margin: 0;
  max-width: 620px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.22;
  font-weight: 900;
  color: #FFFFFF;
  text-align: right;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.rf-hero-title span {
  color: #8FC63F;
}

.rf-hero-body {
  margin: 0;
  max-width: 610px;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.95;
  font-weight: 500;
  color: #F2F6F3;
  text-align: right;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.rf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 6px;
  direction: rtl;
}

.rf-hero-primary,
.rf-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.rf-hero-primary {
  background: #C69714;
  color: #1C2028;
  border: 1px solid #C69714;
}

.rf-hero-secondary {
  background: rgba(2, 18, 39, 0.18);
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.72);
}

.rf-hero-primary:hover,
.rf-hero-secondary:hover {
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 939px) {
  .rf-hero-media {
    height: clamp(520px, 72vw, 620px);
  }

  .rf-hero-content {
    width: calc(100% - 32px);
    max-width: 660px;
    padding-inline: 16px;
    margin-inline: auto;
  }

  .rf-hero-title {
    font-size: clamp(34px, 7vw, 50px);
  }
}

@media (max-width: 600px) {
  .rf-hero-media {
    height: 620px;
  }

  .rf-hero-image {
    object-position: center center;
  }

  .rf-hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(2, 18, 39, 0.68) 0%,
      rgba(2, 18, 39, 0.42) 65%,
      rgba(2, 18, 39, 0.20) 100%
    );
  }

  .rf-hero-content {
    width: calc(100% - 28px);
    max-width: 560px;
    padding-inline: 14px;
    gap: 16px;
  }

  .rf-hero-kicker {
    font-size: 13px;
    gap: 9px;
  }

  .rf-hero-kicker-mark {
    width: 38px;
    height: 11px;
  }

  .rf-hero-title {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.28;
  }

  .rf-hero-body {
    font-size: 15px;
    line-height: 1.85;
  }

  .rf-hero-actions {
    justify-content: flex-start;
    gap: 10px;
  }

  .rf-hero-primary,
  .rf-hero-secondary {
    min-width: 138px;
    min-height: 50px;
    padding: 12px 18px;
    font-size: 14px;
  }
}

/* English Hero */
html[dir="ltr"] .rf-hero-content {
  direction: ltr;
  text-align: left;
}

html[dir="ltr"] .rf-hero-kicker {
  justify-content: flex-start;
  text-align: left;
  direction: ltr;
}

html[dir="ltr"] .rf-hero-kicker-mark {
  order: 2;
}

html[dir="ltr"] .rf-hero-title,
html[dir="ltr"] .rf-hero-body {
  text-align: left;
}

html[dir="ltr"] .rf-hero-actions {
  direction: ltr;
  justify-content: flex-start;
}
/* Final Hero placement: Arabic copy on the open right side of the city image */
.rf-hero-content-wrap {
  justify-content: flex-end !important;
}

.rf-hero-content {
  max-width: 650px !important;
  margin-left: 4.5vw !important;
  margin-right: max(24px, calc((100vw - 1280px) / 2 + 18px)) !important;
  padding-inline: 0 !important;
  align-items: flex-end !important;
  text-align: right !important;
}

.rf-hero-kicker,
.rf-hero-title,
.rf-hero-body {
  width: 100% !important;
  text-align: right !important;
}

.rf-hero-kicker {
  justify-content: flex-start !important;
}

.rf-hero-kicker-mark {
  order: 2 !important;
}

.rf-hero-actions {
  width: 100% !important;
  justify-content: flex-start !important;
}

@media (max-width: 939px) {
  .rf-hero-content {
    max-width: 650px !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
}

@media (max-width: 600px) {
  .rf-hero-content-wrap {
    justify-content: center !important;
  }

  .rf-hero-content {
    width: calc(100% - 28px) !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    align-items: flex-end !important;
  }
}


/* =========================================================
   English Hero — right-side layout
   Keep the same composition as Arabic, with LTR text.
   ========================================================= */
.rf-page[dir="ltr"] .rf-hero-content-wrap {
  justify-content: flex-end !important;
}

.rf-page[dir="ltr"] .rf-hero-content {
  max-width: 650px !important;
  margin-left: max(24px, calc((100vw - 1280px) / 2 + 18px)) !important;
  margin-right: 4.5vw !important;
  padding-inline: 0 !important;
  align-items: flex-start !important;
  text-align: left !important;
  direction: ltr !important;
}

.rf-page[dir="ltr"] .rf-hero-kicker {
  width: 100% !important;
  justify-content: flex-start !important;
  direction: ltr !important;
  text-align: left !important;
}

.rf-page[dir="ltr"] .rf-hero-kicker-mark {
  order: 2 !important;
}

.rf-page[dir="ltr"] .rf-hero-title,
.rf-page[dir="ltr"] .rf-hero-body {
  width: 100% !important;
  text-align: left !important;
}

.rf-page[dir="ltr"] .rf-hero-actions {
  width: 100% !important;
  justify-content: flex-start !important;
  direction: ltr !important;
}

@media (max-width: 939px) {
  .rf-page[dir="ltr"] .rf-hero-content {
    max-width: 650px !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
}

@media (max-width: 600px) {
  .rf-page[dir="ltr"] .rf-hero-content-wrap {
    justify-content: center !important;
  }

  .rf-page[dir="ltr"] .rf-hero-content {
    width: calc(100% - 28px) !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    align-items: flex-start !important;
  }
}


/* =========================================================
   FINAL ENGLISH HERO ALIGNMENT
   English block stays on the right side of the image,
   but every line starts from the same LEFT edge.
   ========================================================= */

.rf-page[dir="ltr"] .rf-hero-content-wrap {
  justify-content: flex-end !important;
}

.rf-page[dir="ltr"] .rf-hero-content {
  direction: ltr !important;
  text-align: left !important;
  align-items: flex-start !important;

  /* keep the whole text block on the right side */
  margin-left: auto !important;
  margin-right: max(24px, calc((100vw - 1280px) / 2 + 18px)) !important;

  padding-left: 0 !important;
  padding-right: 0 !important;
}

.rf-page[dir="ltr"] .rf-hero-kicker,
.rf-page[dir="ltr"] .rf-hero-title,
.rf-page[dir="ltr"] .rf-hero-body {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

.rf-page[dir="ltr"] .rf-hero-kicker {
  direction: ltr !important;
  justify-content: flex-start !important;
}

.rf-page[dir="ltr"] .rf-hero-kicker-mark {
  order: 2 !important;
}

.rf-page[dir="ltr"] .rf-hero-actions {
  width: 100% !important;
  direction: ltr !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  margin-left: 0 !important;
}

@media (max-width: 600px) {
  .rf-page[dir="ltr"] .rf-hero-content-wrap {
    justify-content: center !important;
  }

  .rf-page[dir="ltr"] .rf-hero-content {
    width: calc(100% - 28px) !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
}


/* =========================================================
   ENGLISH HERO — SAME POSITION AS THE ARABIC HERO
   The copy sits over the dark/open side of the image.
   Text itself remains LTR and left-aligned.
   ========================================================= */

.rf-page[dir="ltr"] .rf-hero-content-wrap {
  justify-content: flex-start !important;
}

.rf-page[dir="ltr"] .rf-hero-content {
  direction: ltr !important;
  text-align: left !important;
  align-items: flex-start !important;

  /* Move the whole English block to the dark left side */
  width: min(650px, calc(100% - 48px)) !important;
  max-width: 650px !important;
  margin-left: max(24px, 4.5vw) !important;
  margin-right: auto !important;

  padding-left: 0 !important;
  padding-right: 0 !important;
}

.rf-page[dir="ltr"] .rf-hero-kicker,
.rf-page[dir="ltr"] .rf-hero-title,
.rf-page[dir="ltr"] .rf-hero-body {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

.rf-page[dir="ltr"] .rf-hero-kicker {
  direction: ltr !important;
  justify-content: flex-start !important;
}

.rf-page[dir="ltr"] .rf-hero-kicker-mark {
  order: 2 !important;
}

.rf-page[dir="ltr"] .rf-hero-actions {
  width: 100% !important;
  direction: ltr !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  margin-left: 0 !important;
}

@media (max-width: 939px) {
  .rf-page[dir="ltr"] .rf-hero-content {
    width: calc(100% - 40px) !important;
    max-width: 650px !important;
    margin-left: 20px !important;
    margin-right: auto !important;
  }
}

@media (max-width: 600px) {
  .rf-page[dir="ltr"] .rf-hero-content-wrap {
    justify-content: center !important;
  }

  .rf-page[dir="ltr"] .rf-hero-content {
    width: calc(100% - 28px) !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
}


/* =========================================================
   FINAL HERO LAYOUT
   Both languages use the same structure and position.
   Only text direction/alignment is reversed.
   ========================================================= */

/* Arabic */
.rf-page[dir="rtl"] .rf-hero-content-wrap {
  justify-content: flex-start !important;
}

.rf-page[dir="rtl"] .rf-hero-content {
  direction: rtl !important;
  text-align: right !important;
  align-items: flex-end !important;

  width: min(650px, calc(100% - 48px)) !important;
  max-width: 650px !important;

  /* Same physical position as English block */
  margin-left: max(24px, 4.5vw) !important;
  margin-right: auto !important;

  padding-left: 0 !important;
  padding-right: 0 !important;
}

.rf-page[dir="rtl"] .rf-hero-kicker,
.rf-page[dir="rtl"] .rf-hero-title,
.rf-page[dir="rtl"] .rf-hero-body {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: right !important;
}

.rf-page[dir="rtl"] .rf-hero-kicker {
  direction: rtl !important;
  justify-content: flex-start !important;
}

.rf-page[dir="rtl"] .rf-hero-kicker-mark {
  order: 0 !important;
}

.rf-page[dir="rtl"] .rf-hero-actions {
  width: 100% !important;
  direction: rtl !important;
  justify-content: flex-end !important;
  align-items: flex-end !important;
  margin-left: 0 !important;
  transform: translateX(270px);
}

/* English — same layout, opposite text direction */
.rf-page[dir="ltr"] .rf-hero-content-wrap {
  justify-content: flex-start !important;
}

.rf-page[dir="ltr"] .rf-hero-content {
  direction: ltr !important;
  text-align: left !important;
  align-items: flex-start !important;

  width: min(650px, calc(100% - 48px)) !important;
  max-width: 650px !important;

  margin-left: max(24px, 4.5vw) !important;
  margin-right: auto !important;

  padding-left: 0 !important;
  padding-right: 0 !important;
}

.rf-page[dir="ltr"] .rf-hero-kicker,
.rf-page[dir="ltr"] .rf-hero-title,
.rf-page[dir="ltr"] .rf-hero-body {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

.rf-page[dir="ltr"] .rf-hero-kicker {
  direction: ltr !important;
  justify-content: flex-start !important;
}

.rf-page[dir="ltr"] .rf-hero-kicker-mark {
  order: 2 !important;
}

.rf-page[dir="ltr"] .rf-hero-actions {
  width: 100% !important;
  direction: ltr !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  margin-left: 0 !important;
}

/* Mobile */
@media (max-width: 939px) {
  .rf-page[dir="rtl"] .rf-hero-content,
  .rf-page[dir="ltr"] .rf-hero-content {
    width: calc(100% - 40px) !important;
    max-width: 650px !important;
    margin-left: 20px !important;
    margin-right: auto !important;
  }
}

@media (max-width: 600px) {
  .rf-page[dir="rtl"] .rf-hero-content-wrap,
  .rf-page[dir="ltr"] .rf-hero-content-wrap {
    justify-content: center !important;
  }

  .rf-page[dir="rtl"] .rf-hero-content,
  .rf-page[dir="ltr"] .rf-hero-content {
    width: calc(100% - 28px) !important;
    max-width: 560px !important;
    margin: 0 auto !important;
  }
}

/* FINAL: English hero mark before ENGINEERING IT SOLUTIONS */
.rf-page[dir="ltr"] .rf-hero-kicker-mark {
  order: 0 !important;
}


/* =========================================================
   FINAL MOBILE FIX
   Desktop layout remains unchanged.
   ========================================================= */

@media (max-width: 939px) {
  /* Mobile navigation menu: stack links vertically when opened */
  .rf-mobile-menu {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .rf-mobile-menu .rf-mobile-link,
  .rf-mobile-menu .rf-mobile-cta {
    display: block !important;
    width: 100% !important;
    flex: 0 0 auto !important;
  }
}

@media (max-width: 600px) {
  /* Keep the Hero as an image background with text over it */
  .rf-hero-media {
    height: 650px !important;
    min-height: 650px !important;
  }

  .rf-hero-content-wrap {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 0 0 130px !important;
  }

  .rf-hero-content {
    position: relative !important;
    width: calc(100% - 32px) !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 14px !important;
  }

  .rf-page[dir="rtl"] .rf-hero-content {
    direction: rtl !important;
    align-items: flex-end !important;
    text-align: right !important;
  }

  .rf-page[dir="ltr"] .rf-hero-content {
    direction: ltr !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .rf-page[dir="rtl"] .rf-hero-kicker,
  .rf-page[dir="rtl"] .rf-hero-title,
  .rf-page[dir="rtl"] .rf-hero-body,
  .rf-page[dir="ltr"] .rf-hero-kicker,
  .rf-page[dir="ltr"] .rf-hero-title,
  .rf-page[dir="ltr"] .rf-hero-body {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .rf-page[dir="rtl"] .rf-hero-kicker,
  .rf-page[dir="rtl"] .rf-hero-title,
  .rf-page[dir="rtl"] .rf-hero-body {
    text-align: right !important;
  }

  .rf-page[dir="ltr"] .rf-hero-kicker,
  .rf-page[dir="ltr"] .rf-hero-title,
  .rf-page[dir="ltr"] .rf-hero-body {
    text-align: left !important;
  }

  /* Remove desktop-only offsets from the buttons on phones */
  .rf-page[dir="rtl"] .rf-hero-actions,
  .rf-page[dir="ltr"] .rf-hero-actions {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin: 4px 0 0 !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    transform: none !important;
  }

  .rf-page[dir="rtl"] .rf-hero-actions a,
  .rf-page[dir="ltr"] .rf-hero-actions a {
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 52px !important;
    padding: 12px 10px !important;
    white-space: nowrap !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* Mobile title/body sizing */
  .rf-hero-title {
    font-size: clamp(30px, 8.5vw, 42px) !important;
    line-height: 1.25 !important;
  }

  .rf-hero-body {
    font-size: 15px !important;
    line-height: 1.8 !important;
  }

  /* Keep the kicker compact and readable */
  .rf-hero-kicker {
    font-size: 13px !important;
    gap: 9px !important;
    transform: none !important;
  }

  .rf-hero-kicker-mark {
    width: 38px !important;
    height: 11px !important;
  }
}


/* Desktop only: move both Arabic Hero buttons slightly to the left */
@media (min-width: 940px) {
 .rf-page[dir="rtl"] .rf-hero-actions {
    justify-content: flex-end !important;
    transform: translateX(270px) !important;
    right: auto !important;
  }
}

/* =========================================================
   RackForge Values Bar — safe isolated design
   ========================================================= */

.rf-values-bar {
  width: 100%;
  box-sizing: border-box;
  background: #031B2D;
  border-top: 1px solid rgba(143,198,63,.18);
  border-bottom: 1px solid rgba(198,151,20,.35);
  padding: 18px 24px;
}

.rf-values-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  direction: rtl;
}

.rf-value-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 24px;
  min-height: 38px;
  box-sizing: border-box;
  white-space: nowrap;
}

.rf-value-item + .rf-value-item {
  border-inline-start: 1px solid rgba(198,151,20,.55);
}

.rf-value-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  color: #C69714;
  font-size: 18px;
  line-height: 1;
}

.rf-value-text {
  color: #F1F5F2;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.rf-value-item:hover .rf-value-icon {
  color: #8FC63F;
}

.rf-value-item:hover .rf-value-text {
  color: #FFFFFF;
}

.rf-page[dir="ltr"] .rf-values-inner {
  direction: ltr;
}

@media (max-width: 939px) {
  .rf-values-bar {
    padding: 15px 18px;
  }

  .rf-value-item {
    padding-inline: 16px;
  }
}

@media (max-width: 600px) {
  .rf-values-bar {
    padding: 10px 8px;
  }

  .rf-values-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .rf-value-item {
    min-width: 0;
    min-height: 42px;
    padding: 6px 8px;
    justify-content: center;
    gap: 6px;
  }

  .rf-value-item + .rf-value-item {
    border-inline-start: 0;
  }

  .rf-value-item:nth-child(odd)::after {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    top: 7px;
    bottom: 7px;
    width: 1px;
    background: rgba(198,151,20,.35);
  }

  .rf-value-item:last-child {
    grid-column: 1 / -1;
  }

  .rf-value-icon {
    width: 20px;
    flex-basis: 20px;
    font-size: 14px;
  }

  .rf-value-text {
    font-size: 12px;
  }
}

/* =========================================================
   RackForge Origin Section — Tech / Green / Gold
   ========================================================= */

.rf-origin-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 105px 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(198,151,20,.055), transparent 25%),
    radial-gradient(circle at 88% 72%, rgba(143,198,63,.075), transparent 30%),
    #FFFFFF;
}

.rf-origin-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(4,35,26,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4,35,26,.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

.rf-origin-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 70px;
}

.rf-origin-image-wrap {
  position: relative;
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rf-origin-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,198,63,.18), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.rf-origin-image-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 440px);
  overflow: hidden;
  border: 3px solid #C69714;
  border-radius: 18px;
  background: #04231A;
  box-shadow:
    0 24px 55px rgba(4,35,26,.15),
    0 0 0 8px rgba(198,151,20,.055);
}

.rf-origin-image {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
}

.rf-origin-image-accent {
  position: absolute;
  right: -75px;
  bottom: -125px;
  width: 210px;
  height: 500px;
  background: linear-gradient(180deg, rgba(143,198,63,.95), rgba(77,123,15,.95));
  transform: rotate(27deg);
  box-shadow: inset 0 0 0 3px rgba(198,151,20,.75);
  pointer-events: none;
}

.rf-origin-content {
  position: relative;
  z-index: 3;
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.rf-origin-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #4D7B0F;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
}

.rf-origin-line {
  width: 42px;
  height: 2px;
  background: #C69714;
  display: block;
}

.rf-origin-star {
  color: #C69714;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.rf-origin-heading {
  max-width: 650px;
  margin: 0;
  color: #071C2C;
  font-size: clamp(30px, 3.1vw, 45px);
  line-height: 1.38;
  font-weight: 800;
}

.rf-origin-divider {
  width: 235px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px auto 25px;
}

.rf-origin-divider span {
  flex: 1 1 0;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C69714);
}

.rf-origin-divider span:last-child {
  background: linear-gradient(90deg, #C69714, transparent);
}

.rf-origin-divider b {
  flex: 0 0 auto;
  color: #C69714;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.rf-origin-body {
  max-width: 600px;
  margin: 0;
  color: #27352F;
  font-size: 16px;
  line-height: 2;
  font-weight: 700;
}

.rf-origin-link {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 190px;
  padding: 13px 22px;
  border: 1.5px solid #4D7B0F;
  border-radius: 9px;
  background: #FFFFFF;
  color: #245D14;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(77,123,15,.08);
  transition: .25s ease;
}

.rf-origin-link:hover {
  background: #4D7B0F;
  color: #FFFFFF;
  border-color: #4D7B0F;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(77,123,15,.16);
}

.rf-origin-corner {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.rf-origin-corner-top {
  top: 45px;
  right: 4%;
  width: 120px;
  height: 120px;
  border-top: 1px solid rgba(198,151,20,.45);
  border-left: 1px solid rgba(198,151,20,.28);
}

.rf-origin-corner-top::before,
.rf-origin-corner-top::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #C69714;
}

.rf-origin-corner-top::before {
  top: -4px;
  right: -4px;
}

.rf-origin-corner-top::after {
  bottom: -4px;
  left: -4px;
}

.rf-origin-corner-bottom {
  left: -130px;
  bottom: -150px;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(143,198,63,.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 32px rgba(143,198,63,.025),
    0 0 0 64px rgba(143,198,63,.018);
}

.rf-page[dir="rtl"] .rf-origin-inner {
  direction: rtl;
}

.rf-page[dir="ltr"] .rf-origin-inner {
  direction: ltr;
}

.rf-page[dir="ltr"] .rf-origin-content {
  text-align: left;
  align-items: flex-start;
}

.rf-page[dir="ltr"] .rf-origin-kicker {
  direction: ltr;
}

@media (max-width: 939px) {
  .rf-origin-section {
    padding: 80px 22px;
  }

  .rf-origin-inner {
    gap: 45px;
  }

  .rf-origin-image {
    height: 500px;
  }

  .rf-origin-heading {
    font-size: clamp(28px, 4vw, 38px);
  }
}

@media (max-width: 600px) {
  .rf-origin-section {
    padding: 70px 18px;
  }

  /* Mobile layout:
     image comes after the paragraph and BEFORE the story button. */
  .rf-origin-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
  }

  .rf-origin-content {
    display: contents;
  }

  .rf-origin-kicker {
    order: 1;
    width: 100%;
    justify-content: center;
  }

  .rf-origin-heading {
    order: 2;
    width: 100%;
  }

  .rf-origin-divider {
    order: 3;
  }

  .rf-origin-body {
    order: 4;
    width: 100%;
  }

  .rf-origin-image-wrap {
    width: 100%;
    order: 5;
    margin-top: 34px;
  }

  .rf-origin-link {
    order: 6;
    margin-top: 24px;
  }

  .rf-origin-kicker {
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 16px;
    letter-spacing: 1px;
  }

  .rf-origin-line {
    width: 28px;
  }

  .rf-origin-star {
    font-size: 18px;
    font-weight: 900;
  }

  .rf-origin-heading {
    font-size: 28px;
    line-height: 1.45;
  }

  .rf-origin-divider {
    width: 180px;
    margin: 19px auto 20px;
    justify-content: center;
  }

  .rf-origin-body {
    font-size: 14px;
    line-height: 1.9;
  }

  .rf-origin-link {
    margin-top: 23px;
    min-width: 185px;
    padding: 12px 19px;
    font-size: 14px;
  }

  .rf-origin-image-frame {
    width: 100%;
    max-width: 390px;
    border-radius: 14px;
  }

  .rf-origin-image {
    height: 455px;
  }

  .rf-origin-image-accent {
    right: -95px;
    bottom: -115px;
    height: 500px;
  }

  .rf-origin-corner-top {
    display: none;
  }

  .rf-origin-corner-bottom {
    width: 240px;
    height: 240px;
    left: -100px;
    bottom: -90px;
  }

  .rf-page[dir="ltr"] .rf-origin-content {
    text-align: center;
  }

  .rf-origin-kicker,
  .rf-origin-heading,
  .rf-origin-body,
  .rf-origin-link {
    justify-self: center;
    text-align: center;
  }
}



/* =========================================================
   RackForge — Methodology / How We Work
   Full visual redesign
   ========================================================= */

/*
  القسم الموجود في index.html يستخدم inline styles،
  لذلك نستخدم !important هنا حتى نضمن أن التصميم الجديد
  يطبق بدون الحاجة لتعديل الـHTML.
*/

/* القسم نفسه */
.rf-page > section:nth-of-type(4) {
  position: relative !important;
  overflow: hidden !important;
  padding: 88px 24px 105px !important;
  background:
    radial-gradient(circle at 8% 28%, rgba(8,59,44,.035), transparent 18%),
    radial-gradient(circle at 92% 20%, rgba(198,151,20,.045), transparent 20%),
    #F8F8F4 !important;
  direction: rtl !important;
  isolation: isolate;
}

/* شبكة تقنية خفيفة بدون الحاجة لـHTML إضافي */
.rf-page > section:nth-of-type(4)::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(rgba(7,28,44,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,28,44,.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

/* زخرفة دائرية */
.rf-page > section:nth-of-type(4)::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  left: -150px;
  top: -120px;
  border: 1px dashed rgba(8,59,44,.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(8,59,44,.018),
    0 0 0 58px rgba(198,151,20,.018);
  pointer-events: none;
}

/* الحاوية */
.rf-page > section:nth-of-type(4) > div {
  position: relative !important;
  z-index: 2;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* =========================================================
   العنوان
   ========================================================= */

.rf-page > section:nth-of-type(4) > div > div:first-child {
  max-width: 760px !important;
  margin: 0 auto 52px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  text-align: center !important;
}

.rf-page > section:nth-of-type(4) > div > div:first-child > span {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #C69714 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
}

.rf-page > section:nth-of-type(4) > div > div:first-child > span::before,
.rf-page > section:nth-of-type(4) > div > div:first-child > span::after {
  content: "" !important;
  width: 32px;
  height: 2px;
  background: #C69714;
}

.rf-page > section:nth-of-type(4) > div > div:first-child > h2 {
  margin: 0 !important;
  color: #102B3A !important;
  font-size: clamp(34px, 4vw, 48px) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

/* =========================================================
   البطاقات
   ========================================================= */

.rf-page > section:nth-of-type(4) > div > div:nth-child(2) {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 20px !important;
  justify-content: initial !important;
  align-items: stretch !important;
}

.rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div {
  position: relative !important;
  width: auto !important;
  max-width: none !important;
  min-height: 395px !important;
  flex: none !important;

  padding: 26px 24px 24px !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;

  background: #FFFFFF !important;
  border: 1px solid #E2E5DF !important;
  border-radius: 16px !important;

  text-align: center !important;
  overflow: hidden !important;

  box-shadow:
    0 8px 24px rgba(6,35,26,.045) !important;

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease !important;
}

/* خط ذهبي صغير أعلى البطاقة */
.rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 18px !important;
  width: 42px !important;
  height: 2px !important;
  background: #C69714 !important;
}

/* خط ذهبي أسفل البطاقة */
.rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 25px !important;
  transform: translateX(-50%) !important;
  width: 145px !important;
  height: 1px !important;
  background: linear-gradient(
    90deg,
    transparent,
    #C69714,
    transparent
  ) !important;
}

/* Hover */
.rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div:hover {
  transform: translateY(-7px) !important;
  border-color: rgba(198,151,20,.5) !important;
  box-shadow:
    0 18px 38px rgba(6,35,26,.09) !important;
}

/* =========================================================
   الرقم داخل الـHexagon
   ========================================================= */

.rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div > div:first-child {
  position: relative !important;

  width: 76px !important;
  height: 76px !important;

  margin: 28px auto 25px !important;

  flex: 0 0 auto !important;

  background: #052F24 !important;
  border: 2px solid #C69714 !important;
  border-radius: 20px !important;

  clip-path: polygon(
    50% 0%,
    93% 25%,
    93% 75%,
    50% 100%,
    7% 75%,
    7% 25%
  ) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  box-shadow:
    0 9px 22px rgba(5,47,36,.14) !important;
}

/* نقاط تقنية حول الـHexagon */
.rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div > div:first-child::before {
  content: "" !important;
  position: absolute !important;
  width: 86px !important;
  height: 48px !important;
  top: 14px !important;
  left: -25px !important;

  background:
    radial-gradient(
      circle,
      #0D6A4F 1.5px,
      transparent 1.5px
    ) !important;

  background-size: 10px 10px !important;
  opacity: .35 !important;
  pointer-events: none !important;
}

.rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div > div:first-child span {
  position: relative !important;
  z-index: 2 !important;

  color: #E5B83B !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}

/* =========================================================
   عناوين البطاقات
   ========================================================= */

.rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div > h3 {
  width: 100% !important;
  margin: 0 0 14px !important;

  color: #073B2C !important;

  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.55 !important;

  text-align: center !important;
}

/* النص */
.rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div > p {
  width: 100% !important;
  margin: 0 !important;

  color: #657078 !important;

  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.9 !important;

  text-align: center !important;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 939px) {

  .rf-page > section:nth-of-type(4) {
    padding: 72px 22px 85px !important;
  }

  .rf-page > section:nth-of-type(4) > div {
    max-width: 720px !important;
  }

  .rf-page > section:nth-of-type(4) > div > div:nth-child(2) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div {
    min-height: 360px !important;
  }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 600px) {

  .rf-page > section:nth-of-type(4) {
    padding: 62px 14px 72px !important;
  }

  .rf-page > section:nth-of-type(4) > div {
    width: 100% !important;
    max-width: 100% !important;
  }

  .rf-page > section:nth-of-type(4) > div > div:first-child {
    margin-bottom: 34px !important;
    gap: 9px !important;
  }

  .rf-page > section:nth-of-type(4) > div > div:first-child > span {
    font-size: 13px !important;
  }

  .rf-page > section:nth-of-type(4) > div > div:first-child > span::before,
  .rf-page > section:nth-of-type(4) > div > div:first-child > span::after {
    width: 25px;
  }

  .rf-page > section:nth-of-type(4) > div > div:first-child > h2 {
    font-size: 31px !important;
  }

  .rf-page > section:nth-of-type(4) > div > div:nth-child(2) {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div {
    min-height: 0 !important;
    padding: 24px 22px 28px !important;
  }

  .rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div > div:first-child {
    width: 70px !important;
    height: 70px !important;
    margin: 24px auto 22px !important;
  }

  .rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div > div:first-child span {
    font-size: 20px !important;
  }

  .rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div > h3 {
    font-size: 17px !important;
    margin-bottom: 10px !important;
  }

  .rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div > p {
    font-size: 13px !important;
    line-height: 1.9 !important;
  }

  .rf-page > section:nth-of-type(4) > div > div:nth-child(2) > div::after {
    bottom: 17px !important;
    width: 120px !important;
  }
}


/* =========================================================
   RackForge Services — Premium Design
   IMPORTANT:
   This block targets ONLY the Services section.
   It does NOT change the Hero, Origin, Values, Methodology,
   Footer, Navigation, or any other section.
   ========================================================= */

/* Target the existing Services section without requiring
   any HTML changes. */
section[style*="padding:100px 24px"] {
  position: relative !important;
  overflow: hidden !important;
  padding: 105px 24px 115px !important;

  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(198, 151, 20, 0.10) 0,
      rgba(198, 151, 20, 0.035) 24%,
      transparent 52%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfcfa 100%
    ) !important;
}

/* Technical background pattern */
section[style*="padding:100px 24px"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .48;

  background-image:
    linear-gradient(
      rgba(4, 35, 26, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(4, 35, 26, 0.035) 1px,
      transparent 1px
    );

  background-size: 44px 44px;
}

/* Decorative golden technical circles */
section[style*="padding:100px 24px"]::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  left: -285px;
  bottom: -285px;
  border-radius: 50%;
  border: 1px solid rgba(198, 151, 20, .13);
  box-shadow:
    0 0 0 22px rgba(198, 151, 20, .025),
    0 0 0 46px rgba(198, 151, 20, .018),
    0 0 0 70px rgba(198, 151, 20, .012);
  pointer-events: none;
}

/* Keep section content above decoration */
section[style*="padding:100px 24px"] > div {
  position: relative !important;
  z-index: 2 !important;
}

/* =========================================================
   Header
   ========================================================= */

section[style*="padding:100px 24px"] > div > div:first-child {
  position: relative !important;
  max-width: 850px !important;
  margin: 0 auto 62px !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  gap: 12px !important;
  text-align: center !important;
}

/* Small gold label */
section[style*="padding:100px 24px"] > div > div:first-child span {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  padding: 7px 18px;
  border-radius: 999px;

  background: rgba(198, 151, 20, .07);
  border: 1px solid rgba(198, 151, 20, .18);

  color: #C69714 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 1.8px !important;
}

/* Gold line around the label */
section[style*="padding:100px 24px"] > div > div:first-child span::before,
section[style*="padding:100px 24px"] > div > div:first-child span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #C69714
  );
  transform: translateY(-50%);
}

section[style*="padding:100px 24px"] > div > div:first-child span::before {
  right: calc(100% + 12px);
}

section[style*="padding:100px 24px"] > div > div:first-child span::after {
  left: calc(100% + 12px);
  transform: translateY(-50%) rotate(180deg);
}

/* Main title */
section[style*="padding:100px 24px"] > div > div:first-child h2 {
  margin: 0 !important;

  font-size: clamp(32px, 4vw, 50px) !important;
  line-height: 1.28 !important;
  font-weight: 900 !important;
  letter-spacing: -.7px;

  color: #04231A !important;
}

/* Subtitle */
section[style*="padding:100px 24px"] > div > div:first-child p {
  max-width: 760px !important;
  margin: 2px auto 0 !important;

  color: #66736D !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
}

/* =========================================================
   Cards Grid
   ========================================================= */

section[style*="padding:100px 24px"] > div > div:nth-child(2) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
}

/* =========================================================
   Premium Card
   ========================================================= */

section[style*="padding:100px 24px"] > div > div:nth-child(2) > a {
  position: relative !important;

  min-height: 245px !important;
  padding: 30px 28px 28px !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;

  overflow: hidden !important;

  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #ffffff 66%,
      #f8faf7 100%
    ) !important;

  border: 1px solid #E2E7E2 !important;
  border-radius: 20px !important;

  box-shadow:
    0 8px 24px rgba(4, 35, 26, .045),
    0 1px 2px rgba(4, 35, 26, .025) !important;

  text-decoration: none !important;
  color: #04231A !important;

  transition:
    transform .28s ease,
    border-color .28s ease,
    box-shadow .28s ease,
    background .28s ease !important;
}

/* Top gold accent */
section[style*="padding:100px 24px"] > div > div:nth-child(2) > a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 3px;

  background:
    linear-gradient(
      90deg,
      #C69714 0%,
      #E2B83B 45%,
      rgba(226, 184, 59, 0) 100%
    );

  opacity: .95;
}

/* Bottom-right decorative circle */
section[style*="padding:100px 24px"] > div > div:nth-child(2) > a::after {
  content: "";
  position: absolute;

  width: 135px;
  height: 135px;

  right: -68px;
  bottom: -68px;

  border-radius: 50%;
  border: 1px solid rgba(198, 151, 20, .15);

  box-shadow:
    0 0 0 12px rgba(198, 151, 20, .025);

  transition:
    transform .35s ease,
    border-color .35s ease;
  pointer-events: none;
}

/* Hover */
section[style*="padding:100px 24px"] > div > div:nth-child(2) > a:hover {
  opacity: 1 !important;
  transform: translateY(-7px) !important;

  border-color: rgba(198, 151, 20, .40) !important;

  box-shadow:
    0 20px 45px rgba(4, 35, 26, .10),
    0 2px 5px rgba(4, 35, 26, .04) !important;

  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #ffffff 55%,
      #f5f8f3 100%
    ) !important;
}

section[style*="padding:100px 24px"] > div > div:nth-child(2) > a:hover::after {
  transform: scale(1.18);
  border-color: rgba(198, 151, 20, .25);
}

/* =========================================================
   Card Number
   ========================================================= */

section[style*="padding:100px 24px"] > div > div:nth-child(2) > a > span {
  position: relative !important;

  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 0 24px !important;

  border-radius: 15px !important;

  background:
    linear-gradient(
      145deg,
      #063326,
      #04231A
    ) !important;

  border: 1px solid rgba(198, 151, 20, .25) !important;

  color: #D6A91A !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 1px;

  box-shadow:
    0 7px 16px rgba(4, 35, 26, .12) !important;
}

/* Small gold corner inside number */
section[style*="padding:100px 24px"] > div > div:nth-child(2) > a > span::after {
  content: "";
  position: absolute;

  width: 7px;
  height: 7px;

  top: 7px;
  right: 7px;

  border-radius: 50%;
  background: #C69714;

  box-shadow: 0 0 0 3px rgba(198,151,20,.08);
}

/* =========================================================
   Card Title
   ========================================================= */

section[style*="padding:100px 24px"] > div > div:nth-child(2) > a h3 {
  position: relative !important;

  margin: 0 !important;

  font-size: 18px !important;
  line-height: 1.6 !important;
  font-weight: 900 !important;

  color: #04231A !important;

  transition: color .22s ease !important;
}

section[style*="padding:100px 24px"] > div > div:nth-child(2) > a:hover h3 {
  color: #8F6C0B !important;
}

/* Gold mini divider */
section[style*="padding:100px 24px"] > div > div:nth-child(2) > a h3::after {
  content: "";

  display: block;

  width: 32px;
  height: 2px;

  margin-top: 12px;

  border-radius: 10px;

  background: #C69714;

  opacity: .65;
}

/* =========================================================
   Card Description
   ========================================================= */

section[style*="padding:100px 24px"] > div > div:nth-child(2) > a p {
  margin: 12px 0 0 !important;

  font-size: 14px !important;
  line-height: 1.9 !important;

  color: #68756F !important;
}

/* =========================================================
   RTL / LTR
   ========================================================= */

.rf-page[dir="rtl"] section[style*="padding:100px 24px"] {
  direction: rtl;
}

.rf-page[dir="rtl"]
section[style*="padding:100px 24px"]
> div > div:nth-child(2) > a {
  text-align: right;
}

.rf-page[dir="ltr"] section[style*="padding:100px 24px"] {
  direction: ltr;
}

.rf-page[dir="ltr"]
section[style*="padding:100px 24px"]
> div > div:nth-child(2) > a {
  text-align: left;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1100px) {

  section[style*="padding:100px 24px"] {
    padding: 90px 22px 100px !important;
  }

  section[style*="padding:100px 24px"]
  > div > div:nth-child(2) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  section[style*="padding:100px 24px"]
  > div > div:nth-child(2) > a {
    min-height: 225px !important;
  }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 600px) {

  section[style*="padding:100px 24px"] {
    padding: 72px 16px 82px !important;
  }

  section[style*="padding:100px 24px"]
  > div > div:first-child {
    margin-bottom: 42px !important;
  }

  section[style*="padding:100px 24px"]
  > div > div:first-child span {
    font-size: 12px !important;
    letter-spacing: 1.2px !important;
    padding: 6px 14px;
  }

  section[style*="padding:100px 24px"]
  > div > div:first-child span::before,
  section[style*="padding:100px 24px"]
  > div > div:first-child span::after {
    width: 22px;
  }

  section[style*="padding:100px 24px"]
  > div > div:first-child h2 {
    font-size: 29px !important;
    line-height: 1.4 !important;
  }

  section[style*="padding:100px 24px"]
  > div > div:first-child p {
    font-size: 14px !important;
    line-height: 1.85 !important;
  }

  section[style*="padding:100px 24px"]
  > div > div:nth-child(2) {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  section[style*="padding:100px 24px"]
  > div > div:nth-child(2) > a {
    min-height: 205px !important;
    padding: 24px 20px 23px !important;
    border-radius: 16px !important;
  }

  section[style*="padding:100px 24px"]
  > div > div:nth-child(2) > a > span {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    margin-bottom: 19px !important;
  }

  section[style*="padding:100px 24px"]
  > div > div:nth-child(2) > a h3 {
    font-size: 17px !important;
  }

  section[style*="padding:100px 24px"]
  > div > div:nth-child(2) > a p {
    font-size: 13.5px !important;
    line-height: 1.8 !important;
  }
}

/* Very small screens */
@media (max-width: 380px) {

  section[style*="padding:100px 24px"] {
    padding-inline: 13px !important;
  }

  section[style*="padding:100px 24px"]
  > div > div:first-child h2 {
    font-size: 26px !important;
  }

  section[style*="padding:100px 24px"]
  > div > div:nth-child(2) > a {
    padding: 22px 18px !important;
  }
}


/* =========================================================
   RACKFORGE SERVICES — IMAGE CARD DESIGN
   IMPORTANT: ALL RULES ARE SCOPED TO .rf-services-section
   ========================================================= */

.rf-services-section {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  padding: 100px 24px 110px !important;
  background:
    radial-gradient(circle at 84% 10%, rgba(198,151,20,.10), transparent 24%),
    radial-gradient(circle at 8% 84%, rgba(4,35,26,.06), transparent 25%),
    linear-gradient(180deg, #fff 0%, #fbfcfa 100%) !important;
}

.rf-services-section::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  opacity: .42 !important;
  background-image:
    linear-gradient(rgba(4,35,26,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4,35,26,.035) 1px, transparent 1px) !important;
  background-size: 44px 44px !important;
}

.rf-services-section > div {
  position: relative !important;
  z-index: 1 !important;
}

.rf-services-section > div > div:first-child {
  max-width: 900px !important;
  margin: 0 auto 58px !important;
  gap: 12px !important;
}

.rf-services-section > div > div:first-child > span {
  color: #C69714 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  letter-spacing: 1.2px !important;
}

.rf-services-section > div > div:first-child > h2 {
  color: #04231A !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

.rf-services-section > div > div:first-child > p {
  max-width: 820px !important;
  color: #66736D !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
}

.rf-services-section > div > div:first-child::after {
  content: "" !important;
  width: 72px !important;
  height: 3px !important;
  margin-top: 7px !important;
  border-radius: 99px !important;
  background: #C69714 !important;
}

.rf-services-section > div > div:nth-child(2) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

.rf-services-section .rf-service-card {
  position: relative !important;
  min-height: 300px !important;
  padding: 164px 28px 58px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  isolation: isolate !important;
  border: 1px solid rgba(198,151,20,.28) !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #fff 0%, #fff 61%, #f0f6f2 100%) !important;
  box-shadow: 0 12px 30px rgba(4,35,26,.075), 0 2px 5px rgba(4,35,26,.035) !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
}

/* dark green top panel */
.rf-services-section .rf-service-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 158px !important;
  z-index: -1 !important;
  background: linear-gradient(135deg, #04231A 0%, #063D2D 58%, #0A4B38 100%) !important;
  clip-path: polygon(0 0, 100% 0, 100% 48%, 72% 100%, 0 100%) !important;
}

/* number */
.rf-services-section .rf-service-card > span {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 6 !important;
  width: 68px !important;
  height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0 20px 0 30px !important;
  background: linear-gradient(145deg, #DCAF24, #C69714) !important;
  color: #fff !important;
  font-family: Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  box-shadow: -8px 8px 18px rgba(198,151,20,.16) !important;
}

/* image: one relevant visual per card */
.rf-services-section .rf-service-card::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 120px !important;
  z-index: 1 !important;
  background-position: center bottom !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  opacity: .78 !important;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.15) 25%, rgba(0,0,0,.85) 70%, #000 100%) !important;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.15) 25%, rgba(0,0,0,.85) 70%, #000 100%) !important;
  transition: transform .3s ease, opacity .3s ease !important;
}

.rf-services-section .rf-service-card:nth-child(1)::after { background-image: url("assets/services/security.jpg") !important; }
.rf-services-section .rf-service-card:nth-child(2)::after { background-image: url("assets/services/protection.jpg") !important; }
.rf-services-section .rf-service-card:nth-child(3)::after { background-image: url("assets/services/infrastructure.jpg") !important; }
.rf-services-section .rf-service-card:nth-child(4)::after { background-image: url("assets/services/datacenter.jpg") !important; }
.rf-services-section .rf-service-card:nth-child(5)::after { background-image: url("assets/services/microsoft.jpg") !important; }
.rf-services-section .rf-service-card:nth-child(6)::after { background-image: url("assets/services/erp-hrms.jpg") !important; }
.rf-services-section .rf-service-card:nth-child(7)::after { background-image: url("assets/services/communications.jpg") !important; }
.rf-services-section .rf-service-card:nth-child(8)::after { background-image: url("assets/services/consulting.jpg") !important; }
.rf-services-section .rf-service-card:nth-child(9)::after { background-image: url("assets/services/digital-transformation-final.png") !important; }

/* icon circles */
.rf-services-section .rf-service-card > h3::before {
  content: "⚙" !important;
  position: absolute !important;
  top: -138px !important;
  left: 0 !important;
  z-index: 7 !important;
  width: 58px !important;
  height: 58px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(198,151,20,.62) !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 35% 30%, #174C3A 0%, #04231A 65%, #021811 100%) !important;
  color: #E2B52A !important;
  font-size: 27px !important;
  font-weight: 900 !important;
  box-shadow: 0 7px 18px rgba(0,0,0,.18), inset 0 0 0 5px rgba(198,151,20,.045) !important;
}

.rf-services-section .rf-service-card:nth-child(1) > h3::before { content: "⚙" !important; }
.rf-services-section .rf-service-card:nth-child(2) > h3::before { content: "◇" !important; }
.rf-services-section .rf-service-card:nth-child(3) > h3::before { content: "◈" !important; }
.rf-services-section .rf-service-card:nth-child(4) > h3::before { content: "▤" !important; }
.rf-services-section .rf-service-card:nth-child(5) > h3::before { content: "▦" !important; }
.rf-services-section .rf-service-card:nth-child(6) > h3::before { content: "▥" !important; }
.rf-services-section .rf-service-card:nth-child(7) > h3::before { content: "⌁" !important; }
.rf-services-section .rf-service-card:nth-child(8) > h3::before { content: "✓" !important; }
.rf-services-section .rf-service-card:nth-child(9) > h3::before { content: "⌂" !important; }

.rf-services-section .rf-service-card > h3,
.rf-services-section .rf-service-card > p {
  position: relative !important;
  z-index: 4 !important;
}

.rf-services-section .rf-service-card > h3 {
  margin: 0 !important;
  padding: 0 0 12px !important;
  color: #04231A !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  font-weight: 900 !important;
  text-align: right !important;
}

.rf-services-section .rf-service-card > h3::after {
  content: "" !important;
  display: block !important;
  width: 38px !important;
  height: 3px !important;
  margin: 8px 0 0 auto !important;
  border-radius: 99px !important;
  background: #C69714 !important;
}

.rf-services-section .rf-service-card > p {
  margin: -15px 0 0 !important;
  transform: translateY(-15px) !important;
  color: #66736D !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
  font-weight: 500 !important;
  text-align: right !important;
}

.rf-services-section .rf-service-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(198,151,20,.55) !important;
  box-shadow: 0 22px 42px rgba(4,35,26,.13), 0 5px 12px rgba(198,151,20,.08) !important;
}

.rf-services-section .rf-service-card:hover::after {
  transform: scale(1.03) !important;
  opacity: .92 !important;
}

/* gold arrow */
.rf-services-section .rf-service-card:nth-child(9) {
  grid-column: 2 / span 2 !important;
  max-width: 560px !important;
  justify-self: center !important;
}

@media (max-width: 1100px) {
  .rf-services-section > div > div:nth-child(2) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .rf-services-section .rf-service-card:nth-child(9) {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 700px) {
  .rf-services-section {
    padding: 70px 16px 82px !important;
  }

  .rf-services-section > div > div:first-child {
    margin-bottom: 42px !important;
  }

  .rf-services-section > div > div:first-child > h2 {
    font-size: 29px !important;
  }

  .rf-services-section > div > div:first-child > p {
    font-size: 14px !important;
  }

  .rf-services-section > div > div:nth-child(2) {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .rf-services-section .rf-service-card {
    min-height: 260px !important;
    padding: 156px 21px 58px !important;
    border-radius: 18px !important;
  }

  .rf-services-section .rf-service-card::before {
    height: 150px !important;
  }

  .rf-services-section .rf-service-card > span {
    width: 62px !important;
    height: 54px !important;
    border-radius: 0 18px 0 26px !important;
  }

  .rf-services-section .rf-service-card > h3::before {
    top: -130px !important;
    width: 54px !important;
    height: 54px !important;
    font-size: 24px !important;
  }

  .rf-services-section .rf-service-card > h3 {
    font-size: 17px !important;
  }

  .rf-services-section .rf-service-card > p {
    font-size: 13.5px !important;
  }

  .rf-services-section .rf-service-card:nth-child(9) {
    grid-column: auto !important;
    max-width: none !important;
  }
}


/* FINAL FIX — service 09 image */
.rf-services-section .rf-service-card:nth-child(9) {
  min-height: 300px !important;
  overflow: hidden !important;
}

.rf-services-section .rf-service-card:nth-child(9)::after {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 125px !important;
  background-position: center center !important;
  background-size: cover !important;
  opacity: .72 !important;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,.10) 18%,
    rgba(0,0,0,.72) 55%,
    #000 100%
  ) !important;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,.10) 18%,
    rgba(0,0,0,.72) 55%,
    #000 100%
  ) !important;
}

/* Keep the title/arrow above the image */
.rf-services-section .rf-service-card:nth-child(9) > h3,
.rf-services-section .rf-service-card:nth-child(9) > p {
  z-index: 5 !important;
}

/* The description is hidden, so the image can breathe below the title */
.rf-services-section .rf-service-card:nth-child(9) > p {
  display: none !important;
}

/* Center card 09 and give it a proper wide presentation */
@media (min-width: 1101px) {
  .rf-services-section .rf-service-card:nth-child(9) {
    grid-column: 2 / span 2 !important;
    width: 100% !important;
    max-width: 560px !important;
    min-height: 300px !important;
    justify-self: center !important;
    padding-bottom: 48px !important;
  }
}

@media (max-width: 700px) {
  .rf-services-section .rf-service-card:nth-child(9) {
    min-height: 260px !important;
    padding-bottom: 48px !important;
  }

  .rf-services-section .rf-service-card:nth-child(9)::after {
    height: 110px !important;
  }
}


/* 09 — clean internal image only */
.rf-services-section .rf-service-card:nth-child(9)::after {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 120px !important;
  background-position: center center !important;
  background-size: cover !important;
  opacity: .78 !important;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,.10) 20%,
    rgba(0,0,0,.75) 60%,
    #000 100%
  ) !important;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,.75) 60%,
    #000 100%
  ) !important;
}


/* =========================================================
   FINAL SERVICE 09 IMAGE
   Uses the new clean digital-transformation artwork.
   Only card #09 is affected.
   ========================================================= */

.rf-services-section .rf-service-card:nth-child(9) {
  overflow: hidden !important;
  min-height: 300px !important;
}

.rf-services-section .rf-service-card:nth-child(9)::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 145px !important;

  background-image: url("assets/services/digital-transformation-final.png") !important;
  background-repeat: no-repeat !important;
  background-position: center bottom !important;
  background-size: cover !important;

  opacity: 1 !important;
  z-index: 1 !important;

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,.08) 12%,
    rgba(0,0,0,.72) 45%,
    #000 78%,
    #000 100%
  ) !important;

  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,.08) 12%,
    rgba(0,0,0,.72) 45%,
    #000 78%,
    #000 100%
  ) !important;
}

/* Keep title above the artwork */
.rf-services-section .rf-service-card:nth-child(9) > h3 {
  position: relative !important;
  z-index: 5 !important;
  margin-top: 0 !important;
}

/* No description on card 09 */
.rf-services-section .rf-service-card:nth-child(9) > p {
  display: none !important;
}

@media (min-width: 1101px) {
  .rf-services-section .rf-service-card:nth-child(9) {
    grid-column: 2 / span 2 !important;
    width: 100% !important;
    max-width: 560px !important;
    justify-self: center !important;
  }
}

@media (max-width: 700px) {
  .rf-services-section .rf-service-card:nth-child(9) {
    min-height: 260px !important;
  }

  .rf-services-section .rf-service-card:nth-child(9)::after {
    height: 120px !important;
  }
}


/* FINAL — no arrows anywhere inside service cards */
.rf-services-section .rf-service-card > p::after,
.rf-services-section .rf-service-card::marker {
  content: none !important;
  display: none !important;
}

.rf-services-section .rf-service-card::after {
  /* image only — no decorative arrow */
  content: "" !important;
}


/* =========================================================
   CARD 09 — FINAL CLEAN CITY IMAGE
   The image contains ONLY the city/road; no embedded text,
   icon, number, or arrow. It sits below the title.
   ========================================================= */

.rf-services-section .rf-service-card:nth-child(9) {
  position: relative !important;
  overflow: hidden !important;
  min-height: 300px !important;
  padding-bottom: 0 !important;
}

.rf-services-section .rf-service-card:nth-child(9)::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 105px !important;

  background-image: url("assets/services/digital-transformation-clean-final.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: center bottom !important;
  background-size: cover !important;

  opacity: 1 !important;
  z-index: 1 !important;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.25) 12%, #000 48%, #000 100%) !important;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.25) 12%, #000 48%, #000 100%) !important;
}

.rf-services-section .rf-service-card:nth-child(9) > h3 {
  position: relative !important;
  z-index: 10 !important;
  background: transparent !important;
}

.rf-services-section .rf-service-card:nth-child(9) > p {
  display: none !important;
}

@media (min-width: 1101px) {
  .rf-services-section .rf-service-card:nth-child(9) {
    grid-column: 2 / span 2 !important;
    width: 100% !important;
    max-width: 560px !important;
    justify-self: center !important;
  }
}

@media (max-width: 700px) {
  .rf-services-section .rf-service-card:nth-child(9) {
    min-height: 260px !important;
  }

  .rf-services-section .rf-service-card:nth-child(9)::after {
    height: 95px !important;
  }
}


/* =========================================================
   MOBILE ONLY — SERVICES
   Does not affect desktop/tablet or the Hero.
   ========================================================= */
@media (max-width: 700px) {

  .rf-services-section {
    padding-left: 14px !important;
    padding-right: 14px !important;
    overflow: hidden !important;
  }

  .rf-services-section > div > div:nth-child(2) {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .rf-services-section .rf-service-card {
    width: 100% !important;
    max-width: none !important;
    min-height: 270px !important;
    height: 270px !important;
    padding: 150px 20px 20px !important;
    border-radius: 18px !important;
  }

  .rf-services-section .rf-service-card::before {
    height: 145px !important;
  }

  .rf-services-section .rf-service-card > span {
    width: 62px !important;
    height: 54px !important;
    font-size: 19px !important;
    border-radius: 0 18px 0 26px !important;
  }

  .rf-services-section .rf-service-card > h3 {
    font-size: 17px !important;
    line-height: 1.55 !important;
    padding-bottom: 9px !important;
  }

  .rf-services-section .rf-service-card > h3::before {
    top: -126px !important;
    left: 0 !important;
    width: 53px !important;
    height: 53px !important;
    font-size: 23px !important;
  }

  .rf-services-section .rf-service-card > p {
    display: none !important;
  }

  /* Card 09: same proportions as the other mobile cards */
  .rf-services-section .rf-service-card:nth-child(9) {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 270px !important;
    height: 270px !important;
    padding: 150px 20px 0 !important;
    justify-self: stretch !important;
  }

  .rf-services-section .rf-service-card:nth-child(9)::after {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 108px !important;
    background-size: cover !important;
    background-position: center 62% !important;
    opacity: .9 !important;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0,0,0,.18) 12%,
      rgba(0,0,0,.72) 42%,
      #000 72%,
      #000 100%
    ) !important;
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0,0,0,.18) 12%,
      rgba(0,0,0,.72) 42%,
      #000 72%,
      #000 100%
    ) !important;
  }

  .rf-services-section .rf-service-card:nth-child(9) > h3 {
    font-size: 17px !important;
    line-height: 1.5 !important;
    padding-bottom: 8px !important;
    z-index: 10 !important;
  }

  .rf-services-section .rf-service-card:nth-child(9) > h3::after {
    margin-top: 7px !important;
  }
}
