/**
 * Our Modules page — TimeERP teal + modern 3D cards (page-id-95 / our-modules)
 * Style only; existing titles, copy, and links kept.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body.page-id-95 {
  --om-primary: #25B7A7;
  --om-bright: #17C3B2;
  --om-deep: #1A9E8F;
  --om-navy: #083530;
  --om-ink: #052824;
  --om-text: #3D5250;
  --om-muted: #616365;
  --om-ice: #E8F8F6;
  --om-white: #FFFFFF;
  --om-font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --om-shadow: 0 12px 28px rgba(26, 158, 143, 0.1);
  --om-shadow-hover: 0 22px 48px rgba(8, 53, 48, 0.16);
}

body.page-id-95 .page-wrapper,
body.page-id-95 .elementor-95 {
  font-family: var(--om-font);
  color: var(--om-text);
  background: linear-gradient(180deg, var(--om-ice) 0%, var(--om-white) 10%, var(--om-white) 90%, var(--om-ice) 100%);
}

body.page-id-95 .elementor-95 h1,
body.page-id-95 .elementor-95 h2,
body.page-id-95 .elementor-95 h3,
body.page-id-95 .elementor-95 h4,
body.page-id-95 .designe-process .sec-title h2 {
  font-family: var(--om-font) !important;
  letter-spacing: -0.02em;
  color: var(--om-ink) !important;
}

/* Header matches site teal */
body.page-id-95 .main-header {
  background: linear-gradient(135deg, #1A9E8F 0%, #25B7A7 55%, #083530 100%) !important;
}

body.page-id-95 .main-header .outer-container {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
}

/* Spacer under header */
body.page-id-95 .elementor-element-97b34e6 {
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.page-id-95 .elementor-element-6dfe84d {
  padding: 28px 0 48px !important;
  background:
    radial-gradient(ellipse 55% 50% at 12% 8%, rgba(37, 183, 167, 0.14), transparent 60%),
    radial-gradient(ellipse 45% 40% at 92% 88%, rgba(23, 195, 178, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(232, 248, 246, 0.7) 0%, #fff 40%, #F7FCFB 100%) !important;
  overflow: visible !important;
}

/* Section shell */
body.page-id-95 .designe-process.service-page {
  position: relative;
  padding: 12px 0 8px !important;
  background: transparent !important;
}

body.page-id-95 .designe-process.service-page .image-layer {
  display: none !important;
}

body.page-id-95 .designe-process .sec-title {
  margin: 0 auto 40px !important;
  max-width: 46rem;
  text-align: center;
}

body.page-id-95 .designe-process .sec-title h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem) !important;
  line-height: 1.28 !important;
  font-weight: 700 !important;
  margin: 0 0 14px !important;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

body.page-id-95 .designe-process .sec-title h2::before {
  content: none !important;
  display: none !important;
}

body.page-id-95 .designe-process .sec-title h2::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 0 !important;
  width: 120px !important;
  height: 2px !important;
  border: none !important;
  border-radius: 0 !important;
  transform: translateX(-50%) !important;
  background: #25B7A7 !important;
  background-image: none !important;
}

/* Grid */
body.page-id-95 .designe-process .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px !important;
}

body.page-id-95 .designe-process .single-column {
  padding: 0 10px 22px !important;
  display: flex;
}

body.page-id-95 .designe-process .single-item {
  width: 100%;
  height: 100%;
  perspective: 1200px;
  margin: 0 !important;
}

/* 3D cards */
body.page-id-95 .designe-process .single-item .inner-box {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 24px 22px 26px !important;
  margin: 0 !important;
  text-align: left !important;
  border-radius: 18px !important;
  background:
    linear-gradient(165deg, #ffffff 0%, #F4FBFA 100%) !important;
  border: 1px solid rgba(37, 183, 167, 0.18) !important;
  border-top: 3px solid var(--om-primary) !important;
  box-shadow: var(--om-shadow) !important;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease !important;
}

body.page-id-95 .designe-process .single-item .inner-box .left-layer,
body.page-id-95 .designe-process .single-item .inner-box .right-layer {
  display: none !important;
}

body.page-id-95 .designe-process .single-item .inner-box::before {
  content: "";
  position: absolute;
  inset: 10px -18px -28px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 183, 167, 0.14), transparent 70%);
  pointer-events: none;
  transform: translateZ(0);
}

