/*
 Theme Name:   RankRiseMedia Child Theme
 Theme URI:    https://rankrisemedia.com
 Description:  RankRiseMedia Digital Agency Child Theme for Astra Pro
 Author:       RankRiseMedia
 Author URI:   https://rankrisemedia.com
 Template:     astra
 Version:      2.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  rankrisemedia-child
*/

/* ============================================
   GOOGLE FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --rrm-primary: #0f3460;
  --rrm-primary-dark: #0a2544;
  --rrm-secondary: #e94560;
  --rrm-accent: #4fc3f7;
  --rrm-success: #28a745;
  --rrm-bg: #ffffff;
  --rrm-bg-light: #f8fafc;
  --rrm-text: #333333;
  --rrm-text-light: #666666;
  --rrm-text-muted: #999999;
  --rrm-border: #e5e7eb;
  --rrm-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --rrm-font-display: 'Outfit', 'Inter', sans-serif;
  --rrm-radius: 8px;
  --rrm-radius-lg: 16px;
  --rrm-radius-xl: 24px;
  --rrm-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --rrm-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --rrm-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* ============================================
   RESET / BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

/* ============================================
   CORE WEB VITALS OPTIMIZATIONS
   ============================================ */

/* Prevent Cumulative Layout Shift (CLS) */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Reserve space for images to prevent CLS */
img[loading="lazy"] {
  min-height: 200px;
  background: var(--rrm-bg-light);
}

/* Prevent layout shift from fonts (FCP/LCP) */
body {
  font-display: swap;
}

/* Optimize animations for performance (FID/INP) */
.rrm-fade-in,
.rrm-service-card,
.rrm-blog-card {
  will-change: transform, opacity;
}

.rrm-fade-in.visible {
  will-change: auto;
}

/* GPU acceleration for smooth interactions (INP) */
.rrm-service-card:hover,
.rrm-blog-card:hover,
.rrm-pricing-card:hover {
  transform: translateY(-4px) translateZ(0);
  backface-visibility: hidden;
}

/* Optimize scroll performance */
.rrm-header {
  will-change: transform;
  contain: layout style;
}

/* Prevent repaints (FID) */
.rrm-btn,
.rrm-blog-category-link {
  contain: layout style paint;
}

/* Reserve space for hero to prevent CLS */
.rrm-hero {
  min-height: 600px;
  contain: layout;
}

/* Prevent layout shift from dynamic content */
.rrm-pricing-card,
.rrm-service-card,
.rrm-blog-card {
  contain: layout;
}

/* Content visibility for off-screen content (LCP) */
.rrm-footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

body {
  font-family: var(--rrm-font-sans);
  color: var(--rrm-text);
  background: var(--rrm-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--rrm-font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a { text-decoration: none; transition: color 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.rrm-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) { .rrm-container { padding: 0 24px; } }
@media (min-width: 1024px) { .rrm-container { padding: 0 32px; } }

.rrm-section { padding: 96px 0; }
.rrm-section-header { text-align: center; max-width: 768px; margin: 0 auto 64px; }
.rrm-section-label {
  color: var(--rrm-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  margin-bottom: 12px;
  display: block;
}
.rrm-section-title {
  font-size: 36px;
  color: var(--rrm-primary);
  margin-bottom: 16px;
}
.rrm-section-subtitle {
  font-size: 18px;
  color: var(--rrm-text-light);
  line-height: 1.7;
}

.rrm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.4;
}
.rrm-btn-primary {
  background: var(--rrm-secondary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(233,69,96,0.25);
}
.rrm-btn-primary:hover {
  background: #d63b54;
  box-shadow: 0 6px 20px rgba(233,69,96,0.35);
  transform: translateY(-1px);
  color: #fff;
}
.rrm-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.rrm-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.rrm-btn-dark {
  background: var(--rrm-primary);
  color: #fff;
}
.rrm-btn-dark:hover {
  background: var(--rrm-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}
.rrm-btn-lg { padding: 18px 40px; font-size: 18px; }
.rrm-btn-full { width: 100%; }

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--rrm-primary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--rrm-primary-dark); }

/* ============================================
   NAVIGATION
   ============================================ */
.rrm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

/* Fix header position when WordPress admin bar is present */
.admin-bar .rrm-header {
  top: 32px;
}

@media screen and (min-width: 783px) {
  .admin-bar .rrm-header {
    top: 46px;
  }
}
.rrm-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.rrm-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.rrm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.rrm-logo-image {
  display: block;
  width: auto;
  height: 40px;
  max-width: 200px;
}
.rrm-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--rrm-primary), #1e5bb0);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  font-family: var(--rrm-font-display);
}
.rrm-logo-text {
  font-family: var(--rrm-font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--rrm-primary);
  letter-spacing: -0.02em;
}
.rrm-logo-text span { color: var(--rrm-secondary); }

.rrm-nav { display: flex; align-items: center; gap: 32px; }
.rrm-nav > a, .rrm-dropdown-trigger {
  color: var(--rrm-text-light);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}
.rrm-nav > a:hover, .rrm-dropdown-trigger:hover { color: var(--rrm-primary); }

.rrm-dropdown { position: relative; }
.rrm-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}
.rrm-dropdown-trigger .rrm-chevron {
  transition: transform 0.2s ease;
}
.rrm-dropdown.active .rrm-dropdown-trigger .rrm-chevron {
  transform: rotate(180deg);
}
.rrm-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;
  width: 520px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
  z-index: 100;
  overflow: hidden;
  animation: rrm-dropdown-in 0.2s ease;
}
@keyframes rrm-dropdown-in {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.rrm-dropdown.active .rrm-dropdown-menu {
  display: block;
}
.rrm-dropdown-header {
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rrm-secondary);
  border-bottom: 1px solid var(--rrm-border);
}
.rrm-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 8px;
}
.rrm-dropdown-item {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.rrm-dropdown-item:hover {
  background: var(--rrm-bg-light);
}
.rrm-dropdown-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--rrm-text);
  transition: color 0.2s ease;
}
.rrm-dropdown-item:hover .rrm-dropdown-item-title {
  color: var(--rrm-primary);
}
.rrm-dropdown-item-desc {
  font-size: 12px;
  color: var(--rrm-text-muted);
  margin-top: 2px;
}

