/* ===================================================================
   SERVICE COMMON STYLES
   Shared CSS for all service pages. Uses multi-selectors so no
   HTML class changes are needed. Each page keeps its own prefix.
   =================================================================== */

/* ===== Hero Section ===== */

.cs-hero-section,
.ma-hero-section,
.wa-hero-section,
.ai-hero-section,
.erp-hero-section,
.ux-hero-section,
.mvp-hero-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 0;
}

.cs-hero-top,
.ma-hero-top,
.wa-hero-top,
.ai-hero-top,
.erp-hero-top,
.ux-hero-top,
.mvp-hero-top {
  margin-bottom: 40px;
  text-align: center;
}

.cs-hero-title,
.ma-hero-title,
.wa-hero-title,
.ai-hero-title,
.erp-hero-title,
.ux-hero-title,
.mvp-hero-title {
  font-size: 50px;
  line-height: normal;
  font-weight: 500;
  margin-bottom: 20px;
  font-family: var(--tp-ff-platform);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  background-image: linear-gradient(90deg,
      #ce403d 0%,
      #ce403d 40%,
      #2a2f36 50%,
      #ce403d 60%,
      #ce403d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cs-hero-subtitle,
.ma-hero-subtitle,
.wa-hero-subtitle,
.ai-hero-subtitle,
.erp-hero-subtitle,
.ux-hero-subtitle,
.mvp-hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #636368;
  max-width: 600px;
  font-family: p_r;
  text-align: center;
  margin: 0 auto;
}

.cs-hero-bottom,
.ma-hero-bottom,
.wa-hero-bottom,
.ai-hero-bottom,
.erp-hero-bottom,
.ux-hero-bottom,
.mvp-hero-bottom {
  display: flex;
  align-items: stretch;
  gap: 60px;
}

.cs-hero-image-col,
.ma-hero-image-col,
.wa-hero-image-col,
.ai-hero-image-col,
.erp-hero-image-col,
.ux-hero-image-col,
.mvp-hero-image-col {
  flex: 0 0 50%;
  position: relative;
}

.cs-hero-svg-container,
.ma-hero-svg-container,
.wa-hero-svg-container,
.ai-hero-svg-container,
.erp-hero-svg-container,
.ux-hero-svg-container,
.mvp-hero-svg-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-hero-svg-illustration,
.ma-hero-svg-illustration,
.wa-hero-svg-illustration,
.ai-hero-svg-illustration,
.erp-hero-svg-illustration,
.ux-hero-svg-illustration,
.mvp-hero-svg-illustration {
  width: 100%;
  max-width: 550px;
  height: auto;
}

.cs-hero-content-col,
.ma-hero-content-col,
.wa-hero-content-col,
.ai-hero-content-col,
.erp-hero-content-col,
.ux-hero-content-col,
.mvp-hero-content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cs-hero-content,
.ma-hero-content,
.wa-hero-content,
.ai-hero-content,
.erp-hero-content,
.ux-hero-content,
.mvp-hero-content {
  position: relative;
  z-index: 2;
}

.cs-hero-content-title,
.ma-hero-content-title,
.wa-hero-content-title,
.ai-hero-content-title,
.erp-hero-content-title,
.ux-hero-content-title,
.mvp-hero-content-title {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 20px;
  color: #141414;
  font-family: var(--tp-ff-platform);
}

.cs-hero-description,
.ma-hero-description,
.wa-hero-description,
.ai-hero-description,
.erp-hero-description,
.ux-hero-description,
.mvp-hero-description {
  font-size: 16px;
  line-height: 1.8;
  color: #636368;
  font-family: p_r;
  margin-bottom: 20px;
}

.cs-hero-features,
.ma-hero-features,
.wa-hero-features,
.ai-hero-features,
.erp-hero-features,
.ux-hero-features,
.mvp-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  margin-top: 25px;
}

