.service-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
  linear-gradient(135deg, rgb(10 49 46 / 90%) 0%, rgb(14 86 79 / 84%) 45%, rgb(4 55 73 / 84%) 100%),
    url('/img/home/2.jpg') center/cover no-repeat;
}

.service-hero--concept {
  background:
  linear-gradient(135deg, rgb(10 49 46 / 90%) 0%, rgb(14 86 79 / 84%) 45%, rgb(4 55 73 / 84%) 100%),
    url('/img/concept/concept-page.jpg') center/cover no-repeat;
}

/* Concept page: tabbed image gallery (Bootstrap tabs + card grid) */
.concept-gallery-strip {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 12% 20%, rgba(13, 148, 136, 0.09), transparent 50%),
    radial-gradient(ellipse 70% 60% at 88% 60%, rgba(59, 130, 246, 0.06), transparent 45%),
    linear-gradient(180deg, #f8fafc 0%, #f0fdfa 38%, #fafbfc 100%);
  border-top: 1px solid rgba(13, 148, 136, 0.1);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.concept-gallery-strip .service-section-head {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.concept-tabs-gallery {
  position: relative;
  z-index: 1;
}

.concept-tabs-gallery__nav {
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.concept-tabs-gallery__nav .nav-link {
  color: #0f766e;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.concept-tabs-gallery__nav .nav-link:hover {
  color: #0d9488;
  border-color: rgba(13, 148, 136, 0.35);
  background: #fff;
}

.concept-tabs-gallery__nav .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.28);
}

.concept-tabs-gallery__card {
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.concept-tabs-gallery__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1) !important;
}

.concept-tabs-gallery__media {
  position: relative;
  padding-top: 72%;
  background:
    radial-gradient(ellipse 100% 90% at 50% 0%, rgba(255, 255, 255, 0.98), rgba(240, 253, 250, 0.99)),
    linear-gradient(180deg, #f8fafc 0%, #ecfdf5 100%);
}

.concept-tabs-gallery__media img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 92%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.concept-tabs-gallery__media--featured {
  padding-top: 56%;
}

.concept-tabs-gallery__card--featured:hover {
  transform: none;
}

.concept-tabs-gallery__sidebar-label {
  letter-spacing: 0.12em;
}

.concept-tabs-gallery__thumb {
  cursor: pointer;
  border-radius: 0.5rem;
}

.concept-tabs-gallery__thumb:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 3px;
}

.concept-tabs-gallery__thumb-inner {
  border: 2px solid transparent;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #f1f5f9 0%, #ecfdf5 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.concept-tabs-gallery__thumb-inner img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.concept-tabs-gallery__thumb--active .concept-tabs-gallery__thumb-inner {
  border-color: #0d9488;
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.25);
}

.concept-tabs-gallery__thumb:hover:not(.concept-tabs-gallery__thumb--active) .concept-tabs-gallery__thumb-inner {
  border-color: rgba(13, 148, 136, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .concept-tabs-gallery__card {
    transition: none;
  }

  .concept-tabs-gallery__card:hover {
    transform: none;
  }

  .concept-tabs-gallery__thumb-inner {
    transition: none;
  }
}

.service-hero--iso {
  background:
  linear-gradient(135deg, rgb(21 63 185 / 88%) 0%, rgb(10 49 46 / 82%) 46%, rgb(17 77 94 / 84%) 100%),
    url('/img/iso/iso-page.jpg') center/cover no-repeat;
}

.service-hero--systemos {
  background:
  linear-gradient(135deg, rgb(10 49 46 / 84%) 0%, rgb(14 86 79 / 80%) 46%, rgb(4 55 73 / 84%) 100%),
    url('/img/systemos/bg1.jpg') center/cover no-repeat;
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.14), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.12), transparent 24%);
}

.service-hero > .container {
  position: relative;
  z-index: 1;
}

.service-hero__content {
  max-width: 860px;
}

.service-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}

.service-hero__title {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
}

.service-hero__lead {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.96;
}