.rrm-nav-cta { margin-left: 8px; }
.rrm-nav-cta .rrm-btn { padding: 10px 24px; font-size: 14px; }

.rrm-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.rrm-hamburger svg { width: 28px; height: 28px; color: var(--rrm-text); }

.rrm-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--rrm-border);
  padding: 16px;
}
.rrm-mobile-menu.active { display: block; }
.rrm-mobile-menu > a {
  display: block;
  padding: 12px 16px;
  color: var(--rrm-text);
  font-weight: 500;
  border-radius: var(--rrm-radius);
  transition: background 0.2s ease;
}
.rrm-mobile-menu > a:hover { background: var(--rrm-bg-light); color: var(--rrm-primary); }

.rrm-mobile-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  color: var(--rrm-text);
  font-weight: 500;
  font-size: 16px;
  font-family: inherit;
  background: none;
  border: none;
  border-radius: var(--rrm-radius);
  cursor: pointer;
  transition: background 0.2s ease;
}
.rrm-mobile-accordion-trigger:hover {
  background: var(--rrm-bg-light);
  color: var(--rrm-primary);
}
.rrm-mobile-accordion-trigger .rrm-chevron {
  transition: transform 0.2s ease;
}
.rrm-mobile-accordion.active .rrm-mobile-accordion-trigger .rrm-chevron {
  transform: rotate(180deg);
}
.rrm-mobile-accordion-content {
  display: none;
  padding-left: 16px;
}
.rrm-mobile-accordion.active .rrm-mobile-accordion-content {
  display: block;
}
.rrm-mobile-accordion-content a {
  display: block;
  padding: 10px 16px;
  color: var(--rrm-text-light);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--rrm-radius);
  transition: background 0.2s ease, color 0.2s ease;
}
.rrm-mobile-accordion-content a:hover {
  background: var(--rrm-bg-light);
  color: var(--rrm-primary);
}

@media (max-width: 768px) {
  .rrm-nav { display: none; }
  .rrm-nav-cta { display: none; }
  .rrm-hamburger { display: block; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.rrm-hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.rrm-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: rgba(233,69,96,0.1);
  border-radius: 50%;
  filter: blur(80px);
}
.rrm-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: rgba(79,195,247,0.1);
  border-radius: 50%;
  filter: blur(80px);
}
.rrm-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.rrm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  color: var(--rrm-accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.rrm-hero h1 {
  font-size: 56px;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.1;
}
.rrm-hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--rrm-accent), var(--rrm-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rrm-hero-subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 520px;
}
.rrm-hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.rrm-hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}
.rrm-hero-image img {
  border-radius: var(--rrm-radius-xl);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  border: 4px solid rgba(255,255,255,0.1);
  object-fit: cover;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  transition: transform 0.5s ease;
}
.rrm-hero-image img:hover { transform: scale(1.03); }
.rrm-hero-image .glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,52,96,0.5), rgba(233,69,96,0.5));
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: -1;
}

.rrm-hero-floating-card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #fff;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: var(--rrm-shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 3;
  animation: floatBounce 3s ease-in-out infinite;
}
.rrm-hero-floating-card .icon-wrap {
  width: 48px;
  height: 48px;
  background: #dcfce7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
}
.rrm-hero-floating-card .label { font-size: 13px; color: var(--rrm-text-muted); }
.rrm-hero-floating-card .value { font-size: 22px; font-weight: 700; color: var(--rrm-text); }

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1024px) {
  .rrm-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .rrm-hero h1 { font-size: 42px; }
  .rrm-hero-subtitle { margin: 0 auto 32px; }
  .rrm-hero-buttons { justify-content: center; }
  .rrm-hero-image { display: none; }
}
@media (max-width: 480px) {
  .rrm-hero { padding: 130px 0 80px; min-height: auto; }
  .rrm-hero h1 { font-size: 32px; }
  .rrm-hero-subtitle { font-size: 16px; }
  .rrm-hero-buttons { flex-direction: column; }
  .rrm-hero-buttons .rrm-btn { width: 100%; }
}

/* ============================================
   STATS BAR
   ============================================ */
.rrm-stats {
  background: var(--rrm-primary);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 48px 0;
}
.rrm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.rrm-stat {
  text-align: center;
}
.rrm-stat-icon {
  display: inline-flex;
  padding: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--rrm-accent);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}
.rrm-stat:hover .rrm-stat-icon {
  background: var(--rrm-accent);
  color: var(--rrm-primary);
}
.rrm-stat-icon svg { width: 24px; height: 24px; }
.rrm-stat-value {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  font-family: var(--rrm-font-display);
  margin-bottom: 8px;
}
.rrm-stat-label {
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  font-size: 14px;
}

@media (max-width: 768px) {
  .rrm-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .rrm-stat-value { font-size: 32px; }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.rrm-services { background: var(--rrm-bg-light); }
.rrm-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.rrm-service-card {
  background: #fff;
  border-radius: var(--rrm-radius-lg);
  padding: 32px 24px;
  box-shadow: var(--rrm-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}
.rrm-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--rrm-secondary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}
.rrm-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--rrm-shadow-xl);
  border-color: var(--rrm-primary);
}
.rrm-service-card:hover::before { transform: scaleY(1); }

.rrm-service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15,52,96,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--rrm-primary);
  transition: all 0.3s ease;
}
.rrm-service-card:hover .rrm-service-icon {
  background: var(--rrm-primary);
  color: #fff;
}
.rrm-service-icon svg { width: 24px; height: 24px; }

.rrm-service-card h4 {
  font-size: 18px;
  color: var(--rrm-primary);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}
.rrm-service-card:hover h4 { color: var(--rrm-secondary); }
.rrm-service-card p {
  color: var(--rrm-text-light);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 1024px) { .rrm-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .rrm-services-grid { grid-template-columns: 1fr; } }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.rrm-why { background: #fff; }
.rrm-why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.rrm-why-features { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.rrm-why-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}
.rrm-why-feature .check-circle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
}
.rrm-why-feature .check-circle svg { width: 18px; height: 18px; }
.rrm-why-feature span {
  font-size: 16px;
  color: var(--rrm-text);
  font-weight: 500;
}

