/* VMR — Services, About & Contact pages (theme blue #007bff) */
:root {
  --vmr-primary: #007bff;
  --vmr-primary-dark: #0056b3;
  --vmr-primary-darker: #004494;
  --vmr-accent: #ea920c;
  --vmr-text: #2d3748;
  --vmr-muted: #64748b;
  --vmr-light: #e7f1ff;
  --vmr-border: #e2e8f0;
  --vmr-shadow: 0 12px 40px rgba(0, 123, 255, 0.12);
  --vmr-shadow-hover: 0 20px 50px rgba(0, 123, 255, 0.18);
}

.vmr-page-hero {
  background: linear-gradient(125deg, var(--vmr-primary) 0%, var(--vmr-primary-dark) 55%, var(--vmr-primary-darker) 100%);
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}

.vmr-page-hero::before,
.vmr-page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.vmr-page-hero::before {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -80px;
}

.vmr-page-hero::after {
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: -40px;
}

.vmr-page-hero .container {
  position: relative;
  z-index: 2;
}

.vmr-page-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.vmr-page-hero h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}

.vmr-page-hero .vmr-hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.vmr-page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
  justify-content: center;
}

.vmr-page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
}

.vmr-page-hero .breadcrumb-item.active,
.vmr-page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.65);
}

/* Same grey background as blogs / reports listing */
.bgGrey {
  background-color: #f8f8f8;
}

.vmr-page-body {
  background: #f8f8f8;
  padding: 48px 0 64px;
}

.vmr-page-body.web-resolution.bgGrey {
  background-color: #f8f8f8 !important;
}

.vmr-section-head {
  text-align: center;
  margin-bottom: 36px;
}

.vmr-section-head h2 {
  color: var(--vmr-primary);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.vmr-section-head p {
  color: var(--vmr-muted);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.vmr-card {
  background: #fff;
  border: 1px solid var(--vmr-border);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  box-shadow: var(--vmr-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vmr-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--vmr-shadow-hover);
}

.vmr-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--vmr-primary), var(--vmr-primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 18px;
}

.vmr-card-icon.vmr-card-icon-left {
  margin: 0 0 16px;
}

.vmr-card h3,
.vmr-card h4 {
  color: var(--vmr-text);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.vmr-card h3.text-center,
.vmr-card h4.text-center {
  text-align: center;
}

.vmr-card p {
  color: var(--vmr-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}

.vmr-intro-panel {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border-left: 4px solid var(--vmr-primary);
  box-shadow: var(--vmr-shadow);
  margin-bottom: 40px;
}

.vmr-intro-panel p {
  color: var(--vmr-text);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.vmr-intro-panel p:last-child {
  margin-bottom: 0;
}

.vmr-highlight-pill {
  display: inline-block;
  background: linear-gradient(135deg, var(--vmr-primary), var(--vmr-primary-dark));
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 16px;
}

.vmr-feature-grid .col-md-4,
.vmr-feature-grid .col-md-6,
.vmr-feature-grid .col-lg-3,
.vmr-feature-grid .col-lg-4,
.vmr-feature-grid .col-lg-6 {
  margin-bottom: 24px;
}

.vmr-feature-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.vmr-feature-row i {
  color: var(--vmr-primary);
  margin-right: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}

.vmr-feature-row span {
  font-size: 14px;
  color: var(--vmr-text);
  line-height: 1.5;
}

.vmr-soft-tile {
  background: var(--vmr-light);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(0, 123, 255, 0.12);
  transition: background 0.25s ease;
}

.vmr-soft-tile:hover {
  background: #dbeafe;
}

.vmr-soft-tile i {
  color: var(--vmr-primary);
  font-size: 22px;
  margin-bottom: 8px;
  display: block;
}

.vmr-soft-tile p {
  font-size: 13px;
  font-weight: 600;
  color: var(--vmr-text);
  margin: 0;
}

.vmr-split-media img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  min-height: 280px;
  box-shadow: var(--vmr-shadow);
}

.vmr-cta-band {
  background: linear-gradient(135deg, var(--vmr-primary), var(--vmr-primary-dark));
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  color: #fff;
  margin-top: 16px;
  box-shadow: var(--vmr-shadow);
}

.vmr-cta-band h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.vmr-cta-band p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto 22px;
}

.vmr-cta-band .btn-light {
  color: var(--vmr-primary-dark);
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 28px;
  margin: 4px 8px;
}

.vmr-cta-band .btn-outline-light {
  border-radius: 30px;
  padding: 10px 28px;
  font-weight: 600;
  margin: 4px 8px;
}

.vmr-cta-band .btn-outline-light:hover {
  background: #fff;
  color: var(--vmr-primary-dark);
}

/* About page stats */
.vmr-stats-row {
  margin-bottom: 40px;
}

.vmr-stat-box {
  background: #fff;
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--vmr-shadow);
  border: 1px solid var(--vmr-border);
  height: 100%;
}

.vmr-stat-box strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--vmr-primary);
  line-height: 1.2;
}