body.page-id-95 .designe-process .single-item .inner-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 42%);
  pointer-events: none;
  opacity: 0.7;
}

/* Icon — replace flat diamonds with soft 3D teal tiles */
body.page-id-95 .designe-process .single-item .inner-box .icon-box {
  position: relative;
  z-index: 1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 56px !important;
  height: 56px !important;
  margin: 0 0 18px !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, #3DD5C5 0%, #25B7A7 48%, #1A9E8F 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow:
    0 12px 24px rgba(26, 158, 143, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  transform: rotateX(8deg) rotateY(-8deg) translateZ(12px);
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

body.page-id-95 .designe-process .single-item .inner-box .icon-box:before,
body.page-id-95 .designe-process .single-item .inner-box .icon-box:after {
  display: none !important;
  content: none !important;
}

body.page-id-95 .designe-process .single-item .inner-box .icon-box i,
body.page-id-95 .designe-process .single-item .inner-box .icon-box .fas,
body.page-id-95 .designe-process .single-item .inner-box .icon-box .fa {
  position: relative !important;
  z-index: 1;
  color: #fff !important;
  font-size: 22px !important;
  line-height: 1 !important;
  transform: none !important;
  background: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
}

body.page-id-95 .designe-process .single-column:nth-child(3n+2) .inner-box .icon-box {
  background: linear-gradient(145deg, #25B7A7 0%, #1A9E8F 55%, #083530 100%) !important;
}

body.page-id-95 .designe-process .single-column:nth-child(3n+3) .inner-box .icon-box {
  background: linear-gradient(145deg, #17C3B2 0%, #25B7A7 50%, #0d8f82 100%) !important;
}

body.page-id-95 .designe-process .single-item .inner-box h4 {
  position: relative;
  z-index: 1;
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  color: var(--om-ink) !important;
  text-align: left !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
}

body.page-id-95 .designe-process .single-item .inner-box h4:before,
body.page-id-95 .designe-process .single-item .inner-box h4:after {
  display: none !important;
  content: none !important;
}

body.page-id-95 .designe-process .single-item .inner-box h4 a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

body.page-id-95 .designe-process .single-item .inner-box h4 a:hover {
  color: var(--om-primary) !important;
}

body.page-id-95 .designe-process .single-item .inner-box .text {
  position: relative;
  z-index: 1;
  flex: 1;
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: var(--om-muted) !important;
  text-align: left !important;
  margin: 0 !important;
}

/* Hover / 3D lift */
body.page-id-95 .designe-process .single-item:hover .inner-box,
body.page-id-95 .designe-process .single-item .inner-box.is-tilt {
  border-color: rgba(37, 183, 167, 0.4) !important;
  background: linear-gradient(165deg, #EEFAF8 0%, #ffffff 55%) !important;
  box-shadow: var(--om-shadow-hover) !important;
}

body.page-id-95 .designe-process .single-item:hover .inner-box .icon-box {
  transform: rotateX(0deg) rotateY(0deg) translateZ(18px) scale(1.06);
  box-shadow: 0 16px 28px rgba(26, 158, 143, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body.page-id-95 .designe-process .single-item:hover .inner-box h4,
body.page-id-95 .designe-process .single-item:hover .inner-box h4 a {
  color: var(--om-navy) !important;
}

@media (max-width: 991px) {
  body.page-id-95 .designe-process .sec-title {
    margin-bottom: 32px !important;
  }

  body.page-id-95 .designe-process .single-item .inner-box {
    min-height: 0;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-95 .designe-process .single-item .inner-box,
  body.page-id-95 .designe-process .single-item .inner-box .icon-box {
    transition: none !important;
    transform: none !important;
  }
}