.rrm-why-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rrm-why-images img {
  border-radius: var(--rrm-radius-lg);
  box-shadow: var(--rrm-shadow-lg);
  object-fit: cover;
  width: 100%;
  height: 280px;
}
.rrm-why-images img:first-child { margin-top: 48px; }

@media (max-width: 1024px) {
  .rrm-why-inner { grid-template-columns: 1fr; }
  .rrm-why-images { display: none; }
}

/* ============================================
   PRICING SECTION
   ============================================ */
.rrm-pricing {
  background: #111827;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.rrm-pricing::before {
  content: '';
  position: absolute;
  top: -96px;
  right: -96px;
  width: 400px;
  height: 400px;
  background: var(--rrm-secondary);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
}
.rrm-pricing::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 256px;
  height: 256px;
  background: var(--rrm-primary);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
}

.rrm-pricing .rrm-section-title { color: #fff; }
.rrm-pricing .rrm-section-label { color: var(--rrm-accent); }

.rrm-pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.rrm-pricing-toggle span {
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
}
.rrm-pricing-toggle span.active { color: #fff; }
.rrm-pricing-toggle span.inactive { color: rgba(255,255,255,0.4); }

.rrm-toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
}
.rrm-toggle-switch.active { background: var(--rrm-secondary); }
.rrm-toggle-switch .toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.rrm-toggle-switch.active .toggle-knob { transform: translateX(24px); }

.rrm-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.rrm-pricing-card {
  background: #fff;
  border-radius: var(--rrm-radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: 2px solid var(--rrm-border);
}
.rrm-pricing-card:hover {
  box-shadow: var(--rrm-shadow-xl);
}
.rrm-pricing-card.popular {
  border-color: var(--rrm-secondary);
  box-shadow: 0 25px 50px rgba(233,69,96,0.15);
  transform: scale(1.05);
  z-index: 3;
}
.rrm-pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rrm-secondary);
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(233,69,96,0.3);
}
.rrm-pricing-card h3 {
  font-size: 18px;
  color: var(--rrm-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.rrm-pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
}
.rrm-pricing-price .amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--rrm-primary);
  font-family: var(--rrm-font-display);
}
.rrm-pricing-price .period {
  color: var(--rrm-text-muted);
  font-size: 14px;
}
.rrm-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
  flex: 1;
}
.rrm-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--rrm-text-light);
}
.rrm-pricing-features li .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  margin-top: 2px;
}
.rrm-pricing-features li .check svg { width: 12px; height: 12px; }

.rrm-pricing-card .rrm-btn { padding: 16px; font-size: 16px; border-radius: 12px; }

/* Homepage pricing: white cards on dark section background */
.rrm-pricing .rrm-pricing-card {
  background: #fff;
  border: 2px solid var(--rrm-border);
}
.rrm-pricing .rrm-pricing-card:hover {
  box-shadow: var(--rrm-shadow-xl);
  transform: none;
  border-color: var(--rrm-border);
}
.rrm-pricing .rrm-pricing-card.popular {
  border-color: var(--rrm-secondary);
  box-shadow: 0 25px 50px rgba(233,69,96,0.15);
  transform: scale(1.05);
}
.rrm-pricing .rrm-pricing-card h3 {
  color: var(--rrm-text-muted);
}
.rrm-pricing .rrm-pricing-price .amount {
  color: var(--rrm-primary);
}
.rrm-pricing .rrm-pricing-price .currency-symbol {
  color: var(--rrm-primary);
  font-size: 24px;
  font-weight: 700;
}
.rrm-pricing .rrm-pricing-price .period {
  color: var(--rrm-text-muted);
}
.rrm-pricing .rrm-pricing-features li {
  color: var(--rrm-text-light);
  border-bottom: 1px solid var(--rrm-border);
}
.rrm-pricing .rrm-pricing-features li .check {
  background: #dcfce7;
  color: #16a34a;
}

@media (max-width: 1024px) {
  .rrm-pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .rrm-pricing-card.popular { transform: scale(1); }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.rrm-contact { background: #fff; }
.rrm-contact-wrapper {
  background: var(--rrm-primary);
  border-radius: var(--rrm-radius-xl);
  overflow: hidden;
  box-shadow: var(--rrm-shadow-xl);
  display: flex;
}
.rrm-contact-info {
  width: 40%;
  padding: 48px;
  background: linear-gradient(135deg, var(--rrm-primary), var(--rrm-primary-dark));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.rrm-contact-info::after {
  content: '';
  position: absolute;
  bottom: -64px;
  right: -64px;
  width: 200px;
  height: 200px;
  border: 40px solid rgba(255,255,255,0.03);
  border-radius: 50%;
}
.rrm-contact-info h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #ffffff;
}
.rrm-contact-info > p {
  color: rgba(147,197,253,0.8);
  margin-bottom: 48px;
  line-height: 1.7;
}
.rrm-contact-details { display: flex; flex-direction: column; gap: 32px; }
.rrm-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.rrm-contact-detail .icon-wrap {
  padding: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--rrm-accent);
  flex-shrink: 0;
}
.rrm-contact-detail .icon-wrap svg { width: 24px; height: 24px; }
.rrm-contact-detail h4 { font-size: 16px; margin-bottom: 4px; color: #ffffff; }
.rrm-contact-detail p { color: rgba(147,197,253,0.8); font-size: 14px; }

.rrm-contact-form {
  width: 60%;
  padding: 48px;
  background: #fff;
}
.rrm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.rrm-form-group { margin-bottom: 24px; }
.rrm-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--rrm-text);
  margin-bottom: 8px;
}
.rrm-form-group input,
.rrm-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--rrm-border);
  border-radius: var(--rrm-radius);
  font-size: 15px;
  font-family: var(--rrm-font-sans);
  background: var(--rrm-bg-light);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  color: var(--rrm-text);
}
.rrm-form-group input:focus,
.rrm-form-group textarea:focus {
  outline: none;
  border-color: var(--rrm-primary);
  box-shadow: 0 0 0 3px rgba(15,52,96,0.1);
}
.rrm-form-group textarea { min-height: 150px; resize: none; }
.rrm-form-group input::placeholder,
.rrm-form-group textarea::placeholder { color: var(--rrm-text-muted); }