.vmr-stat-box span {
  font-size: 13px;
  color: var(--vmr-muted);
  font-weight: 500;
}

/* Contact page */
.vmr-contact-cards .col-md-4 {
  margin-bottom: 24px;
}

.vmr-contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  height: 100%;
  border: 1px solid var(--vmr-border);
  box-shadow: var(--vmr-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vmr-contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--vmr-shadow-hover);
}

.vmr-contact-card .vmr-card-icon {
  margin-bottom: 16px;
}

.vmr-contact-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--vmr-primary);
  margin-bottom: 12px;
}

.vmr-contact-card p {
  font-size: 14px;
  color: var(--vmr-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.vmr-contact-card .btn-vmr-outline {
  background: transparent;
  border: 2px solid var(--vmr-primary);
  color: var(--vmr-primary);
  border-radius: 30px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.vmr-contact-card .btn-vmr-outline:hover {
  background: var(--vmr-primary);
  color: #fff;
}

.vmr-form-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--vmr-shadow);
  border: 1px solid var(--vmr-border);
}

.vmr-form-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--vmr-text);
  margin-bottom: 6px;
}

.vmr-form-wrap .form-sub {
  color: var(--vmr-muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.vmr-form-wrap .form-control {
  border-radius: 10px;
  border: 1px solid var(--vmr-border);
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.5;
  /* BS4 fixes input/select height via calc() using default padding; larger padding clips text otherwise */
  height: auto;
  min-height: calc(1.5em + 22px + 2px);
}

.vmr-form-wrap .form-control:focus {
  border-color: var(--vmr-primary);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.vmr-address-panel {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--vmr-shadow);
  border: 1px solid var(--vmr-border);
  height: 100%;
}

.vmr-address-block {
  margin-bottom: 22px;
}

.vmr-address-block strong {
  display: block;
  font-size: 15px;
  color: var(--vmr-primary);
  margin-bottom: 8px;
}

.vmr-address-block p {
  font-size: 14px;
  color: var(--vmr-muted);
  line-height: 1.65;
  margin: 0;
}

.vmr-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.vmr-sibling-nav {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--vmr-border);
}

.vmr-sibling-nav h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--vmr-text);
  margin-bottom: 16px;
  text-align: center;
}

.vmr-sibling-link {
  display: block;
  background: #fff;
  border: 1px solid var(--vmr-border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--vmr-text);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  text-align: center;
}

.vmr-sibling-link:hover {
  background: var(--vmr-primary);
  color: #fff;
  border-color: var(--vmr-primary);
  text-decoration: none;
}

.vmr-sibling-link.active {
  background: var(--vmr-light);
  border-color: var(--vmr-primary);
  color: var(--vmr-primary);
}

/* Contact: nested bootstrap card override */
.vmr-contact-cards .card.vmr-contact-card {
  border: none;
  background: transparent;
  box-shadow: none;
}
.vmr-contact-cards .card.vmr-contact-card .card-body {
  padding: 0;
}