.service-hero__sub {
  font-size: 1rem;
  opacity: 0.88;
}

.service-section-head {
  max-width: 760px;
}

.service-panel {
  border-radius: 28px;
  padding: 2rem;
}

.service-panel--soft {
  background: linear-gradient(180deg, #f8fffd 0%, #ecfdf5 100%);
  border: 1px solid rgba(13, 148, 136, 0.12);
  box-shadow: 0 18px 45px rgba(15, 118, 110, 0.08);
}

.service-mini-card,
.service-step-card,
.service-case-card,
.service-standard-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.service-mini-card {
  padding: 1.4rem;
}

.service-mini-card__num,
.service-step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.1);
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.service-case-card {
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}

.service-case-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12), transparent 70%);
}

.service-case-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.1);
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 600;
}

.service-step-card {
  padding: 1.6rem;
}

.service-standard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-standard-card {
  padding: 1.35rem;
}

.service-standard-card__code {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.45rem;
}

.service-media-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.service-media-grid--iso {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-media-grid--systemos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.service-media-grid--concept .service-media-card:nth-child(1) {
  transform: translateY(18px) rotate(-3deg);
}

.service-media-grid--concept .service-media-card:nth-child(2) {
  transform: translateY(-18px) rotate(2deg);
}

.service-media-grid--concept .service-media-card:nth-child(3) {
  transform: translateY(10px) rotate(4deg);
}

.service-media-grid--systemos .service-media-card:nth-child(1) {
  transform: translateY(12px) rotate(-2deg);
}

.service-media-grid--systemos .service-media-card:nth-child(2) {
  transform: translateY(-20px) rotate(2deg);
}

.service-media-grid--systemos .service-media-card:nth-child(3) {
  transform: translateY(16px) rotate(3deg);
}

.service-media-grid--iso .service-media-card:nth-child(1) {
  transform: translateY(14px) rotate(-2deg);
}

.service-media-grid--iso .service-media-card:nth-child(2) {
  transform: translateY(-20px) rotate(2deg);
}

.service-media-grid--iso .service-media-card:nth-child(3) {
  transform: translateY(10px) rotate(3deg);
}

.service-media-card,
.service-photo-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 240px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.service-media-card--tall {
  min-height: 320px;
}

.service-media-card--wide {
  min-height: 280px;
}

.service-media-card--contain .service-media-card__img {
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #f8fafc 0%, #eefaf7 100%);
  padding: 1.2rem;
}

.service-media-card--anchor-top .service-media-card__img {
  object-position: center top;
}

.service-media-card__img,
.service-photo-panel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.service-photo-panel {
  min-height: 340px;
}

.service-photo-panel--banner {
  min-height: 320px;
}

.service-photo-panel--tall {
  min-height: 420px;
}

.service-photo-panel__img--contain {
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #f8fafc 0%, #e2f5f1 100%);
  padding: 1rem;
}

.service-photo-panel__img--anchor-top {
  object-position: center top;
}

.service-media-card:hover,
.service-photo-panel:hover,
.service-model-card:hover {
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.16);
}

.service-media-card:hover .service-media-card__img,
.service-photo-panel:hover .service-photo-panel__img {
  transform: scale(1.08);
}

.service-model-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 1.7rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-model-card__visual {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  margin-bottom: 1rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(13, 148, 136, 0.18), transparent 42%),
    linear-gradient(180deg, #f8fafc 0%, #eefaf7 100%);
}

.service-model-card__visual::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
}

.service-model-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 1.4rem;
  transition: transform 0.45s ease;
}

.service-model-card:nth-child(odd) {
  transform: translateY(10px);
}

.service-model-card:hover .service-model-card__img {
  transform: scale(1.06);
}

.service-insight-board {
  position: relative;
  min-height: 100%;
  padding: 2rem;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.2), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #eefaf7 100%);
  border: 1px solid rgba(13, 148, 136, 0.14);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.service-insight-board::before {
  content: "";
  position: absolute;
  inset: auto auto 20px 20px;
  width: 88px;
  height: 88px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
}