.rrm-form-success {
  display: none;
  padding: 16px;
  background: #dcfce7;
  color: #166534;
  border-radius: var(--rrm-radius);
  font-weight: 500;
  margin-bottom: 16px;
}
.rrm-form-success.show { display: block; }

@media (max-width: 768px) {
  .rrm-contact-wrapper { flex-direction: column; }
  .rrm-contact-info, .rrm-contact-form { width: 100%; }
  .rrm-form-row { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.rrm-footer {
  background: #111827;
  color: #fff;
  padding: 80px 0 0;
}
.rrm-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.rrm-footer-about p {
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 16px;
}
.rrm-footer h4 {
  font-size: 16px;
  margin-bottom: 24px;
  color: #fff;
}
.rrm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rrm-footer-links li { margin-bottom: 16px; }
.rrm-footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: color 0.3s ease;
}
.rrm-footer-links a:hover { color: var(--rrm-secondary); }

.rrm-newsletter-form {
  display: flex;
  gap: 8px;
}
.rrm-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--rrm-radius);
  color: #fff;
  font-size: 14px;
  font-family: var(--rrm-font-sans);
}
.rrm-newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.rrm-newsletter-form input:focus {
  outline: none;
  border-color: var(--rrm-secondary);
}
.rrm-newsletter-form button {
  padding: 12px 16px;
  background: var(--rrm-secondary);
  border: none;
  border-radius: var(--rrm-radius);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}
.rrm-newsletter-form button:hover { background: #d63b54; }
.rrm-newsletter-form button svg { width: 18px; height: 18px; }

.rrm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.rrm-footer-bottom p { color: rgba(255,255,255,0.4); font-size: 14px; }
.rrm-footer-legal { display: flex; gap: 24px; }
.rrm-footer-legal a {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  transition: color 0.3s ease;
}
.rrm-footer-legal a:hover { color: #fff; }

@media (max-width: 1024px) {
  .rrm-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rrm-footer-grid { grid-template-columns: 1fr; }
  .rrm-footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.rrm-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  min-width: 52px;
  height: 52px;
  padding: 0 18px;
  background: linear-gradient(145deg, var(--rrm-primary) 0%, var(--rrm-primary-dark) 100%);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 52px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(15, 52, 96, 0.4), 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  z-index: 9998;
  font-family: var(--rrm-font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  -webkit-tap-highlight-color: transparent;
}
.rrm-back-to-top:hover {
  background: linear-gradient(145deg, var(--rrm-secondary) 0%, #c73a52 100%);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(233, 69, 96, 0.45), 0 4px 12px rgba(0, 0, 0, 0.15);
}
.rrm-back-to-top:active {
  transform: translateY(-1px);
}
.rrm-back-to-top.visible { display: flex; }
.rrm-back-to-top-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.rrm-back-to-top:hover .rrm-back-to-top-icon {
  background: rgba(255, 255, 255, 0.25);
}
.rrm-back-to-top svg {
  width: 18px;
  height: 18px;
  display: block;
}
.rrm-back-to-top-label {
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.25s ease, max-width 0.3s ease;
}
.rrm-back-to-top:hover .rrm-back-to-top-label {
  opacity: 1;
  max-width: 120px;
}
@media (max-width: 640px) {
  .rrm-back-to-top { min-width: 52px; padding: 0; bottom: 24px; right: 24px; }
  .rrm-back-to-top-label { display: none; }
}

/* Hide Astra theme scroll-to-top if it still appears (avoid duplicate) */
#ast-scroll-top,
.ast-scroll-to-top,
[class*="ast-scroll-to-top"] {
  display: none !important;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.rrm-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.rrm-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SERVICE PAGE STYLES
   ============================================ */

/* Service Hero */
.rrm-service-hero {
  background: linear-gradient(135deg, var(--rrm-primary) 0%, var(--rrm-primary-dark) 100%);
  padding: 120px 0 80px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rrm-service-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: var(--rrm-secondary);
  border-radius: 50%;
  opacity: 0.06;
}
.rrm-service-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: var(--rrm-accent);
  border-radius: 50%;
  opacity: 0.06;
}

/* Breadcrumb */
.rrm-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  font-size: 14px;
  position: relative;
  z-index: 2;
}
.rrm-breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.rrm-breadcrumb a:hover {
  color: var(--rrm-accent);
}
.rrm-breadcrumb-sep {
  color: rgba(255,255,255,0.4);
}
.rrm-breadcrumb-current {
  color: var(--rrm-accent);
}

/* Service Hero Content */
.rrm-service-hero-content {
  position: relative;
  z-index: 2;
}
.rrm-service-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  margin-bottom: 24px;
  color: var(--rrm-accent);
}
.rrm-service-hero-content h1 {
  font-family: var(--rrm-font-display);
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}
.rrm-service-hero-content p {
  font-size: 20px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Service Sections */
.rrm-service-section {
  padding: 80px 0;
}
.rrm-bg-white { background: #fff; }
.rrm-bg-light { background: var(--rrm-bg-light); }
.rrm-bg-dark {
  background: linear-gradient(135deg, #0a1628 0%, var(--rrm-primary-dark) 100%);
  color: #fff;
}
.rrm-text-center { text-align: center; }
.rrm-container-narrow { max-width: 800px; }

/* Section Labels */
.rrm-section-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--rrm-secondary);
  margin-bottom: 12px;
}
.rrm-section-label-light {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--rrm-accent);
  margin-bottom: 12px;
}
.rrm-section-title {
  font-family: var(--rrm-font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--rrm-primary);
  margin-bottom: 48px;
}
.rrm-section-title-light {
  font-family: var(--rrm-font-display);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 48px;
}

/* Service Intro / What We Do */
.rrm-service-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.rrm-service-description {
  font-size: 18px;
  line-height: 1.8;
  color: var(--rrm-text-light);
}

/* Grid Utilities */
.rrm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.rrm-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rrm-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Responsive Grid Breakpoints */
@media (max-width: 1024px) {
  .rrm-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rrm-grid-3,
  .rrm-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .rrm-grid-2,
  .rrm-grid-3,
  .rrm-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Features Grid */
.rrm-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.rrm-feature-card {
  background: #fff;
  border-radius: var(--rrm-radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--rrm-border);
  transition: all 0.3s ease;
  position: relative;
}
.rrm-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rrm-shadow-lg);
  border-color: var(--rrm-secondary);
}
.rrm-feature-number {
  font-family: var(--rrm-font-display);
  font-size: 36px;
  font-weight: 800;
  color: rgba(15, 52, 96, 0.08);
  margin-bottom: 16px;
}
.rrm-feature-card h4 {
  font-family: var(--rrm-font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--rrm-primary);
  margin-bottom: 8px;
}
.rrm-feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rrm-text-light);
  margin: 0;
}

