/* =============================================================
   odoo-services.css — Odoo Services listing page styles
   All rem values based on global.css base (19px)
   Reuses (from services.css / global.css, loaded alongside this file):
     .container, .btn, .btn-primary, .btn-secondary,
     .sv-hero (+ children), .sv-section-title,
     .sv-services-section, .sv-services-grid,
     .sv-service-thumb, .sv-service-title, .sv-service-desc, .sv-service-link,
     .sv-expertise-section (+ children incl. sv-stat-card / sv-stat-icon /
       sv-stat-number / sv-stat-label / sv-stat-underline),
     .sv-process-section (+ children),
     .cta-section / .cta-inner / .cta-content / .cta-heading / .cta-btn
   This file only holds what's unique to this page: the purple hero
   CTA, the service-card accent (blue, same treatment as the
   Products page's .pr-product-card), and the two Expertise-section
   additions the other pages don't have — a purple stat number and
   a description line under each stat's label.
   ============================================================= */

/* ---------------------------------------------------------------
   1. HERO — purple CTA button (page brand color, #68346d)
--------------------------------------------------------------- */
.od-hero-btn {
  background-color: #68346d;
  color: #fff;
}

.od-hero-btn:hover {
  box-shadow: 0 8px 24px rgba(104, 52, 109, 0.35);
}

/* ---------------------------------------------------------------
   2. SERVICE CARDS
   Reuses .sv-service-thumb/.sv-service-title/.sv-service-desc/
   .sv-service-link (services.css) exactly. Only the card shell +
   accent bar are page-specific — same blue (#1447e6) treatment as
   the Products page's .pr-product-card.
--------------------------------------------------------------- */
.od-service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background-color: var(--bg-white);
  border: 1px solid #f3f4f6;
  border-radius: 0.842rem; /* 16px */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  padding: 1.789rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-theme .od-service-card{
  border-color: var(--border-gray);
}

.od-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 71, 230, 0.15);
}

.od-service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0.311rem; /* 4px */
  height: 100%;
  background-color: #68346d;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.od-service-card:hover::before {
  transform: scaleY(1);
}

.od-service-card:hover .sv-service-link svg {
  transform: translate(3px, -3px);
}

/* ---------------------------------------------------------------
   3. EXPERTISE STAT CARDS — purple number + description line
   (services.css's .sv-stat-number is blue; this page's is purple,
   and adds a description paragraph the other pages don't have)
--------------------------------------------------------------- */
.od-stat-number {
  color: #68346d;
}

.od-stat-desc {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.789rem; /* 15px */
  line-height: 1.284rem;
  color: var(--text-sub);
  max-width: 14rem;
  text-align: center;
}

/* ---------------------------------------------------------------
   4. OUR CERTIFIED CONSULTANTS (Figma 6180:16373 / 6180:16381)
   Auto-scrolling card slider. Cards bleed off the right edge of
   the screen, so the slider stays inside .container but is not
   clipped; the section itself clips the overflow.
--------------------------------------------------------------- */
.od-consultants-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  overflow: hidden;
}

.od-consultants-header {
  max-width: 37.895rem; /* 720px */
  margin-bottom: 2.579rem; /* 49px */
}

[dir="rtl"] .od-consultants-header {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
}

.od-consultants-title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 2.421rem; /* 46px */
  line-height: 3.579rem; /* 68px */
  color: var(--base-dark);
}

.od-consultants-title span {
  color: #643373;
}

.od-consultants-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px */
  line-height: 1.632rem; /* 31px */
  color: var(--text-sub);
}

.od-consultants-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 0.5rem;
  margin-top: -0.5rem;
  padding-bottom: 1rem;
  margin-bottom: -1rem;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  direction: ltr !important; /* slide math is LTR; card text is restored below for RTL */
}

.od-consultants-track {
  display: flex;
  gap: 1.681rem; /* 31.94px */
  width: max-content;
  direction: ltr !important;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.od-consultants-track.no-transition {
  transition: none !important;
}

.od-consultant-card {
  flex: 0 0 16.811rem; /* 319.4px */
  width: 16.811rem;
  display: flex;
  flex-direction: column;
  gap: 0.684rem; /* 13px */
}

[dir="rtl"] .od-consultant-card {
  direction: rtl;
}

.od-consultant-photo {
  width: 100%;
  height: 19.053rem; /* 362px */
  overflow: hidden;
  background-color: #d9d9d9;
}

.od-consultant-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  pointer-events: none;
}

.od-consultant-info {
  text-align: center;
}

.od-consultant-name,
.od-consultant-designation {
  font-family: var(--font-primary);
  font-size: 1rem; /* 19px */
  line-height: 1.632rem; /* 31px */
  color: var(--base-dark);
}

.od-consultant-name {
  font-weight: 500;
}

.od-consultant-designation {
  font-weight: 300;
}