/* =====================================================================
   RoundBit – inner pages
   Extends app.css with components for About, Services, Company,
   Contact and Legal pages. Uses the same tokens as the home page:
     primary  #033fff     dark   #17161A     muted #7f7f7f
     tag bg   #F0EDF6     peach  #FEEBC8     rose  #fed7d7
     sky      #63B3ED     mint   #B2F5EA     pink  #FEE2F1
   Fonts: Poppins-Regular / Poppins-Medium / Poppins-SemiBold
   ===================================================================== */

:root {
  --rb-primary: #033fff;
  --rb-dark: #17161A;
  --rb-muted: #7f7f7f;
  --rb-tag: #F0EDF6;
  --rb-peach: #FEEBC8;
  --rb-rose: #fed7d7;
  --rb-sky: #63B3ED;
  --rb-mint: #B2F5EA;
  --rb-pink: #FEE2F1;
  --rb-shadow: 0px 17px 45px rgba(0, 0, 0, 0.08);
  --rb-shadow-hover: 0px 24px 55px rgba(3, 63, 255, 0.14);
}

body.rb-inner { overflow-x: hidden; }

/* ---------- Header: active item + clickable parents ---------- */
#header .container .nav .navigation .navigation-ul .navigation-li.active > .links p,
#header .container .nav .navigation .navigation-ul .navigation-li.active > .links .drop-arrow { color: var(--rb-primary); }
#header .container .nav .navigation .navigation-ul .navigation-li .drop-ul .drop-li .drop-links { display: block; }
#header .container .nav .action .contact-btn { display: block; }