/* Pricing Section */
.rrm-currency-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: -20px;
  margin-bottom: 48px;
}
.rrm-currency-label {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.rrm-currency-label.rrm-currency-active {
  color: #fff;
}

/* Toggle Switch */
.rrm-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.rrm-switch input { opacity: 0; width: 0; height: 0; }
.rrm-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 28px;
  transition: 0.3s;
}
.rrm-slider::before {
  content: '';
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}
.rrm-switch input:checked + .rrm-slider {
  background: var(--rrm-secondary);
}
.rrm-switch input:checked + .rrm-slider::before {
  transform: translateX(24px);
}

/* Pricing Grid */
.rrm-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.rrm-pricing-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--rrm-radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}
.rrm-pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
}
.rrm-pricing-popular {
  background: rgba(233, 69, 96, 0.08);
  border-color: var(--rrm-secondary);
  transform: scale(1.05);
}
.rrm-pricing-popular:hover {
  transform: scale(1.05) translateY(-4px);
}
.rrm-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rrm-secondary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 20px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.rrm-pricing-name {
  font-family: var(--rrm-font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.rrm-pricing-price {
  margin-bottom: 24px;
}
.rrm-price-usd, .rrm-price-pkr {
  font-family: var(--rrm-font-display);
  font-size: 40px;
  font-weight: 800;
  color: #fff;
}
.rrm-price-period {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
}
.rrm-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
}
.rrm-pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rrm-pricing-features li svg {
  color: var(--rrm-accent);
  flex-shrink: 0;
}
.rrm-btn-outline-light {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--rrm-radius);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.rrm-btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}
.rrm-btn-full {
  display: block;
  width: 100%;
  text-align: center;
}

/* Process Timeline */
.rrm-process-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.rrm-process-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--rrm-secondary), var(--rrm-accent));
}
.rrm-process-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}
.rrm-process-step:last-child { margin-bottom: 0; }
.rrm-process-number {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rrm-secondary), #d63b55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rrm-font-display);
  font-size: 20px;
  font-weight: 700;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}
.rrm-process-content h4 {
  font-family: var(--rrm-font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--rrm-primary);
  margin-bottom: 8px;
  margin-top: 4px;
}
.rrm-process-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--rrm-text-light);
  margin: 0;
}

/* Case Study */
.rrm-case-study {
  max-width: 900px;
  margin: 0 auto;
}
.rrm-case-study-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.rrm-case-block {
  background: #fff;
  border-radius: var(--rrm-radius-lg);
  padding: 32px;
  border: 1px solid var(--rrm-border);
}
.rrm-case-block h4 {
  font-family: var(--rrm-font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--rrm-secondary);
  margin-bottom: 12px;
}
.rrm-case-block p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--rrm-text-light);
  margin: 0;
}
.rrm-case-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.rrm-metric {
  background: #fff;
  border-radius: var(--rrm-radius);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--rrm-border);
}
.rrm-metric-value {
  display: block;
  font-family: var(--rrm-font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--rrm-secondary);
  margin-bottom: 4px;
}
.rrm-metric-label {
  display: block;
  font-size: 13px;
  color: var(--rrm-text-light);
}
.rrm-testimonial {
  background: var(--rrm-primary);
  border-radius: var(--rrm-radius-lg);
  padding: 32px 40px;
  color: #fff;
  margin: 0;
  border: none;
}
.rrm-testimonial p {
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.9);
}
.rrm-testimonial cite {
  font-size: 14px;
  color: var(--rrm-accent);
  font-style: normal;
  font-weight: 600;
}

/* FAQ */
.rrm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rrm-faq-item {
  background: #fff;
  border: 1px solid var(--rrm-border);
  border-radius: var(--rrm-radius);
  overflow: hidden;
  transition: all 0.3s ease;
}
.rrm-faq-item.rrm-faq-open {
  border-color: var(--rrm-secondary);
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.08);
}
.rrm-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--rrm-font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--rrm-primary);
  text-align: left;
  transition: color 0.2s;
}
.rrm-faq-question:hover { color: var(--rrm-secondary); }
.rrm-faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--rrm-text-muted);
}
.rrm-faq-open .rrm-faq-chevron {
  transform: rotate(180deg);
  color: var(--rrm-secondary);
}
.rrm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.rrm-faq-open .rrm-faq-answer {
  max-height: 400px;
}
.rrm-faq-answer p {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rrm-text-light);
  margin: 0;
}

/* Bottom CTA */
.rrm-service-cta {
  background: linear-gradient(135deg, var(--rrm-secondary) 0%, #d63b55 100%);
  padding: 80px 0;
  color: #fff;
}
.rrm-service-cta h2 {
  font-family: var(--rrm-font-display);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}
.rrm-service-cta p {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.rrm-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.rrm-service-cta .rrm-btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.rrm-service-cta .rrm-btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}
.rrm-service-cta .rrm-btn-primary {
  background: #fff;
  color: var(--rrm-secondary);
}
.rrm-service-cta .rrm-btn-primary:hover {
  background: rgba(255,255,255,0.9);
}

/* Related Services */
.rrm-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rrm-related-card {
  display: block;
  background: #fff;
  border-radius: var(--rrm-radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--rrm-border);
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}
.rrm-related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rrm-shadow-xl);
  border-color: var(--rrm-secondary);
}
.rrm-related-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(15, 52, 96, 0.06);
  border-radius: 16px;
  margin-bottom: 20px;
  color: var(--rrm-primary);
}
.rrm-related-card h4 {
  font-family: var(--rrm-font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--rrm-primary);
  margin-bottom: 8px;
}
.rrm-related-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rrm-text-light);
  margin-bottom: 16px;
}
.rrm-related-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--rrm-secondary);
  transition: color 0.2s;
}
.rrm-related-card:hover .rrm-related-link {
  color: var(--rrm-primary);
}