.cs-hero-feature,
.ma-hero-feature,
.wa-hero-feature,
.ai-hero-feature,
.erp-hero-feature,
.ux-hero-feature,
.mvp-hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-hero-feature-icon,
.ma-hero-feature-icon,
.wa-hero-feature-icon,
.ai-hero-feature-icon,
.erp-hero-feature-icon,
.ux-hero-feature-icon,
.mvp-hero-feature-icon {
  width: 24px;
  height: 24px;
  background: rgba(206, 64, 61, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-hero-feature-icon svg,
.ma-hero-feature-icon svg,
.wa-hero-feature-icon svg,
.ai-hero-feature-icon svg,
.erp-hero-feature-icon svg,
.ux-hero-feature-icon svg,
.mvp-hero-feature-icon svg {
  width: 12px;
  height: 12px;
  stroke: #ce403d;
}

.cs-hero-feature-text,
.ma-hero-feature-text,
.wa-hero-feature-text,
.ai-hero-feature-text,
.erp-hero-feature-text,
.ux-hero-feature-text,
.mvp-hero-feature-text {
  font-size: 15px;
  color: #444;
  font-family: p_r;
}


/* ===== Service/Challenge Card ===== */

.cs-challenge-card,
.ma-service-card,
.wa-service-card,
.erp-module-card,
.ux-service-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  border: 1px solid #eef0f4;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.cs-challenge-card:hover,
.ma-service-card:hover,
.wa-service-card:hover,
.erp-module-card:hover,
.ux-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(206, 64, 61, 0.1);
  border-color: rgba(206, 64, 61, 0.2);
}

.cs-challenge-icon,
.ma-service-icon,
.wa-service-icon,
.erp-module-icon,
.ux-service-icon {
  width: 48px;
  height: 48px;
  background: rgba(206, 64, 61, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.cs-challenge-card:hover .cs-challenge-icon,
.ma-service-card:hover .ma-service-icon,
.wa-service-card:hover .wa-service-icon,
.erp-module-card:hover .erp-module-icon,
.ux-service-card:hover .ux-service-icon {
  background: #ce403d;
}

.cs-challenge-icon svg,
.ma-service-icon svg,
.wa-service-icon svg,
.erp-module-icon svg,
.ux-service-icon svg {
  width: 24px;
  height: 24px;
  stroke: #ce403d;
  transition: stroke 0.3s ease;
}

.cs-challenge-card:hover .cs-challenge-icon svg,
.ma-service-card:hover .ma-service-icon svg,
.wa-service-card:hover .wa-service-icon svg,
.erp-module-card:hover .erp-module-icon svg,
.ux-service-card:hover .ux-service-icon svg {
  stroke: #fff;
}

.cs-challenge-title,
.ma-service-title,
.wa-service-title,
.erp-module-title,
.ux-service-title {
  font-size: 18px;
  font-weight: 600;
  color: #141414;
  margin-bottom: 16px;
  font-family: p_m;
}

.cs-challenge-list,
.erp-module-list,
.ux-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-challenge-list li,
.erp-module-list li,
.ux-service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #555;
  font-family: p_r;
  line-height: 1.5;
}

.cs-challenge-list li:last-child,
.erp-module-list li:last-child,
.ux-service-list li:last-child {
  margin-bottom: 0;
}

.cs-challenge-list li svg,
.erp-module-list li svg,
.ux-service-list li svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  stroke: #ce403d;
  margin-top: 2px;
}


/* ===== Process Steps ===== */

.ma-process-list,
.wa-process-list,
.erp-process-list,
.ux-process-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ma-process-item,
.wa-process-item,
.erp-process-item,
.ux-process-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
}

.ma-process-item:last-child,
.wa-process-item:last-child,
.erp-process-item:last-child,
.ux-process-item:last-child {
  margin-bottom: 0;
}

.ma-process-item::before,
.wa-process-item::before,
.erp-process-item::before,
.ux-process-item::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 45px;
  width: 2px;
  height: calc(100% + 10px);
  background: linear-gradient(180deg, #ce403d 0%, rgba(206, 64, 61, 0.2) 100%);
}

.ma-process-item:last-child::before,
.wa-process-item:last-child::before,
.erp-process-item:last-child::before,
.ux-process-item:last-child::before {
  display: none;
}

.ma-process-number,
.wa-process-number,
.erp-process-number,
.ux-process-number {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, #ce403d 0%, #a03330 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: p_m;
  position: relative;
  z-index: 2;
}

.ma-process-info,
.wa-process-info,
.erp-process-info,
.ux-process-info {
  flex: 1;
  padding-top: 5px;
}