/* ---------- Page banner (matches template #heading-* sections) ---------- */
.page-banner {
  background-color: var(--rb-primary);
  margin-bottom: 128px;
  position: relative;
  overflow: hidden;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner .heading { padding: 64px 0 72px 0; text-align: center; }
.page-banner .heading .banner-tag {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-family: "Poppins-Regular";
  font-size: 15px;
  letter-spacing: 0.3px;
  text-transform: capitalize;
  margin-bottom: 18px;
}
.page-banner .heading h1 {
  color: #ffffff;
  font-size: 56px;
  line-height: 72px;
}
.page-banner .heading .banner-desc {
  color: rgba(255, 255, 255, 0.85);
  font-family: "Poppins-Regular";
  font-size: 18px;
  line-height: 32px;
  max-width: 680px;
  margin: 16px auto 0 auto;
}
.page-banner .breadcrumb-rb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
  font-family: "Poppins-Regular";
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}
.page-banner .breadcrumb-rb a { display: inline; color: #ffffff; transition: 0.2s linear; }
.page-banner .breadcrumb-rb a:hover { color: var(--rb-peach); }
.page-banner .breadcrumb-rb .sep { margin: 0 10px; font-size: 11px; }
.page-banner .shape { position: absolute; z-index: 0; opacity: 0.9; }
.page-banner .shape-circle { top: -60px; left: -50px; }
.page-banner .shape-dots { right: 40px; bottom: 16px; opacity: 0.25; }
.page-banner .shape-triangle { right: 18%; top: 36px; }
.page-banner .shape-ring { left: 14%; bottom: 28px; }

@media (max-width: 991px) {
  .page-banner { margin-bottom: 64px; }
  .page-banner .heading h1 { font-size: 40px; line-height: 52px; }
  .page-banner .shape-dots { display: none; }
}
@media (max-width: 575px) {
  .page-banner .heading { padding: 48px 0 56px 0; }
  .page-banner .heading h1 { font-size: 32px; line-height: 44px; }
  .page-banner .heading .banner-desc { font-size: 16px; line-height: 28px; }
  .page-banner .shape-circle, .page-banner .shape-triangle { display: none; }
}

/* ---------- Generic section + heading ---------- */
.rb-section { position: relative; margin-bottom: 128px; }
.rb-section.rb-tinted { background-color: #F8F7FC; padding: 112px 0; }
@media (max-width: 991px) {
  .rb-section { margin-bottom: 64px; }
  .rb-section.rb-tinted { padding: 64px 0; }
}

.rb-heading { text-align: center; margin-bottom: 64px; }
.rb-heading.left { text-align: left; margin-bottom: 32px; }
.rb-heading .rb-tag {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--rb-tag);
  color: var(--rb-muted);
  font-family: "Poppins-Regular";
  font-size: 15px;
  letter-spacing: 0.3px;
  text-transform: capitalize;
}
.rb-heading h2 { color: var(--rb-dark); margin: 18px 0; }
.rb-heading .rb-desc {
  font-family: "Poppins-Regular";
  font-size: 18px;
  line-height: 32px;
  color: var(--rb-muted);
  max-width: 720px;
  margin: 0 auto;
}
.rb-heading.left .rb-desc { margin: 0; }
@media (max-width: 991px) {
  .rb-heading { margin-bottom: 48px; }
  .rb-heading h2 { font-size: 32px; line-height: 44px; }
}
@media (max-width: 575px) {
  .rb-heading h2 { font-size: 28px; line-height: 36px; }
}

.rb-text p, p.rb-text {
  font-family: "Poppins-Regular";
  color: var(--rb-muted);
  line-height: 30px;
}
.rb-text p + p { margin-top: 16px; }
.rb-text a, .rb-inline-link { display: inline; color: var(--rb-primary); }
.rb-text a:hover, .rb-inline-link:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.rb-btn, .rb-btn-outline, .rb-btn-light {
  display: inline-block;
  padding: 14px 24px;
  font-family: "Poppins-Regular";
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: capitalize;
  border: 1px solid var(--rb-primary);
  transition: 0.2s linear;
  cursor: pointer;
}
.rb-btn { background-color: var(--rb-primary); color: #ffffff; }
.rb-btn:hover { background-color: var(--rb-dark); border-color: var(--rb-dark); color: #ffffff; }
.rb-btn-outline { background-color: transparent; color: var(--rb-primary); }
.rb-btn-outline:hover { background-color: var(--rb-primary); color: #ffffff; }
.rb-btn-light { background-color: #ffffff; border-color: #ffffff; color: var(--rb-primary); }
.rb-btn-light:hover { background-color: transparent; color: #ffffff; }
.rb-btn i, .rb-btn-outline i, .rb-btn-light i { margin-left: 8px; font-size: 14px; }
.rb-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
button.rb-btn { outline: none; }
button.rb-btn:focus { outline: 2px solid var(--rb-sky); outline-offset: 2px; }

/* ---------- Cards ---------- */
.rb-grid > [class*="col-"] { margin-bottom: 30px; display: flex; }
.rb-card {
  background-color: #ffffff;
  box-shadow: var(--rb-shadow);
  padding: 40px 36px;
  width: 100%;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.rb-card:hover { transform: translateY(-6px); box-shadow: var(--rb-shadow-hover); }
.rb-card .rb-card-icon {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--rb-tag);
  color: var(--rb-primary);
  font-size: 30px;
  margin-bottom: 24px;
  transition: 0.25s linear;
}
.rb-card:hover .rb-card-icon { background-color: var(--rb-primary); color: #ffffff; }
.rb-card h3 { color: var(--rb-dark); font-size: 22px; line-height: 32px; }
.rb-card .rb-line { width: 64px; height: 2px; background-color: var(--rb-primary); margin: 18px 0; }
.rb-card p { font-family: "Poppins-Regular"; color: var(--rb-muted); line-height: 30px; }
.rb-card .rb-card-link {
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  align-items: center;
  color: var(--rb-primary);
  font-family: "Poppins-Medium";
  text-transform: capitalize;
}
.rb-card .rb-card-link i { margin-left: 8px; transition: 0.2s linear; }
.rb-card .rb-card-link:hover i { transform: translateX(4px); }
@media (max-width: 575px) { .rb-card { padding: 36px 24px; } }

/* accent-top cards (values, principles) */
.rb-card.accent { border-top: 4px solid var(--rb-primary); }
.rb-card.accent-peach { border-top: 4px solid var(--rb-peach); }
.rb-card.accent-mint { border-top: 4px solid var(--rb-mint); }
.rb-card.accent-rose { border-top: 4px solid var(--rb-rose); }
.rb-card.accent-sky { border-top: 4px solid var(--rb-sky); }
.rb-card.accent-pink { border-top: 4px solid var(--rb-pink); }

/* Service overview card: title + icon row like home services */
.rb-service-card .services-info { display: flex; align-items: center; justify-content: space-between; }
.rb-service-card .services-info h3 { padding-right: 20px; }
.rb-service-card .services-icon { color: var(--rb-primary); font-size: 48px; }

/* ---------- Checklist ---------- */
.rb-check { margin-top: 24px; }
.rb-check li { display: flex; align-items: flex-start; margin-bottom: 16px; }
.rb-check li img { width: 24px; height: 24px; margin-right: 14px; margin-top: 3px; flex-shrink: 0; }
.rb-check li p, .rb-check li span {
  font-family: "Poppins-Medium";
  color: var(--rb-dark);
  line-height: 30px;
}

/* ---------- Image block with template shapes ---------- */
.rb-image { position: relative; padding: 0 40px 40px 0; }
.rb-image img.photo { width: 100%; object-fit: cover; position: relative; z-index: 1; box-shadow: var(--rb-shadow); }
.rb-image .ring { position: absolute; bottom: -10px; right: 0; z-index: 0; }
.rb-image .dots { position: absolute; top: -32px; left: -32px; z-index: 0; }
.rb-image .experience-badge {
  position: absolute; z-index: 2; left: -20px; bottom: 70px;
  background-color: var(--rb-primary); color: #ffffff;
  padding: 20px 26px; box-shadow: var(--rb-shadow-hover);
}
.rb-image .experience-badge strong { display: block; font-family: "Poppins-SemiBold"; font-size: 36px; line-height: 40px; }
.rb-image .experience-badge span { font-family: "Poppins-Regular"; font-size: 14px; }
@media (max-width: 991px) {
  .rb-image { margin-bottom: 64px; }
  .rb-image img.photo { height: 380px; }
  .rb-image .experience-badge { left: 12px; }
}
@media (max-width: 575px) {
  .rb-image { padding: 0 16px 16px 0; }
  .rb-image .dots { display: none; }
  .rb-image img.photo { height: 300px; }
}

/* ---------- Mission / vision split ---------- */
.rb-mv { display: flex; gap: 20px; margin-top: 32px; }
.rb-mv > div { flex: 1; background-color: var(--rb-tag); padding: 24px; }
.rb-mv h4 { color: var(--rb-dark); margin-bottom: 8px; display: flex; align-items: center; }
.rb-mv h4 i { color: var(--rb-primary); margin-right: 10px; }
.rb-mv p { font-family: "Poppins-Regular"; color: var(--rb-muted); line-height: 28px; font-size: 15px; }
@media (max-width: 575px) { .rb-mv { flex-direction: column; } }

/* ---------- Process steps (timeline) ---------- */
.rb-steps { position: relative; }
.rb-steps::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: repeating-linear-gradient(to bottom, var(--rb-primary) 0 8px, transparent 8px 16px);
  transform: translateX(-50%); opacity: 0.35;
}
.rb-step { display: flex; align-items: center; position: relative; margin-bottom: 64px; }
.rb-step:last-child { margin-bottom: 0; }
.rb-step .rb-step-body { width: calc(50% - 56px); }
.rb-step .rb-step-dot {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 64px; height: 64px; border-radius: 50%;
  background-color: var(--rb-primary); color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; box-shadow: 0 0 0 10px #ffffff, var(--rb-shadow-hover); z-index: 1;
}
.rb-step:nth-child(even) { flex-direction: row-reverse; }
.rb-step .rb-step-num {
  font-family: "Poppins-SemiBold"; font-size: 64px; line-height: 64px;
  color: var(--rb-peach); display: block; margin-bottom: 8px;
}
.rb-step:nth-child(4n+2) .rb-step-num { color: var(--rb-mint); }
.rb-step:nth-child(4n+3) .rb-step-num { color: var(--rb-pink); }
.rb-step:nth-child(4n+4) .rb-step-num { color: var(--rb-rose); }
.rb-step .rb-card:hover { transform: none; }
.rb-step h3 { color: var(--rb-dark); }
.rb-step .rb-step-meta { font-family: "Poppins-Medium"; font-size: 14px; color: var(--rb-primary); margin: 4px 0 12px 0; text-transform: uppercase; letter-spacing: 1px; }
.rb-step ul.rb-deliverables { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 991px) {
  .rb-steps::before { left: 32px; }
  .rb-step, .rb-step:nth-child(even) { flex-direction: row; padding-left: 96px; }
  .rb-step .rb-step-body { width: 100%; }
  .rb-step .rb-step-dot { left: 32px; }
}
@media (max-width: 575px) {
  .rb-steps::before { display: none; }
  .rb-step, .rb-step:nth-child(even) { padding-left: 0; flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .rb-step .rb-step-dot { position: relative; left: 0; transform: none; margin-bottom: -32px; margin-left: 24px; }
}

/* ---------- Chips ---------- */
.rb-chip {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--rb-tag);
  color: var(--rb-dark);
  font-family: "Poppins-Regular";
  font-size: 14px;
  letter-spacing: 0.3px;
}
.rb-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.rb-chips.large .rb-chip { padding: 12px 22px; font-size: 16px; background-color: #ffffff; box-shadow: var(--rb-shadow); transition: 0.2s linear; }
.rb-chips.large .rb-chip:hover { background-color: var(--rb-primary); color: #ffffff; }

/* ---------- Numbered mini-feature (software delivery pillars) ---------- */
.rb-pillar { display: flex; align-items: flex-start; margin-bottom: 32px; }
.rb-pillar .rb-pillar-icon {
  flex-shrink: 0; width: 56px; height: 56px; margin-right: 20px;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--rb-primary); color: #ffffff; font-size: 22px;
}
.rb-pillar h4 { color: var(--rb-dark); margin-bottom: 8px; line-height: 30px; }
.rb-pillar p { font-family: "Poppins-Regular"; color: var(--rb-muted); line-height: 28px; }

/* ---------- Comparison / table ---------- */
.rb-table { width: 100%; background-color: #ffffff; box-shadow: var(--rb-shadow); border-collapse: collapse; }
.rb-table th, .rb-table td { padding: 20px 24px; font-family: "Poppins-Regular"; color: var(--rb-muted); border-bottom: 1px solid #EEEBF5; vertical-align: top; line-height: 26px; }
.rb-table thead th { background-color: var(--rb-dark); color: #ffffff; font-family: "Poppins-Medium"; font-weight: 500; }
.rb-table tbody th { color: var(--rb-dark); font-family: "Poppins-Medium"; font-weight: 500; white-space: nowrap; }
.rb-table-wrap { overflow-x: auto; }

/* ---------- FAQ accordion ---------- */
.rb-accordion .rb-acc-item { background-color: #ffffff; box-shadow: var(--rb-shadow); margin-bottom: 20px; }
.rb-accordion .rb-acc-head {
  width: 100%; text-align: left; background: none; border: none;
  padding: 24px 28px; display: flex; align-items: center; justify-content: space-between;
  font-family: "Poppins-Medium"; font-size: 18px; line-height: 28px; color: var(--rb-dark);
  cursor: pointer; transition: 0.2s linear;
}
.rb-accordion .rb-acc-head:focus { outline: none; }
.rb-accordion .rb-acc-head:focus-visible { outline: 2px solid var(--rb-sky); }
.rb-accordion .rb-acc-head .rb-acc-icon {
  flex-shrink: 0; margin-left: 16px; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--rb-primary); color: #ffffff; font-size: 14px; transition: 0.25s ease;
}
.rb-accordion .rb-acc-head.collapsed { color: var(--rb-dark); }
.rb-accordion .rb-acc-head.collapsed .rb-acc-icon { background-color: var(--rb-tag); color: var(--rb-primary); transform: rotate(-90deg); }
.rb-accordion .rb-acc-head:not(.collapsed) { color: var(--rb-primary); }
.rb-accordion .rb-acc-body { padding: 0 28px 24px 28px; font-family: "Poppins-Regular"; color: var(--rb-muted); line-height: 30px; }
@media (max-width: 575px) {
  .rb-accordion .rb-acc-head { padding: 20px; font-size: 16px; }
  .rb-accordion .rb-acc-body { padding: 0 20px 20px 20px; }
}

.rb-faq-nav { position: sticky; top: 24px; }
.rb-faq-nav a {
  display: flex; align-items: center; padding: 16px 20px; margin-bottom: 12px;
  background-color: #ffffff; box-shadow: var(--rb-shadow);
  font-family: "Poppins-Medium"; color: var(--rb-dark); transition: 0.2s linear;
}
.rb-faq-nav a i { color: var(--rb-primary); width: 28px; transition: 0.2s linear; }
.rb-faq-nav a:hover { background-color: var(--rb-primary); color: #ffffff; }
.rb-faq-nav a:hover i { color: #ffffff; }
.rb-faq-group { margin-bottom: 56px; scroll-margin-top: 24px; }
.rb-faq-group h3 { color: var(--rb-dark); margin-bottom: 24px; display: flex; align-items: center; }
.rb-faq-group h3 i { color: var(--rb-primary); margin-right: 12px; }
@media (max-width: 991px) { .rb-faq-nav { position: static; margin-bottom: 40px; } }

/* ---------- Contact ---------- */
.rb-contact-card { background-color: var(--rb-dark); color: #ffffff; padding: 48px 40px; height: 100%; position: relative; overflow: hidden; }
.rb-contact-card h3 { color: #ffffff; margin-bottom: 12px; }
.rb-contact-card > p { font-family: "Poppins-Regular"; color: rgba(255, 255, 255, 0.7); line-height: 28px; margin-bottom: 32px; }
.rb-contact-card .rb-contact-row { display: flex; align-items: flex-start; margin-bottom: 28px; position: relative; z-index: 1; }
.rb-contact-card .rb-contact-row .ic {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; margin-right: 16px;
  background-color: var(--rb-primary); display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.rb-contact-card .rb-contact-row h4 { font-size: 16px; color: #ffffff; margin-bottom: 4px; }
.rb-contact-card .rb-contact-row a, .rb-contact-card .rb-contact-row p { font-family: "Poppins-Regular"; color: rgba(255, 255, 255, 0.8); line-height: 26px; }
.rb-contact-card .rb-contact-row a:hover { color: #ffffff; }
.rb-contact-card .shape { position: absolute; right: -40px; bottom: -40px; opacity: 0.25; }

.rb-form { background-color: #ffffff; box-shadow: var(--rb-shadow); padding: 48px 40px; }
.rb-form h3 { color: var(--rb-dark); margin-bottom: 8px; }
.rb-form .rb-form-desc { font-family: "Poppins-Regular"; color: var(--rb-muted); margin-bottom: 32px; }
.rb-form label { font-family: "Poppins-Medium"; color: var(--rb-dark); font-size: 14px; margin-bottom: 8px; display: block; }
.rb-form label .req { color: var(--rb-primary); }
.rb-form .rb-input {
  width: 100%; padding: 14px 18px; border: 1px solid #E4E1EC; background-color: #FBFAFD;
  font-family: "Poppins-Regular"; color: var(--rb-dark); transition: 0.2s linear; border-radius: 0;
}
.rb-form .rb-input:focus { outline: none; border-color: var(--rb-primary); background-color: #ffffff; box-shadow: 0 0 0 3px rgba(3, 63, 255, 0.1); }
.rb-form textarea.rb-input { min-height: 150px; resize: vertical; }
.rb-form select.rb-input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #7f7f7f 50%), linear-gradient(135deg, #7f7f7f 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.rb-form .form-group { margin-bottom: 22px; }
.rb-form .field-validation-error, .rb-form .text-danger { color: #e53e3e; font-family: "Poppins-Regular"; font-size: 13px; margin-top: 6px; display: block; }
.rb-form .input-validation-error { border-color: #e53e3e; }
.rb-form .rb-form-note { font-family: "Poppins-Regular"; font-size: 13px; color: var(--rb-muted); margin-top: 16px; }
.rb-form .rb-form-note a { display: inline; color: var(--rb-primary); }
@media (max-width: 575px) { .rb-form, .rb-contact-card { padding: 36px 24px; } }

.rb-alert-success {
  display: flex; align-items: flex-start; background-color: #E8FFF9; border-left: 4px solid #38B2AC;
  padding: 20px 24px; margin-bottom: 32px; font-family: "Poppins-Regular"; color: var(--rb-dark); line-height: 26px;
}
.rb-alert-success i { color: #38B2AC; font-size: 22px; margin-right: 14px; margin-top: 2px; }

.rb-map { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.2); }

/* ---------- Team ---------- */
.rb-team-card { text-align: center; align-items: center; }
.rb-team-card .rb-avatar {
  width: 104px; height: 104px; border-radius: 50%; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--rb-primary);
  background-color: var(--rb-tag); position: relative;
}
.rb-team-card .rb-avatar::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed var(--rb-peach);
}
.rb-team-card .rb-role { font-family: "Poppins-Medium"; color: var(--rb-primary); font-size: 14px; margin: 6px 0 14px 0; text-transform: uppercase; letter-spacing: 1px; }
.rb-team-card .rb-chips { justify-content: center; margin-top: 20px; }

.rb-culture { position: relative; overflow: hidden; background-color: var(--rb-primary); padding: 72px 64px; }
.rb-culture h2 { color: #ffffff; }
.rb-culture p { font-family: "Poppins-Regular"; color: rgba(255, 255, 255, 0.85); font-size: 18px; line-height: 32px; margin: 16px 0 0 0; max-width: 620px; }
.rb-culture .rb-perks { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.rb-culture .rb-perks span { background-color: rgba(255, 255, 255, 0.12); color: #ffffff; padding: 10px 18px; font-family: "Poppins-Regular"; font-size: 15px; }
.rb-culture .rb-perks span i { margin-right: 8px; color: var(--rb-peach); }
.rb-culture .shape { position: absolute; right: -30px; top: -30px; opacity: 0.2; }
@media (max-width: 767px) { .rb-culture { padding: 48px 28px; } .rb-culture h2 { font-size: 30px; line-height: 42px; } }

/* ---------- Clients / industries ---------- */
.rb-industry { text-align: center; align-items: center; }
.rb-industry .rb-card-icon { margin-left: auto; margin-right: auto; border-radius: 50%; }
.rb-model-card .rb-model-best { margin-top: 20px; padding-top: 20px; border-top: 1px dashed #E4E1EC; font-family: "Poppins-Regular"; color: var(--rb-dark); font-size: 15px; line-height: 26px; }
.rb-model-card .rb-model-best strong { font-family: "Poppins-Medium"; font-weight: 500; color: var(--rb-primary); display: block; }
.rb-model-card.featured { background-color: var(--rb-primary); }
.rb-model-card.featured h3, .rb-model-card.featured p, .rb-model-card.featured .rb-model-best, .rb-model-card.featured .rb-model-best strong { color: #ffffff; }
.rb-model-card.featured .rb-line { background-color: #ffffff; }
.rb-model-card.featured .rb-card-icon { background-color: rgba(255, 255, 255, 0.15); color: #ffffff; }
.rb-model-card .rb-badge { position: absolute; top: 20px; right: 20px; background-color: var(--rb-peach); color: var(--rb-dark); font-family: "Poppins-Medium"; font-size: 12px; padding: 4px 10px; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Testimonials ---------- */
.rb-quote-card .rb-quote-icon { font-size: 40px; color: var(--rb-peach); margin-bottom: 20px; }
.rb-quote-card blockquote { font-family: "Poppins-Regular"; color: var(--rb-dark); font-size: 17px; line-height: 32px; margin: 0 0 24px 0; }
.rb-quote-card .rb-quote-by { margin-top: auto; display: flex; align-items: center; }
.rb-quote-card .rb-quote-by .initials { width: 52px; height: 52px; border-radius: 50%; background-color: var(--rb-primary); color: #ffffff; display: flex; align-items: center; justify-content: center; font-family: "Poppins-SemiBold"; margin-right: 14px; }
.rb-quote-card .rb-quote-by h4 { font-size: 17px; color: var(--rb-dark); }
.rb-quote-card .rb-quote-by p { font-size: 14px; }
.rb-stars { color: #F6AD55; margin-bottom: 16px; letter-spacing: 2px; }

/* ---------- Legal / long-form content ---------- */
.rb-prose-wrap { display: flex; gap: 48px; align-items: flex-start; }
.rb-toc { flex: 0 0 280px; position: sticky; top: 24px; background-color: #ffffff; box-shadow: var(--rb-shadow); padding: 28px; }
.rb-toc h4 { color: var(--rb-dark); margin-bottom: 16px; }
.rb-toc a { font-family: "Poppins-Regular"; color: var(--rb-muted); font-size: 14px; line-height: 22px; padding: 6px 0; transition: 0.2s linear; }
.rb-toc a:hover { color: var(--rb-primary); padding-left: 4px; }
.rb-prose { flex: 1; min-width: 0; }
.rb-prose .rb-updated { display: inline-block; background-color: var(--rb-tag); color: var(--rb-muted); font-family: "Poppins-Regular"; font-size: 14px; padding: 6px 14px; margin-bottom: 24px; }
.rb-prose h2 { font-size: 26px; line-height: 38px; color: var(--rb-dark); margin: 40px 0 14px 0; scroll-margin-top: 24px; text-transform: none; }
.rb-prose h2:first-of-type { margin-top: 0; }
.rb-prose h3 { font-size: 19px; line-height: 30px; color: var(--rb-dark); margin: 24px 0 10px 0; text-transform: none; }
.rb-prose p, .rb-prose li { font-family: "Poppins-Regular"; color: var(--rb-muted); line-height: 30px; }
.rb-prose p { margin-bottom: 14px; }
.rb-prose ul { margin: 0 0 16px 0; }
.rb-prose ul li { position: relative; padding-left: 24px; margin-bottom: 8px; list-style: none; }
.rb-prose ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; background-color: var(--rb-primary); }
.rb-prose a { display: inline; color: var(--rb-primary); }
.rb-prose strong { font-family: "Poppins-Medium"; font-weight: 500; color: var(--rb-dark); }
.rb-prose .rb-callout { background-color: var(--rb-tag); border-left: 4px solid var(--rb-primary); padding: 20px 24px; margin: 24px 0; }
.rb-prose .rb-callout p:last-child { margin-bottom: 0; }
@media (max-width: 991px) {
  .rb-prose-wrap { flex-direction: column; }
  .rb-toc { position: static; flex: none; width: 100%; }
}

/* ---------- 404 ---------- */
.rb-404 { text-align: center; padding: 16px 0 32px 0; }
.rb-404 .big { font-family: "Poppins-SemiBold"; font-size: 180px; line-height: 180px; color: var(--rb-primary); position: relative; display: inline-block; }
.rb-404 .big span { color: var(--rb-peach); }
.rb-404 h2 { color: var(--rb-dark); margin: 16px 0 12px 0; }
.rb-404 p { font-family: "Poppins-Regular"; color: var(--rb-muted); font-size: 18px; line-height: 30px; max-width: 560px; margin: 0 auto; }
.rb-404 .rb-actions { justify-content: center; }
.rb-404 .rb-quick-links { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.rb-404 .rb-quick-links a { padding: 10px 18px; background-color: var(--rb-tag); color: var(--rb-dark); font-family: "Poppins-Regular"; transition: 0.2s linear; }
.rb-404 .rb-quick-links a:hover { background-color: var(--rb-primary); color: #ffffff; }
@media (max-width: 575px) { .rb-404 .big { font-size: 110px; line-height: 120px; } }

/* ---------- Service detail: sticky side panel ---------- */
.rb-side-panel { position: sticky; top: 24px; }
.rb-side-panel .rb-side-list { background-color: #ffffff; box-shadow: var(--rb-shadow); margin-bottom: 30px; }
.rb-side-panel .rb-side-list h4 { padding: 24px 28px 12px 28px; color: var(--rb-dark); }
.rb-side-panel .rb-side-list a { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; font-family: "Poppins-Medium"; color: var(--rb-muted); border-top: 1px solid #F1EFF6; transition: 0.2s linear; }
.rb-side-panel .rb-side-list a i { font-size: 13px; }
.rb-side-panel .rb-side-list a:hover, .rb-side-panel .rb-side-list a.active { background-color: var(--rb-primary); color: #ffffff; }
.rb-side-cta { background-color: var(--rb-dark); padding: 36px 28px; position: relative; overflow: hidden; }
.rb-side-cta h4 { color: #ffffff; font-size: 22px; line-height: 32px; margin-bottom: 10px; }
.rb-side-cta p { font-family: "Poppins-Regular"; color: rgba(255, 255, 255, 0.75); line-height: 26px; margin-bottom: 24px; }
.rb-side-cta .rb-side-phone { display: flex; align-items: center; color: #ffffff; font-family: "Poppins-Medium"; margin-top: 20px; }
.rb-side-cta .rb-side-phone i { width: 40px; height: 40px; border-radius: 50%; background-color: var(--rb-primary); display: flex; align-items: center; justify-content: center; margin-right: 12px; }
@media (max-width: 991px) { .rb-side-panel { position: static; margin-top: 64px; } }

.rb-service-hero-icon {
  width: 88px; height: 88px; display: flex; align-items: center; justify-content: center;
  background-color: var(--rb-primary); color: #ffffff; font-size: 40px; margin-bottom: 28px;
  box-shadow: var(--rb-shadow-hover);
}
.rb-lead { font-family: "Poppins-Medium"; color: var(--rb-dark); font-size: 22px; line-height: 36px; margin-bottom: 20px; }
.rb-subhead { color: var(--rb-dark); margin: 56px 0 24px 0; }
.rb-offer { display: flex; align-items: flex-start; background-color: #ffffff; box-shadow: var(--rb-shadow); padding: 28px; width: 100%; transition: 0.25s ease; }
.rb-offer:hover { transform: translateY(-4px); box-shadow: var(--rb-shadow-hover); }
.rb-offer .ic { flex-shrink: 0; width: 52px; height: 52px; margin-right: 18px; background-color: var(--rb-tag); color: var(--rb-primary); display: flex; align-items: center; justify-content: center; font-size: 22px; transition: 0.25s linear; }
.rb-offer:hover .ic { background-color: var(--rb-primary); color: #ffffff; }
.rb-offer h4 { color: var(--rb-dark); font-size: 18px; line-height: 28px; margin-bottom: 6px; }
.rb-offer p { font-family: "Poppins-Regular"; color: var(--rb-muted); line-height: 26px; font-size: 15px; }
.rb-mini-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rb-mini-steps .rb-mini-step { background-color: var(--rb-tag); padding: 24px 20px; position: relative; }
.rb-mini-steps .rb-mini-step .n { font-family: "Poppins-SemiBold"; font-size: 36px; line-height: 40px; color: var(--rb-primary); opacity: 0.25; }
.rb-mini-steps .rb-mini-step h4 { color: var(--rb-dark); font-size: 17px; margin: 8px 0 6px 0; }
.rb-mini-steps .rb-mini-step p { font-family: "Poppins-Regular"; color: var(--rb-muted); font-size: 14px; line-height: 22px; }
@media (max-width: 767px) { .rb-mini-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .rb-mini-steps { grid-template-columns: 1fr; } }

/* ---------- Get-started CTA band (reuses #started-home1) ---------- */
#started-home1 .overlay {
    background-image: url("../img/testimonials-background.png");
}
#started-home1 .overlay .container .wrapper .action { gap: 16px; flex-wrap: wrap; }
#started-home1 .overlay .container .wrapper .action .rb-btn-ghost {
  padding: 13px 24px; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.6);
  font-family: "Poppins-Regular"; font-weight: 500; text-transform: capitalize; transition: 0.2s linear;
}
#started-home1 .overlay .container .wrapper .action .rb-btn-ghost:hover { background-color: #ffffff; color: var(--rb-dark); }

/* ---------- Footer badges (MSME / Startup India) ---------- */
.rb-badges { display: flex; align-items: center; gap: 40px; padding: 16px 0 16px 125px; background-color: #ffffff; }
.rb-badges img { height: 100px; width: auto; }
.rb-badges a { display: inline-block; }
@media (max-width: 767px) { .rb-badges { justify-content: center; padding-left: 0; gap: 24px; } .rb-badges img { height: 72px; } }

.rb-inner #header .container .nav { padding-bottom: 40px; }
#footer .container .row .quick-links-outer .quick-links .links { align-items: flex-start; }
@media (max-width: 575px) { .page-banner .shape-ring { display: none; } }

/* ---------- coursematter product card (home, under menu) ---------- */
.rb-cm-strip { margin: -64px 0 56px 0; position: relative; z-index: 2; }
.rb-cm-card {
  display: flex; align-items: center; gap: 32px;
  background-color: #ffffff; box-shadow: var(--rb-shadow);
  border-left: 4px solid var(--rb-primary);
  padding: 20px 28px; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rb-cm-card:hover { transform: translateY(-3px); box-shadow: var(--rb-shadow-hover); }
.rb-cm-brand { display: flex; flex-direction: column; flex-shrink: 0; padding-right: 32px; border-right: 1px solid #E4E1EC; }
.rb-cm-label { font-family: "Poppins-Medium"; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rb-primary); margin-bottom: 4px; }
.rb-cm-brand img { height: 30px; width: auto; }
.rb-cm-text { flex: 1; font-family: "Poppins-Medium"; font-size: 17px; line-height: 28px; color: var(--rb-dark); margin: 0; }
.rb-cm-btn {
  flex-shrink: 0; padding: 12px 22px; border: 1px solid var(--rb-primary); color: var(--rb-primary);
  font-family: "Poppins-Regular"; font-weight: 500; text-transform: none; transition: 0.2s linear;
}
.rb-cm-btn i { margin-left: 8px; font-size: 14px; }
.rb-cm-card:hover .rb-cm-btn { background-color: var(--rb-primary); color: #ffffff; }
@media (max-width: 991px) {
  .rb-cm-strip { margin: -32px 0 48px 0; }
  .rb-cm-card { flex-wrap: wrap; gap: 16px 24px; }
  .rb-cm-text { flex-basis: calc(100% - 260px); }
  .rb-cm-btn { margin-left: auto; }
}
@media (max-width: 767px) {
  .rb-cm-card { flex-direction: column; align-items: flex-start; padding: 20px; }
  .rb-cm-brand { border-right: none; padding-right: 0; }
  .rb-cm-text { font-size: 15px; line-height: 24px; flex-basis: auto; }
  .rb-cm-btn { margin-left: 0; }
}

/* ---------- Email forms: honeypot, submit button, status message ---------- */
.rb-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
button.subscribe-btn { border: none; cursor: pointer; white-space: nowrap; }
button.subscribe-btn:focus { outline: 2px solid var(--rb-sky); outline-offset: 2px; }
.rb-gs-msg { margin-top: 14px; font-family: "Poppins-Regular"; font-size: 14px; line-height: 22px; }
.rb-gs-msg.ok { color: #9AE6B4; }
.rb-gs-msg.err { color: #FEB2B2; }
.rb-gs-msg i { margin-right: 6px; }
.rb-form .validation-summary-errors ul { margin: 0 0 20px 0; padding: 14px 18px; background: #FFF5F5; border-left: 4px solid #e53e3e; }
.rb-form .validation-summary-errors li { font-family: "Poppins-Regular"; color: #c53030; font-size: 14px; }

/* ---------- Inline email error (Get Started) ---------- */
.rb-field-error { display: none; margin-top: 10px; font-family: "Poppins-Regular"; font-size: 14px; line-height: 22px; color: #FEB2B2; }
.rb-field-error::before { content: "\f06a"; font-family: "Font Awesome 5 Pro"; font-weight: 900; margin-right: 6px; }
.get-latest .input .input-inner.input-validation-error { box-shadow: inset 0 0 0 2px #fc8181; }
button.subscribe-btn:disabled { opacity: 0.7; cursor: wait; }

/* ---------- "Your message is on the way" overlay ---------- */
html.rb-no-scroll { overflow: hidden; }
.rb-sending {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(23, 22, 26, 0.28);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.rb-sending.is-open { opacity: 1; visibility: visible; }
.rb-sending-card {
  width: 100%; max-width: 380px; text-align: center; padding: 44px 36px 36px 36px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 24px 60px rgba(3, 63, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border-radius: 20px;
  transform: translateY(12px) scale(0.97); transition: transform 0.35s cubic-bezier(.2,.9,.3,1.2);
}
.rb-sending.is-open .rb-sending-card { transform: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .rb-sending { background: rgba(23, 22, 26, 0.55); }
  .rb-sending-card { background: rgba(255, 255, 255, 0.96); }
}
.rb-sending-icon { width: 76px; height: 76px; margin: 0 auto 22px auto; position: relative; }
.rb-sending-icon svg { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.rb-sending-title { font-family: "Poppins-SemiBold"; font-size: 21px; line-height: 30px; color: var(--rb-dark); text-transform: none; margin: 0; }
.rb-sending-text { font-family: "Poppins-Regular"; font-size: 15px; line-height: 24px; color: #5b5a63; margin: 8px 0 0 0; }
.rb-sending-close {
  display: none; margin: 24px auto 0 auto; padding: 10px 26px; border: 1px solid var(--rb-primary);
  background: transparent; color: var(--rb-primary); font-family: "Poppins-Medium"; cursor: pointer; transition: 0.2s linear;
}
.rb-sending-close:hover { background: var(--rb-primary); color: #ffffff; }
.rb-sending.state-success .rb-sending-close, .rb-sending.state-error .rb-sending-close { display: inline-block; }

/* spinner */
.rb-sending.state-loading .rb-spinner { display: block; animation: rb-rotate 1.4s linear infinite; }
.rb-spinner circle { fill: none; stroke-width: 4.5; }
.rb-spinner .track { stroke: rgba(3, 63, 255, 0.12); }
.rb-spinner .arc { stroke: var(--rb-primary); stroke-linecap: round; stroke-dasharray: 90 150; stroke-dashoffset: 0; animation: rb-dash 1.4s ease-in-out infinite; }
@keyframes rb-rotate { to { transform: rotate(360deg); } }
@keyframes rb-dash {
  0% { stroke-dasharray: 1 150; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 90 150; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 90 150; stroke-dashoffset: -124; }
}

/* tick */
.rb-sending.state-success .rb-tick { display: block; }
.rb-tick circle { fill: var(--rb-primary); stroke: none; transform-origin: center; animation: rb-pop 0.45s cubic-bezier(.2,.9,.3,1.4) both; }
.rb-tick path { fill: none; stroke: #ffffff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: rb-draw 0.4s 0.3s ease-out forwards; }

/* cross */
.rb-sending.state-error .rb-cross { display: block; }
.rb-cross circle { fill: #e53e3e; transform-origin: center; animation: rb-pop 0.45s cubic-bezier(.2,.9,.3,1.4) both; }
.rb-cross path { fill: none; stroke: #ffffff; stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 25; stroke-dashoffset: 25; animation: rb-draw 0.35s 0.3s ease-out forwards; }

@keyframes rb-pop { 0% { transform: scale(0.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes rb-draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .rb-sending, .rb-sending-card { transition: none; }
  .rb-tick circle, .rb-cross circle { animation: none; }
  .rb-tick path, .rb-cross path { animation: none; stroke-dashoffset: 0; }
}
/* emails should be shown exactly as typed (the theme capitalises inputs) */
.get-latest .input .input-inner[type="email"], .rb-form .rb-input[type="email"] { text-transform: none; }