.service-insight-board__eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 0.75rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0f766e;
}

.service-insight-board__title {
  position: relative;
  z-index: 1;
  margin-bottom: 0.9rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
}

.service-insight-board__text {
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
  color: #475569;
  line-height: 1.8;
}

.service-insight-board__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.service-insight-board__list span {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 600;
}

.service-ribbon-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #eefaf7 100%);
  border: 1px solid rgba(13, 148, 136, 0.12);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.service-ribbon-panel__item {
  padding: 1.35rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.service-ribbon-panel__label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f766e;
}

.service-ribbon-panel__item strong {
  display: block;
  color: #334155;
  line-height: 1.7;
  font-size: 0.98rem;
}

.service-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.service-chip-list li {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.08);
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 500;
}

.service-photo-panel::after,
.service-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.18));
  pointer-events: none;
}

.service-media-card::before,
.service-photo-panel::before {
  content: "";
  position: absolute;
  inset: auto auto 14px 14px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  z-index: 1;
  animation: serviceGlow 4.8s ease-in-out infinite;
}

.service-photo-panel::before {
  width: 74px;
  height: 74px;
}

@keyframes serviceGlow {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.65;
  }
  50% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

.cta-section--concept {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.9) 0%, rgba(13, 148, 136, 0.84) 100%),
    url('/img/concept/page_about_img1.jpg') center/cover no-repeat;
}

.cta-section--iso {
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.84) 0%, rgba(15, 118, 110, 0.84) 100%),
    url('/img/iso/page_about_capital_myanmar_back.png') center/cover no-repeat;
}

.cta-section--systemos {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.84) 0%, rgba(13, 148, 136, 0.8) 100%),
    url('/img/systemos/page_about_capital_myanmar_back.png') center/cover no-repeat;
}

@media (max-width: 767.98px) {
  .service-panel,
  .service-mini-card,
  .service-step-card,
  .service-case-card,
  .service-standard-card,
  .service-media-card,
  .service-photo-panel,
  .service-model-card {
    border-radius: 18px;
  }

  .service-standard-grid {
    grid-template-columns: 1fr;
  }

  .service-media-grid,
  .service-media-grid--iso {
    grid-template-columns: 1fr;
  }

  .service-media-grid--concept .service-media-card,
  .service-media-grid--systemos .service-media-card,
  .service-media-grid--iso .service-media-card,
  .service-model-card:nth-child(odd) {
    transform: none;
  }

  .service-photo-panel {
    min-height: 260px;
  }

  .service-photo-panel--banner,
  .service-photo-panel--tall,
  .service-model-card__visual,
  .service-insight-board {
    min-height: 240px;
  }

  .service-ribbon-panel {
    grid-template-columns: 1fr;
  }
}

.service-labtype-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f0fdfa 100%);
  border-top: 1px solid rgba(13, 148, 136, 0.08);
}

.labtype-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
}

.labtype-grid--langs {
  grid-template-columns: repeat(6, 1fr);
}

.labtype-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.82) 100%),
    url('/img/systemos/demo_tech_img.jpg') center/cover no-repeat;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.labtype-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.labtype-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15, 118, 110, 0.22);
}

.labtype-card__img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.labtype-card__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.labtype-card--simple {
  padding: 1rem;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 140px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.labtype-card--simple .labtype-card__img {
  width: 75px;
  height: 75px;
  margin-bottom: 0;
}

.labtype-card--simple .labtype-card__label {
  color: #1e293b;
  text-shadow: none;
}

.service-labtype-note {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(13, 148, 136, 0.06);
  border: 1px solid rgba(13, 148, 136, 0.14);
  border-radius: 12px;
  font-size: 0.82rem;
  color: #475569;
}

.service-labtype-note strong {
  color: #0f766e;
}

@media (max-width: 575.98px) {
  .labtype-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .labtype-grid--langs {
    grid-template-columns: repeat(2, 1fr);
  }

  .labtype-card {
    min-height: 160px;
  }

  .labtype-card__img {
    width: 56px;
    height: 56px;
  }
}