/* ============================================
   SERVICE PAGE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .rrm-features-grid { grid-template-columns: repeat(2, 1fr); }
  .rrm-service-hero-content h1 { font-size: 38px; }
}
@media (max-width: 768px) {
  .rrm-service-hero { padding: 100px 0 60px; }
  .rrm-service-hero-content h1 { font-size: 32px; }
  .rrm-service-hero-content p { font-size: 16px; }
  .rrm-service-section { padding: 60px 0; }
  .rrm-section-title, .rrm-section-title-light { font-size: 28px; }
  .rrm-features-grid { grid-template-columns: 1fr; }
  .rrm-pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .rrm-pricing-popular { transform: none; }
  .rrm-pricing-popular:hover { transform: translateY(-4px); }
  .rrm-case-study-content { grid-template-columns: 1fr; }
  .rrm-case-metrics { grid-template-columns: repeat(2, 1fr); }
  .rrm-related-grid { grid-template-columns: 1fr; }
  .rrm-service-cta h2 { font-size: 32px; }
  .rrm-service-cta p { font-size: 16px; }
  .rrm-cta-buttons { flex-direction: column; }
  .rrm-process-timeline::before { left: 24px; }
  .rrm-store-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .rrm-blog-grid { grid-template-columns: 1fr; }
}

/* ============================================
   STORE PAGE STYLES
   ============================================ */
.rrm-store-section {
  margin-bottom: 20px;
}
.rrm-store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.rrm-store-card {
  background: #fff;
  border-radius: var(--rrm-radius-lg);
  border: 1px solid var(--rrm-border);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.rrm-store-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rrm-shadow-lg);
  border-color: var(--rrm-secondary);
}
.rrm-store-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--rrm-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}
.rrm-badge-theme {
  background: var(--rrm-secondary);
}
.rrm-badge-software {
  background: var(--rrm-accent);
  color: var(--rrm-primary);
}
.rrm-store-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.rrm-store-card-body {
  padding: 24px;
}
.rrm-store-card-body h4 {
  font-family: var(--rrm-font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--rrm-primary);
  margin-bottom: 8px;
}
.rrm-store-card-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rrm-text-light);
  margin-bottom: 16px;
}
.rrm-store-price {
  margin-bottom: 16px;
}
.rrm-store-price .rrm-price-usd,
.rrm-store-price .rrm-price-pkr {
  font-family: var(--rrm-font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--rrm-secondary);
}

/* Store currency toggle on white background */
.rrm-bg-white .rrm-currency-toggle .rrm-currency-label {
  color: var(--rrm-text-muted);
}
.rrm-bg-white .rrm-currency-toggle .rrm-currency-label.rrm-currency-active {
  color: var(--rrm-primary);
}
.rrm-bg-white .rrm-slider {
  background: var(--rrm-border);
}

.rrm-store-empty {
  padding: 48px 24px;
  color: var(--rrm-text-light);
}
.rrm-store-empty a { color: var(--rrm-primary); font-weight: 600; }

/* Checkout page */
.rrm-checkout-empty { padding: 48px 24px; }
.rrm-checkout-card {
  background: #fff;
  border: 1px solid var(--rrm-border);
  border-radius: var(--rrm-radius-lg);
  padding: 32px;
  box-shadow: var(--rrm-shadow);
}
.rrm-checkout-title {
  font-family: var(--rrm-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--rrm-primary);
  margin: 0 0 24px 0;
}
.rrm-checkout-product {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rrm-border);
}
.rrm-checkout-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--rrm-radius);
  flex-shrink: 0;
}
.rrm-checkout-product-body h3 {
  font-family: var(--rrm-font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--rrm-primary);
  margin: 0 0 8px 0;
}
.rrm-checkout-desc {
  font-size: 14px;
  color: var(--rrm-text-light);
  margin: 0 0 12px 0;
  line-height: 1.5;
}
.rrm-checkout-price {
  font-family: var(--rrm-font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--rrm-secondary);
}
.rrm-checkout-note {
  font-size: 13px;
  color: var(--rrm-text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.rrm-checkout-hint {
  font-size: 13px;
  color: var(--rrm-text-muted);
  margin-top: 12px;
  margin-bottom: 0;
}

.rrm-payment-methods { margin-top: 24px; }
.rrm-payment-method {
  border: 1px solid var(--rrm-border);
  border-radius: var(--rrm-radius);
  padding: 20px;
  margin-bottom: 16px;
  background: var(--rrm-bg-light);
}
.rrm-payment-method-title {
  font-family: var(--rrm-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--rrm-primary);
  margin: 0 0 8px 0;
}
.rrm-payment-method-desc {
  font-size: 14px;
  color: var(--rrm-text-light);
  margin: 0 0 16px 0;
}
.rrm-payment-details { margin-top: 12px; }
.rrm-payment-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding: 10px 12px;
  background: #fff;
  border-radius: var(--rrm-radius);
  border: 1px solid var(--rrm-border);
}
.rrm-payment-label {
  font-weight: 600;
  color: var(--rrm-primary);
  min-width: 90px;
}
.rrm-payment-value {
  flex: 1;
  font-size: 14px;
  word-break: break-all;
}
.rrm-copy-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rrm-primary);
  background: #fff;
  border: 1px solid var(--rrm-primary);
  border-radius: var(--rrm-radius);
  cursor: pointer;
  transition: all 0.2s;
}
.rrm-copy-btn:hover {
  background: var(--rrm-primary);
  color: #fff;
}
.rrm-payment-extra {
  font-size: 13px;
  color: var(--rrm-text-muted);
  margin-top: 12px;
  margin-bottom: 0;
}
.rrm-crypto-trigger { margin-bottom: 12px; }
.rrm-crypto-result {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--rrm-border);
  border-radius: var(--rrm-radius);
  margin-top: 12px;
}
.rrm-crypto-amount, .rrm-crypto-address { margin: 0 0 8px 0; font-size: 14px; }
.rrm-crypto-address-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.rrm-crypto-address-box code {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  word-break: break-all;
  padding: 10px;
  background: var(--rrm-bg-light);
  border-radius: 6px;
}
.rrm-crypto-qr-label { margin: 0 0 8px 0; font-size: 13px; }
.rrm-crypto-qr { margin-bottom: 8px; }
.rrm-crypto-qr img { display: block; border-radius: 8px; }
.rrm-crypto-expiry { font-size: 12px; color: var(--rrm-text-muted); margin: 0; }
.rrm-crypto-error.rrm-error-msg {
  color: #b91c1c;
  font-size: 14px;
  margin-top: 8px;
}

