/* =========================================================
   REGIBLOOM WELLNESS CENTRE — INNER PAGES STYLESHEET
   (Additive only — extends style.css, never overrides it,
   so the Home page design remains 100% unchanged.)
   ========================================================= */

/* ---------- Services Mega Menu (Header) ---------- */
.rb-nav .nav-item.dropdown .nav-link::after{ display:none; }
.rb-nav .dropdown-toggle::after{ vertical-align: 2px; margin-left: 6px; transition: transform 0.25s ease; }
.rb-nav .dropdown-toggle[aria-expanded="true"]::after{ transform: rotate(180deg); }

.rb-mega-menu{
  border: none;
  border-radius: var(--rb-radius-lg);
  box-shadow: var(--rb-shadow-soft);
  padding: 0;
  margin-top: 5px !important;
  width: min(880px, 92vw);
  overflow: hidden;
  left: 50%;
  transform: translateX(-50%);
}
.rb-mega-inner{ display:flex; flex-wrap: wrap; }
.rb-mega-grid{
  flex: 1 1 62%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 20px;
  max-height: 60vh;
  overflow-y: auto;
}
@media (min-width: 1150px){
  .rb-mega-grid{ grid-template-columns: repeat(3, 1fr); max-height: none; overflow: visible; }
}
.rb-mega-item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--rb-radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--rb-text);
  line-height: 1.25;
  transition: var(--rb-transition);
}
.rb-mega-item:hover, .rb-mega-item:focus{ background: var(--rb-primary-light); color: var(--rb-primary-dark); }
.rb-mega-icon{
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--rb-primary-light);
  color: var(--rb-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: var(--rb-transition);
}
.rb-mega-item:hover .rb-mega-icon{ background: var(--rb-primary); color: #fff; }
.rb-mega-feature{
  flex: 1 1 38%;
  background: var(--rb-bg-light);
  display: flex;
  flex-direction: column;
  min-width: 220px;
}
.rb-mega-feature-img{ height: 140px; overflow: hidden; }
.rb-mega-feature-img img{ width: 100%; height: 100%; object-fit: cover; }
.rb-mega-feature-body{ padding: 20px 22px; flex: 1; display:flex; flex-direction:column; }
.rb-mega-feature-body h6{ font-size: 0.95rem; margin-bottom: 8px; }
.rb-mega-feature-body p{ font-size: 0.8rem; margin-bottom: 16px; }
.rb-mega-feature-body .rb-btn{ margin-top: auto; justify-content:center; }

@media (min-width: 992px){
  .rb-nav .nav-item.dropdown:hover .rb-mega-menu{ display: block; }
}
@media (max-width: 991px){
  .rb-mega-menu{
    position: static !important; transform: none !important; width: 100% !important;
    box-shadow: none; margin-top: 8px !important; background: rgba(255,255,255,0.04);
    border-radius: var(--rb-radius-md);
  }
  .rb-mega-inner{ flex-direction: column; }
  .rb-mega-grid{
    grid-template-columns: 1fr;
    padding: 8px;
    max-height: 55vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .rb-mega-grid::-webkit-scrollbar{ width: 5px; }
  .rb-mega-grid::-webkit-scrollbar-thumb{ background: var(--rb-primary-light); border-radius: 10px; }
  .rb-mega-item{ color: var(--rb-text); }
  .rb-mega-item:hover{ background: var(--rb-primary-light); color: var(--rb-primary-dark); }
  .rb-mega-feature{ display: none; }
}

/* ---------- Inner Page Banner ---------- */
.rb-page-banner{
  position: relative;
  padding: 190px 0 90px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.rb-page-banner-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(15,30,25,0.88), rgba(47,123,98,0.80));
}
.rb-page-banner .container{ position: relative; z-index: 2; }
.rb-page-banner-title{
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}
.rb-breadcrumb{
  list-style: none;

  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}
.rb-breadcrumb li{ color: rgba(255,255,255,0.65); display:flex; align-items:center; gap:8px; }
.rb-breadcrumb li a{ color: #fff; }
.rb-breadcrumb li a:hover{ color: var(--rb-gold); }
.rb-breadcrumb li:not(:last-child)::after{ content:"/"; margin-left:8px; color: rgba(255,255,255,0.4); }

/* ---------- Generic Content Blocks ---------- */
.rb-content-section{ padding: 90px 0; }
.rb-content-section.rb-bg-light{ background: var(--rb-bg-light); }
.rb-content-block h2.rb-section-title{ margin-top: 8px; }
.rb-content-block p{ margin-bottom: 18px; font-size: 1rem; }
.rb-content-block h3{ font-size: 1.35rem; margin: 34px 0 14px; color: var(--rb-text); }
.rb-content-block ul{ padding-left: 20px; margin-bottom: 20px; }
.rb-content-block ul li{ color: var(--rb-text-soft); margin-bottom: 10px; font-size: 1rem; line-height: 1.6; }
.rb-content-block ul li::marker{ color: var(--rb-primary); }

.rb-side-img{ border-radius: var(--rb-radius-lg); box-shadow: var(--rb-shadow-soft); width:100%; height: 460px; object-fit: cover; }
.rb-inline-img{ border-radius: var(--rb-radius-md); box-shadow: var(--rb-shadow-card); width:100%; height: 280px; object-fit: cover; margin: 10px 0 30px; }

/* ---------- Sticky Sidebar (Service Pages) ---------- */
.rb-service-sidebar{
  background: #fff;
  border-radius: var(--rb-radius-lg);
  box-shadow: var(--rb-shadow-card);
  padding: 28px;
  position: sticky;
  top: 110px;
}
.rb-service-sidebar h5{ font-size: 1.1rem; margin-bottom: 16px; }
.rb-sidebar-list{ list-style:none; padding:0; margin: 0 0 24px; }
.rb-sidebar-list li{ margin-bottom: 6px; }
.rb-sidebar-list li a{
  display:flex; align-items:center; gap:10px;
  padding: 10px 12px; border-radius: var(--rb-radius-sm);
  font-size: 0.88rem; color: var(--rb-text-soft);
  transition: var(--rb-transition);
}
.rb-sidebar-list li a i{ color: var(--rb-primary); width: 18px; }
.rb-sidebar-list li a:hover, .rb-sidebar-list li a.active{ background: var(--rb-primary-light); color: var(--rb-primary-dark); }
.rb-sidebar-cta{
  background: var(--rb-primary);
  border-radius: var(--rb-radius-md);
  padding: 22px;
  text-align: center;
  color:#fff;
}
.rb-sidebar-cta h6{ color:#fff; font-size:1rem; margin-bottom: 10px; }
.rb-sidebar-cta p{ color: rgba(255,255,255,0.8); font-size: 0.82rem; margin-bottom: 16px; }

/* ---------- Feature / Benefit Grid (reused on inner pages) ---------- */
.rb-feature-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:18px; margin: 10px 0 10px; }
@media (min-width: 992px){ .rb-feature-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 576px){ .rb-feature-grid{ grid-template-columns: 1fr; } }

/* ---------- Quick Facts Strip (Service Detail Pages) ---------- */
.rb-quickfacts{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #eef2f1;
  border-radius: var(--rb-radius-lg);
  overflow: hidden;
  box-shadow: var(--rb-shadow-card);
  margin: 28px 0 34px;
}
.rb-quickfact{
  background: #fff;
  padding: 22px 16px;
  text-align: center;
}
.rb-quickfact i{ color: var(--rb-primary); font-size: 1.3rem; margin-bottom: 10px; display:block; }
.rb-quickfact strong{ display:block; font-family: var(--rb-font-display); font-size: 1rem; color: var(--rb-text); margin-bottom: 2px; }
.rb-quickfact span{ font-size: 0.74rem; color: var(--rb-text-soft); text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 768px){
  .rb-quickfacts{ grid-template-columns: repeat(2, 1fr); }
}
.rb-feature-item{
  display:flex; gap:14px; align-items:flex-start;
  background:#fff; border-radius: var(--rb-radius-md);
  padding: 18px; box-shadow: var(--rb-shadow-card);
}
.rb-feature-item i{ color: var(--rb-primary); font-size: 1.3rem; margin-top: 3px; }
.rb-feature-item h6{ font-size: 0.95rem; margin-bottom: 6px; }
.rb-feature-item p{ font-size: 0.85rem; margin-bottom: 0; }

/* ---------- Steps / Process (numbered) ---------- */
.rb-step-row{ display:flex; gap:18px; margin-bottom: 26px; }
.rb-step-num{
  flex-shrink:0; width:48px; height:48px; border-radius:50%;
  background: var(--rb-primary-light); color: var(--rb-primary-dark);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--rb-font-display); font-weight:700; font-size:1.1rem;
}
.rb-step-row h6{ font-size: 1rem; margin-bottom: 6px; }
.rb-step-row p{ font-size: 0.9rem; margin-bottom:0; }

/* ---------- Related Services Grid (bottom of service pages) ---------- */
.rb-related-title{ margin-bottom: 30px; }

/* ---------- Service Overview Page Cards Grid tweaks ---------- */
.rb-services-index-head{ margin-bottom: 40px; }

/* ---------- Simple Info Cards (About / Why Us / Contact) ---------- */
.rb-info-card{
  background:#fff; border-radius: var(--rb-radius-md);
  box-shadow: var(--rb-shadow-card); padding: 28px; height:100%;
  border-bottom: 3px solid transparent; transition: var(--rb-transition);
}
.rb-info-card:hover{ border-bottom-color: var(--rb-primary); transform: translateY(-6px); }
.rb-info-card i{ color: var(--rb-primary); font-size: 1.8rem; margin-bottom: 16px; display:block; }
.rb-info-card h5{ font-size: 1.05rem; margin-bottom: 10px; }
.rb-info-card p{ font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Contact Page ---------- */
.rb-contact-card{
  display:flex; gap:16px; align-items:flex-start;
  background:#fff; border-radius: var(--rb-radius-md);
  box-shadow: var(--rb-shadow-card); padding: 24px; margin-bottom: 20px;
}
.rb-contact-card i{ color: var(--rb-primary); font-size: 1.4rem; background: var(--rb-primary-light); width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.rb-contact-card h6{ font-size: 1rem; margin-bottom: 6px; }
.rb-contact-card p{ font-size: 0.88rem; margin-bottom: 0; }
.rb-map-frame{ border-radius: var(--rb-radius-lg); overflow:hidden; box-shadow: var(--rb-shadow-soft); border:0; width:100%; height:420px; }

/* ---------- Table of Contents chip nav on long pages ---------- */
.rb-toc{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom: 40px; }
.rb-toc a{
  font-size: 0.82rem; font-weight:600; color: var(--rb-primary);
  background: var(--rb-primary-light); padding: 8px 16px; border-radius: 50px;
}
.rb-toc a:hover{ background: var(--rb-primary); color:#fff; }