/* Services pages — polish existing blocks */
.vmr-page-body.static-sec {
  background: #f8f8f8;
  padding: 48px 0 64px;
}
.vmr-page-body.static-sec .container-fluid {
  padding: 0;
}
.vmr-page-body .intro-card,
.vmr-page-body .expertise-card,
.vmr-page-body .methodology-card,
.vmr-page-body .insights-card,
.vmr-page-body .approach-card,
.vmr-page-body .solution-card,
.vmr-page-body .services-list-card,
.vmr-page-body .feature-card,
.vmr-page-body .content-card,
.vmr-page-body .challenge-card {
  border-radius: 16px !important;
  border: 1px solid var(--vmr-border) !important;
  box-shadow: var(--vmr-shadow) !important;
}
.vmr-page-body .text-primary {
  color: var(--vmr-primary) !important;
}
.vmr-page-body .expertise-item,
.vmr-page-body .special-item,
.vmr-page-body .insight-item {
  background: var(--vmr-light) !important;
  border: 1px solid rgba(0, 123, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 12px;
}
.vmr-page-body .bg-primary.bg-opacity-10 {
  background: var(--vmr-light) !important;
}
.vmr-page-body .border-primary,
.vmr-page-body .expertise-card.border-primary {
  border-color: var(--vmr-primary) !important;
}
.vmr-page-body .cta-card {
  background: linear-gradient(135deg, var(--vmr-primary), var(--vmr-primary-dark)) !important;
  border: none !important;
}

.vmr-page-body .cta-card h3,
.vmr-page-body .cta-card h4,
.vmr-page-body .cta-card p,
.vmr-page-body .cta-card .h4 {
  color: #ffffff !important;
}

.vmr-page-body .cta-card .btn-outline-light {
  color: #ffffff !important;
  border-color: #ffffff !important;
}

.vmr-page-body .cta-card .btn-outline-light:hover {
  background-color: #ffffff !important;
  color: var(--vmr-primary-dark) !important;
}
/* Buttons — match header theme blue */
.vmr-page-body .theme-btn,
.vmr-form-wrap .theme-btn,
.vmr-page-body .btn.theme-btn {
  background-color: var(--vmr-primary) !important;
  border-color: var(--vmr-primary) !important;
  color: #fff !important;
}
.vmr-page-body .theme-btn:hover,
.vmr-form-wrap .theme-btn:hover,
.vmr-page-body .btn.theme-btn:hover {
  background-color: var(--vmr-primary-dark) !important;
  border-color: var(--vmr-primary-dark) !important;
  color: #fff !important;
}
.vmr-page-body .btn-primary {
  background-color: var(--vmr-primary) !important;
  border-color: var(--vmr-primary) !important;
}
.vmr-page-body .text-success {
  color: #28a745 !important;
}
.vmr-page-body .row > [class*="col-"] {
  margin-bottom: 24px;
}
.vmr-page-body .rounded-3 {
  border-radius: 16px !important;
}
.vmr-page-body .me-2 {
  margin-right: 0.5rem !important;
}
.vmr-page-body .me-3 {
  margin-right: 1rem !important;
}
.vmr-page-body h3.h4,
.vmr-page-body h4.h6 {
  font-weight: 700;
}

/* Override legacy teal from app.css on these pages */
.vmr-page-body .contact-section-title,
.vmr-page-body .contact-service-title,
.vmr-page-body .about-title,
.vmr-page-body .key-factor-title,
.vmr-page-hero + .vmr-page-body h2,
.vmr-page-hero + .vmr-page-body h3 {
  color: var(--vmr-primary);
}
.vmr-page-body .contact-service-icon,
.vmr-page-body .about-icon,
.vmr-page-body .key-factor-icon,
.vmr-page-body .contact-service-btn {
  background: linear-gradient(135deg, var(--vmr-primary), var(--vmr-primary-dark)) !important;
}

@media (max-width: 767px) {
  .vmr-page-hero {
    padding: 36px 0 44px;
  }

  .vmr-page-hero h1 {
    font-size: 26px;
  }

  .vmr-page-body {
    padding: 32px 0 48px;
  }

  .vmr-form-wrap,
  .vmr-intro-panel {
    padding: 22px 18px;
  }
}

/* Google reCAPTCHA v2 checkbox */
.vmr-recaptcha-box {
  border-color: #c4cdd5 !important;
  min-height: 78px;
}

.vmr-recaptcha-block--styled .vmr-recaptcha-slot,
.vmr-recaptcha-block--checkout .vmr-recaptcha-slot,
.vmr-recaptcha-block--compact .vmr-recaptcha-slot {
  display: inline-block;
  min-height: 78px;
}

@media (max-width: 575.98px) {
  .vmr-recaptcha-block--styled .vmr-recaptcha-slot,
  .vmr-recaptcha-block--checkout .vmr-recaptcha-slot {
    transform: scale(0.92);
    transform-origin: left top;
  }
}

.vmr-recaptcha-v3 .vmr-recaptcha-v3-label {
  color: #6c757d;
  font-size: 0.875rem;
}