/* ============================================
   BLOG PAGE STYLES
   ============================================ */

/* Blog Categories Navigation - Enhanced */
.rrm-blog-categories-nav {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--rrm-primary), var(--rrm-accent), var(--rrm-secondary)) 1;
  position: sticky;
  top: 80px;
  z-index: 99;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

/* Fix blog categories position when WordPress admin bar is present */
.admin-bar .rrm-blog-categories-nav {
  top: 112px; /* 80px header + 32px admin bar */
}

@media screen and (min-width: 783px) {
  .admin-bar .rrm-blog-categories-nav {
    top: 126px; /* 80px header + 46px admin bar */
  }
}
.rrm-blog-categories-nav.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.rrm-blog-categories-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top left, rgba(79, 195, 247, 0.05), transparent 50%);
  pointer-events: none;
}
.rrm-blog-categories-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
}
.rrm-blog-categories-inner::-webkit-scrollbar {
  display: none;
}
.rrm-blog-category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--rrm-text-muted);
  text-decoration: none;
  border-radius: 12px;
  background: #fff;
  border: 2px solid var(--rrm-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.rrm-blog-category-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.1), rgba(15, 52, 96, 0.1));
  opacity: 0;
  transition: opacity 0.3s;
}
.rrm-blog-category-link svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}
.rrm-blog-category-link span {
  position: relative;
  z-index: 1;
}
.rrm-blog-category-link:hover {
  color: var(--rrm-primary);
  background: #fff;
  border-color: var(--rrm-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 195, 247, 0.25);
}
.rrm-blog-category-link:hover::before {
  opacity: 1;
}
.rrm-blog-category-link:hover svg {
  opacity: 1;
  transform: scale(1.1);
}
.rrm-blog-category-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--rrm-secondary), #ff6b88);
  border-color: var(--rrm-secondary);
  box-shadow: 0 6px 24px rgba(233, 69, 96, 0.4);
  transform: translateY(-2px);
}
.rrm-blog-category-link.active::before {
  opacity: 0;
}
.rrm-blog-category-link.active svg {
  opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Scroll indicator for categories */
.rrm-blog-categories-nav::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 60px;
  background: linear-gradient(to left, rgba(248, 250, 252, 0.95), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.rrm-blog-categories-nav.has-scroll::after {
  opacity: 1;
}

/* Blog Grid */
.rrm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rrm-blog-card {
  background: #fff;
  border-radius: var(--rrm-radius-lg);
  border: 1px solid var(--rrm-border);
  overflow: hidden;
  transition: all 0.3s ease;
}
.rrm-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rrm-shadow-lg);
  border-color: var(--rrm-secondary);
}
.rrm-blog-card-image {
  display: block;
  overflow: hidden;
}
.rrm-blog-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.rrm-blog-card:hover .rrm-blog-card-image img {
  transform: scale(1.05);
}
.rrm-blog-card-body {
  padding: 24px;
}
.rrm-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.rrm-blog-category {
  background: rgba(233, 69, 96, 0.08);
  color: var(--rrm-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.rrm-blog-date {
  font-size: 13px;
  color: var(--rrm-text-muted);
}
.rrm-blog-card-body h3 {
  font-family: var(--rrm-font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.rrm-blog-card-body h3 a {
  color: var(--rrm-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.rrm-blog-card-body h3 a:hover {
  color: var(--rrm-secondary);
}
.rrm-blog-card-body > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rrm-text-light);
  margin-bottom: 16px;
}
.rrm-blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--rrm-border);
}
.rrm-blog-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--rrm-text-muted);
}
.rrm-blog-read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--rrm-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.rrm-blog-read-more:hover {
  color: var(--rrm-primary);
}
.rrm-blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.rrm-blog-pagination a,
.rrm-blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--rrm-radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.rrm-blog-pagination a {
  background: #fff;
  border: 1px solid var(--rrm-border);
  color: var(--rrm-primary);
}
.rrm-blog-pagination a:hover {
  background: var(--rrm-primary);
  color: #fff;
  border-color: var(--rrm-primary);
}
.rrm-blog-pagination .current {
  background: var(--rrm-primary);
  color: #fff;
  border: 1px solid var(--rrm-primary);
}

/* ============================================
   SINGLE BLOG POST STYLES
   ============================================ */
.rrm-blog-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.rrm-blog-post-meta .rrm-blog-date,
.rrm-blog-post-meta .rrm-blog-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.rrm-blog-post-meta svg {
  opacity: 0.8;
}
.rrm-blog-post-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.rrm-blog-post-content {
  background: #fff;
  border-radius: var(--rrm-radius-lg);
  overflow: hidden;
}
.rrm-blog-post-featured-image {
  width: 100%;
  overflow: hidden;
}
.rrm-blog-post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}
.rrm-blog-post-body {
  padding: 40px;
}
.rrm-blog-post-body h2 {
  font-family: var(--rrm-font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--rrm-primary);
  margin: 32px 0 16px 0;
}
.rrm-blog-post-body h3 {
  font-family: var(--rrm-font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--rrm-primary);
  margin: 24px 0 12px 0;
}
.rrm-blog-post-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--rrm-text);
  margin-bottom: 16px;
}
.rrm-blog-post-body ul,
.rrm-blog-post-body ol {
  margin: 16px 0;
  padding-left: 24px;
}
.rrm-blog-post-body li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--rrm-text);
  margin-bottom: 8px;
}
.rrm-blog-post-body a {
  color: var(--rrm-secondary);
  text-decoration: underline;
}
.rrm-blog-post-body a:hover {
  color: var(--rrm-primary);
}
.rrm-blog-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--rrm-radius);
  margin: 24px 0;
}
.rrm-blog-post-tags {
  padding: 24px 40px;
  border-top: 2px solid var(--rrm-border);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rrm-blog-post-tags strong {
  color: var(--rrm-primary);
  font-weight: 600;
}
.rrm-blog-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--rrm-bg-light);
  color: var(--rrm-text);
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--rrm-border);
}
.rrm-blog-tag:hover {
  background: var(--rrm-secondary);
  color: #fff;
  border-color: var(--rrm-secondary);
}