.ma-process-title,
.wa-process-title,
.erp-process-title,
.ux-process-title {
  font-size: 18px;
  font-weight: 600;
  color: #141414 !important;
  font-family: p_m;
  margin-bottom: 8px;
  opacity: 1 !important;
  visibility: visible !important;
}

.ma-process-desc,
.wa-process-desc,
.erp-process-desc,
.ux-process-desc {
  font-size: 14px;
  color: #636368 !important;
  line-height: 1.6;
  font-family: p_r;
  margin: 0;
  opacity: 1 !important;
  visibility: visible !important;
}


/* ===== CTA Section ===== */

.cs-cta-section,
.ma-cta-section,
.wa-cta-section,
.erp-cta-section,
.ux-cta-section {
  background: linear-gradient(135deg, #ce403d 0%, #b33835 50%, #a03330 100%);
  position: relative;
  overflow: hidden;
}

.cs-cta-section::before,
.ma-cta-section::before,
.wa-cta-section::before,
.erp-cta-section::before,
.ux-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cs-cta-content,
.ma-cta-content,
.wa-cta-content,
.erp-cta-content,
.ux-cta-content {
  position: relative;
  z-index: 2;
}

.cs-cta-title,
.ma-cta-title,
.wa-cta-title,
.erp-cta-title,
.ux-cta-title {
  font-size: 42px;
  color: #fff !important;
  font-family: var(--tp-ff-platform);
  margin-bottom: 20px;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #fff !important;
  background-clip: unset !important;
}

.cs-cta-text,
.ma-cta-text,
.wa-cta-text,
.erp-cta-text,
.ux-cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: p_r;
  max-width: 600px;
  margin: 0 auto 35px;
  line-height: 1.7;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.cs-cta-btn,
.ma-cta-btn,
.wa-cta-btn,
.erp-cta-btn,
.ux-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #ce403d;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  font-family: p_m;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.cs-cta-btn:hover,
.ma-cta-btn:hover,
.wa-cta-btn:hover,
.erp-cta-btn:hover,
.ux-cta-btn:hover {
  background: #141414;
  color: #fff;
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cs-cta-btn svg,
.ma-cta-btn svg,
.wa-cta-btn svg,
.erp-cta-btn svg,
.ux-cta-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.cs-cta-btn:hover svg,
.ma-cta-btn:hover svg,
.wa-cta-btn:hover svg,
.erp-cta-btn:hover svg,
.ux-cta-btn:hover svg {
  transform: translateX(5px);
}


/* ===== Responsive - Hero ===== */

@media (max-width: 991px) {

  .cs-hero-title,
  .ma-hero-title,
  .wa-hero-title,
  .ai-hero-title,
  .erp-hero-title,
  .ux-hero-title,
  .mvp-hero-title {
    font-size: 42px;
  }

  .cs-hero-bottom,
  .ma-hero-bottom,
  .wa-hero-bottom,
  .ai-hero-bottom,
  .erp-hero-bottom,
  .ux-hero-bottom,
  .mvp-hero-bottom {
    flex-direction: column;
    gap: 40px;
  }

  .cs-hero-image-col,
  .ma-hero-image-col,
  .wa-hero-image-col,
  .ai-hero-image-col,
  .erp-hero-image-col,
  .ux-hero-image-col,
  .mvp-hero-image-col {
    flex: none;
    width: 100%;
    order: -1;
  }

  .cs-hero-svg-illustration,
  .ma-hero-svg-illustration,
  .wa-hero-svg-illustration,
  .ai-hero-svg-illustration,
  .erp-hero-svg-illustration,
  .ux-hero-svg-illustration,
  .mvp-hero-svg-illustration {
    max-width: 450px;
  }

  .cs-hero-content-col,
  .ma-hero-content-col,
  .wa-hero-content-col,
  .ai-hero-content-col,
  .erp-hero-content-col,
  .ux-hero-content-col,
  .mvp-hero-content-col {
    width: 100%;
    text-align: center;
  }

  .cs-hero-features,
  .ma-hero-features,
  .wa-hero-features,
  .ai-hero-features,
  .erp-hero-features,
  .ux-hero-features,
  .mvp-hero-features {
    justify-content: center;
  }

  .cs-cta-title,
  .ma-cta-title,
  .wa-cta-title,
  .erp-cta-title,
  .ux-cta-title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {

  .cs-hero-section,
  .ma-hero-section,
  .wa-hero-section,
  .ai-hero-section,
  .erp-hero-section,
  .ux-hero-section,
  .mvp-hero-section {
    padding-top: 50px;
    padding-bottom: 40px;
  }

  .cs-hero-title,
  .ma-hero-title,
  .wa-hero-title,
  .ai-hero-title,
  .erp-hero-title,
  .ux-hero-title,
  .mvp-hero-title {
    font-size: 32px;
  }

  .cs-hero-subtitle,
  .ma-hero-subtitle,
  .wa-hero-subtitle,
  .ai-hero-subtitle,
  .erp-hero-subtitle,
  .ux-hero-subtitle,
  .mvp-hero-subtitle {
    font-size: 16px;
  }

  .cs-hero-top,
  .ma-hero-top,
  .wa-hero-top,
  .ai-hero-top,
  .erp-hero-top,
  .ux-hero-top,
  .mvp-hero-top {
    margin-bottom: 30px;
  }

  .cs-hero-content-title,
  .ma-hero-content-title,
  .wa-hero-content-title,
  .ai-hero-content-title,
  .erp-hero-content-title,
  .ux-hero-content-title,
  .mvp-hero-content-title {
    font-size: 26px;
  }

  .cs-hero-svg-illustration,
  .ma-hero-svg-illustration,
  .wa-hero-svg-illustration,
  .ai-hero-svg-illustration,
  .erp-hero-svg-illustration,
  .ux-hero-svg-illustration,
  .mvp-hero-svg-illustration {
    max-width: 350px;
  }

  .cs-hero-features,
  .ma-hero-features,
  .wa-hero-features,
  .ai-hero-features,
  .erp-hero-features,
  .ux-hero-features,
  .mvp-hero-features {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .cs-cta-title,
  .ma-cta-title,
  .wa-cta-title,
  .erp-cta-title,
  .ux-cta-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {

  .cs-hero-title,
  .ma-hero-title,
  .wa-hero-title,
  .ai-hero-title,
  .erp-hero-title,
  .ux-hero-title,
  .mvp-hero-title {
    font-size: 26px;
  }

  .cs-hero-content-title,
  .ma-hero-content-title,
  .wa-hero-content-title,
  .ai-hero-content-title,
  .erp-hero-content-title,
  .ux-hero-content-title,
  .mvp-hero-content-title {
    font-size: 22px;
  }

  .cs-hero-svg-illustration,
  .ma-hero-svg-illustration,
  .wa-hero-svg-illustration,
  .ai-hero-svg-illustration,
  .erp-hero-svg-illustration,
  .ux-hero-svg-illustration,
  .mvp-hero-svg-illustration {
    max-width: 280px;
  }
}


/* ===== Footer Styles (moved from footer.php inline) ===== */


.dgm-footer-area {
  border-radius: 40px 40px 0 0;
}

.tp-copyright-2-area {
  border-radius: 0 !important;
}


/* ===== Contact Form (moved from contact-form.php inline) ===== */

/* Other input field - shown when "Others" radio is selected */
/* Matches .budget-options label style exactly (no radio button) */
.budget-options .other-input-field {
  display: none;
  width: 150px !important;
  padding: 6px 12px !important;
  font-size: 14px !important;
  border: 1px solid #ce403d !important;
  border-radius: 30px !important;
  height: auto !important;
  line-height: normal !important;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  background: #fff;
  color: #000;
  cursor: text;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.budget-options .other-input-field::placeholder {
  color: #aaa;
  font-size: 13px;
}

.budget-options .other-input-field:focus {
  border-color: #a8302e;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(206, 64, 61, 0.1);
}


/* ===== ERP Development Overrides (moved from erp-development.php inline) ===== */

.erp-development-overrides .erp-hero-image-col,
body .erp-hero-image-col.erp-dev-override {
  flex: 0 0 60%;
}

.erp-development-overrides .erp-hero-svg-illustration,
body .erp-hero-svg-illustration.erp-dev-override {
  max-width: 700px;
}

.erp-development-overrides .erp-hero-svg-container,
body .erp-hero-svg-container.erp-dev-override {
  overflow: visible;
}