/* Blog Sidebar */
.rrm-blog-post-sidebar {
  position: sticky;
  top: 180px;
}
.rrm-blog-sidebar-widget {
  background: #fff;
  border-radius: var(--rrm-radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--rrm-border);
}
.rrm-blog-sidebar-widget h3 {
  font-family: var(--rrm-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--rrm-primary);
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rrm-border);
}
.rrm-blog-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rrm-blog-sidebar-list li {
  margin-bottom: 8px;
}
.rrm-blog-sidebar-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  color: var(--rrm-text);
  text-decoration: none;
  border-radius: var(--rrm-radius);
  transition: all 0.2s;
  font-size: 14px;
}
.rrm-blog-sidebar-list a:hover {
  background: var(--rrm-bg-light);
  color: var(--rrm-secondary);
}
.rrm-blog-count {
  font-size: 12px;
  color: var(--rrm-text-muted);
  font-weight: 600;
}
.rrm-blog-sidebar-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rrm-blog-sidebar-posts li {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rrm-border);
}
.rrm-blog-sidebar-posts li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.rrm-blog-sidebar-posts a {
  display: block;
  text-decoration: none;
}
.rrm-blog-sidebar-post-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--rrm-primary);
  margin-bottom: 4px;
  line-height: 1.4;
  transition: color 0.2s;
}
.rrm-blog-sidebar-posts a:hover .rrm-blog-sidebar-post-title {
  color: var(--rrm-secondary);
}
.rrm-blog-sidebar-post-date {
  display: block;
  font-size: 12px;
  color: var(--rrm-text-muted);
}

/* Related Posts */
.rrm-blog-related-posts {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 2px solid var(--rrm-border);
}
.rrm-blog-related-posts h2 {
  font-family: var(--rrm-font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--rrm-primary);
  margin-bottom: 32px;
  text-align: center;
}

/* ============================================
   STORE & BLOG RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .rrm-store-grid { grid-template-columns: repeat(2, 1fr); }
  .rrm-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .rrm-blog-post-container {
    grid-template-columns: 1fr;
  }
  .rrm-blog-post-sidebar {
    position: static;
  }
  .rrm-blog-categories-nav {
    top: 70px;
  }
  /* Admin bar fix for tablet */
  .admin-bar .rrm-blog-categories-nav {
    top: 102px; /* 70px header + 32px admin bar */
  }
  .rrm-blog-category-link {
    padding: 10px 18px;
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  .rrm-blog-post-body {
    padding: 24px;
  }
  .rrm-blog-post-tags {
    padding: 20px 24px;
  }
  .rrm-blog-categories-nav {
    top: 60px;
  }
  /* Admin bar fix for mobile */
  .admin-bar .rrm-blog-categories-nav {
    top: 92px; /* 60px header + 32px admin bar */
  }
  .rrm-blog-category-link {
    padding: 8px 16px;
    font-size: 12px;
  }
  .rrm-blog-categories-inner {
    padding: 14px 0;
    gap: 8px;
  }
}

/* ============================================
   ADDITIONAL RESPONSIVE IMPROVEMENTS
   ============================================ */

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .rrm-btn,
  .rrm-nav a,
  .rrm-blog-category-link,
  .rrm-service-card,
  .rrm-blog-card {
    -webkit-tap-highlight-color: rgba(233, 69, 96, 0.1);
  }
  
  /* Larger touch targets */
  .rrm-hamburger {
    min-width: 48px;
    min-height: 48px;
  }
  
  .rrm-mobile-menu > a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .rrm-container {
    padding: 0 16px;
  }
  .rrm-stats-grid {
    grid-template-columns: 1fr;
  }
  .rrm-stat-value {
    font-size: 28px;
  }
  .rrm-pricing-card {
    padding: 28px 20px;
  }
  .rrm-service-hero-content h1 {
    font-size: 28px;
  }
  .rrm-section-title {
    font-size: 28px;
  }
  .rrm-blog-grid {
    grid-template-columns: 1fr;
  }
  .rrm-store-grid {
    grid-template-columns: 1fr;
  }
  .rrm-hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .rrm-hero-buttons .rrm-btn {
    width: 100%;
    justify-content: center;
  }
  .rrm-contact-wrapper {
    padding: 0;
  }
  .rrm-form-group {
    margin-bottom: 16px;
  }
}

/* Very small devices (320px) */
@media (max-width: 360px) {
  .rrm-logo {
    font-size: 18px;
  }
  .rrm-logo-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .rrm-hero h1 {
    font-size: 24px;
  }
  .rrm-section-title {
    font-size: 24px;
  }
  .rrm-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .rrm-container {
    padding: 0 32px;
  }
  .rrm-hero h1 {
    font-size: 44px;
  }
}

/* Large screens optimization */
@media (min-width: 1440px) {
  .rrm-container {
    max-width: 1400px;
  }
  .rrm-hero h1 {
    font-size: 58px;
  }
  .rrm-section-title {
    font-size: 44px;
  }
}

/* ============================================
   PERFORMANCE: REDUCE MOTION FOR ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .rrm-header,
  .rrm-mobile-menu,
  .rrm-blog-categories-nav,
  .rrm-footer,
  .rrm-back-to-top,
  .rrm-nav-cta,
  .rrm-hamburger {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  a {
    text-decoration: underline;
    color: #000;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
}
