/* ============================================================================
   Our Strengths Page Styles
   為何選擇芯凝 - Mobile First Responsive Design
   ========================================================================== */

/* Global overflow fix for the page */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ============================================================================
   Section 1: Hero Section with Gradient Animation
   ========================================================================== */

.strengths-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #004d47 0%, #00847d 50%, #2dcbbd 100%);
  background-size: 300% 300%;
  animation: gradient-flow 12s ease infinite;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Hero Background Patterns */
.strengths-hero__pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.pattern-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: float 20s ease-in-out infinite;
}

.pattern-shape--1 {
  width: 200px;
  height: 200px;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.pattern-shape--2 {
  width: 150px;
  height: 150px;
  bottom: -75px;
  right: 5%;
  animation-delay: 5s;
}

.pattern-shape--3 {
  width: 100px;
  height: 100px;
  top: 40%;
  right: -50px;
  animation-delay: 10s;
}

.pattern-shape--4 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 7s;
  background: rgba(45, 203, 189, 0.15);
}

.pattern-shape--5 {
  width: 120px;
  height: 120px;
  bottom: 20%;
  left: -60px;
  animation-delay: 3s;
}

@media (min-width: 768px) {
  .pattern-shape--1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
  }

  .pattern-shape--2 {
    width: 200px;
    height: 200px;
    right: 10%;
  }

  .pattern-shape--3 {
    width: 150px;
    height: 150px;
    right: -75px;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-15px) rotate(90deg) scale(1.05);
  }
  50% {
    transform: translateY(-30px) rotate(180deg) scale(1);
  }
  75% {
    transform: translateY(-15px) rotate(270deg) scale(0.95);
  }
}

/* Hero Content */
.strengths-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.strengths-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 203, 189, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 2px solid rgba(45, 203, 189, 0.5);
  box-shadow: 0 4px 15px rgba(45, 203, 189, 0.2);
  animation: fadeInDown 0.8s ease;
}

@media (min-width: 768px) {
  .strengths-hero__tag {
    font-size: 14px;
    padding: 10px 24px;
  }
}

.strengths-hero__tag i {
  color: #2dcbbd;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.strengths-hero__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease 0.2s backwards;
  color: white;
}

@media (min-width: 768px) {
  .strengths-hero__title {
    font-size: 48px;
    margin-bottom: 20px;
  }
}

.strengths-hero__subtitle {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease 0.4s backwards;
  word-break: break-all;
  overflow-wrap: anywhere;
  max-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  line-height: 2.2;
  display: block;
}

@media (min-width: 360px) {
  .strengths-hero__subtitle {
    font-size: 12px;
    letter-spacing: 0.5px;
    word-break: keep-all;
    line-height: 2;
  }
}

@media (min-width: 480px) {
  .strengths-hero__subtitle {
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1.8;
    padding: 0 15px;
  }
}

@media (min-width: 768px) {
  .strengths-hero__subtitle {
    font-size: 18px;
    letter-spacing: 4px;
    margin-bottom: 32px;
    padding: 0;
    line-height: 1.6;
  }
}

/* Tech-style subtitle decoration */
.strengths-hero__subtitle::before,
.strengths-hero__subtitle::after {
  content: "//";
  color: #2dcbbd;
  font-weight: 700;
}

.strengths-hero__subtitle::before {
  margin-right: 4px;
}

.strengths-hero__subtitle::after {
  margin-left: 4px;
}

@media (min-width: 480px) {
  .strengths-hero__subtitle::before {
    margin-right: 8px;
  }

  .strengths-hero__subtitle::after {
    margin-left: 8px;
  }
}

/* Hero CTA Buttons */
.strengths-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

@media (min-width: 480px) {
  .strengths-hero__cta {
    flex-direction: row;
    gap: 16px;
  }
}

.strengths-hero__cta .button {
  padding: 14px 28px;
  font-size: 14px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.strengths-hero__cta .button--primary {
  background: #ffffff;
  color: #004d47;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.strengths-hero__cta .button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.strengths-hero__cta .button--outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.strengths-hero__cta .button--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================================
   Section 2: Core Strengths - Interactive Flip Cards
   ========================================================================== */

.strengths {
  padding: 60px 0;
  background: #f8fafa;
  overflow-x: hidden;
  max-width: 100%;
}

@media (min-width: 768px) {
  .strengths {
    padding: 80px 0;
  }
}

.strengths .section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .strengths .section-title {
    font-size: 36px;
  }
}

.strengths .section-subtitle {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .strengths .section-subtitle {
    font-size: 16px;
    margin-bottom: 50px;
  }
}

/* Grid Layout */
.strengths__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Mobile: 2-2-1 layout - 5th card spans full width */
.strengths__grid .strength-card:nth-child(5) {
  grid-column: 1 / -1;
}

@media (min-width: 600px) {
  .strengths__grid {
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .strengths__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  /* Reset mobile styling for larger screens */
  .strengths__grid .strength-card:nth-child(5) {
    grid-column: auto;
  }
}

/* 5 cards layout: 3 on top, 2 centered below */
@media (min-width: 1200px) {
  .strengths__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
  }

  .strengths__grid .strength-card:nth-child(1) {
    grid-column: 1 / 3;
  }

  .strengths__grid .strength-card:nth-child(2) {
    grid-column: 3 / 5;
  }

  .strengths__grid .strength-card:nth-child(3) {
    grid-column: 5 / 7;
  }

  .strengths__grid .strength-card:nth-child(4) {
    grid-column: 2 / 4;
  }

  .strengths__grid .strength-card:nth-child(5) {
    grid-column: 4 / 6;
  }
}

/* Card Container */
.strength-card {
  perspective: 1000px;
  height: 180px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.strength-card:hover {
  transform: translateY(-8px);
}

.strength-card:hover .strength-card__front {
  box-shadow:
    0 16px 64px rgba(0, 132, 125, 0.12),
    0 8px 24px rgba(0, 132, 125, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .strength-card {
    height: 240px;
  }
}

.strength-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.strength-card.is-flipped .strength-card__inner {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

/* Card Front & Back */
.strength-card__front,
.strength-card__back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 20px;
  box-shadow:
    0 12px 48px rgba(0, 132, 125, 0.08),
    0 4px 16px rgba(0, 132, 125, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.04);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 768px) {
  .strength-card__front,
  .strength-card__back {
    padding: 24px 24px 50px;
  }
}

.strength-card__front {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ffffff;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
}

.strength-card__back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  overflow: hidden;
  justify-content: center;
  background:
    linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.03) 0%,
      rgba(255, 255, 255, 0.01) 100%
    ),
    linear-gradient(135deg, #003d39 0%, #004d47 35%, #00685f 70%, #00847d 100%);
  color: #ffffff;
  position: absolute;
  border: 1px solid rgba(45, 203, 189, 0.2);
  box-shadow:
    0 12px 48px rgba(0, 132, 125, 0.15),
    0 8px 24px rgba(0, 132, 125, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 2px rgba(45, 203, 189, 0.1);
  top: 0;
  left: 0;
}

.strength-card__back::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.02) 0px,
      transparent 1px,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0px,
      transparent 1px,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 3px
    );
  opacity: 0.5;
  pointer-events: none;
  border-radius: 16px;
}

/* Card Icon */
.strength-card__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(45, 203, 189, 0.15) 0%,
    rgba(0, 132, 125, 0.12) 50%,
    rgba(0, 77, 71, 0.08) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 20px rgba(0, 132, 125, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  position: relative;
}

.strength-card__icon::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2dcbbd, #00847d, #004d47);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.strength-card:hover .strength-card__icon::before {
  opacity: 0.3;
}

.strength-card__icon i {
  font-size: 32px;
  background: linear-gradient(135deg, #004d47 0%, #00847d 50%, #2dcbbd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 1px 2px rgba(0, 132, 125, 0.2));
}

.strength-card:hover .strength-card__icon {
  transform: scale(1.12) rotate(8deg) translateY(-3px);
  box-shadow:
    0 8px 30px rgba(0, 132, 125, 0.25),
    inset 0 1px 3px rgba(255, 255, 255, 0.4);
  background: linear-gradient(
    135deg,
    rgba(45, 203, 189, 0.25) 0%,
    rgba(0, 132, 125, 0.2) 50%,
    rgba(0, 77, 71, 0.15) 100%
  );
}

.strength-card:hover .strength-card__icon i {
  background: linear-gradient(135deg, #004d47 0%, #00847d 50%, #2dcbbd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card Title & Description */
.strength-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.strength-card__desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 0;
}

/* Toggle Button */
.strength-card__toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #00847d;
  background: #ffffff;
  color: #00847d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  padding: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 132, 125, 0.15);
}

.strength-card__toggle:hover {
  background: linear-gradient(135deg, #00847d 0%, #2dcbbd 100%);
  color: #ffffff;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 132, 125, 0.3);
  border-color: #2dcbbd;
}

/* Close Button */
.strength-card__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 16px;
}

.strength-card__close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Back Content */
.strength-card__details {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.strength-card__details li {
  padding: 14px 0 14px 28px;
  position: relative;
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.strength-card__details li:last-child {
  border-bottom: none;
}

/* Add checkmark icon before each list item */
.strength-card__details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: rgba(45, 203, 189, 0.25);
  border: 2px solid #2dcbbd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: #2dcbbd;
  line-height: 1;
  flex-shrink: 0;
}

.strength-card__details li:hover {
  padding-left: 32px;
  color: #ffffff;
}

.strength-card__details li:hover::before {
  background: #2dcbbd;
  color: #003d39;
  transform: translateY(-50%) scale(1.1);
}

/* ============================================================================
   Section 3: Transparent System Feature Section
   ========================================================================== */

.transparent-system {
  padding: 60px 0;
  background: #ffffff;
  overflow-x: hidden;
  max-width: 100%;
}

@media (min-width: 768px) {
  .transparent-system {
    padding: 80px 0;
  }
}

@media (min-width: 1200px) {
  .transparent-system {
    padding: 100px 0;
  }
}

.transparent-system__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 100px;
  align-items: center;
}

@media (min-width: 1200px) {
  .transparent-system__grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

/* Template Gallery */
.template-gallery {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 15px;
  background: linear-gradient(135deg, #e2f4f4 0%, #f4f7f6 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  order: 1;
}

@media (min-width: 601px) {
  .template-gallery {
    max-width: 500px;
    padding: 30px;
  }
}

@media (min-width: 1200px) {
  .template-gallery {
    order: 0;
  }
}

.template-gallery__title {
  text-align: center;
  letter-spacing: 1px;
}

.template-gallery__container {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 95, 115, 0.15);
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--pure-white);
  border: 3px solid rgba(0, 95, 115, 0.1);
}

.template-gallery__container:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 95, 115, 0.25);
  border-color: rgba(0, 95, 115, 0.3);
}

.template-gallery__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--transition-base);
  background: var(--bg-light);
}

.template-gallery__image.active {
  opacity: 1;
  z-index: 1;
}

.template-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.template-gallery__arrow {
  background: var(--primary-color);
  color: var(--pure-white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.template-gallery__arrow:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.template-gallery__arrow:active {
  transform: scale(0.95);
}

.template-gallery__indicators {
  display: flex;
  gap: 10px;
}

.template-gallery__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--indicator-inactive);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.template-gallery__indicator.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.template-gallery__indicator:hover {
  background: var(--secondary-color);
}

/* Modal for enlarged image */
.template-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-dark);
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.3s ease;
}

.template-modal.active {
  display: flex;
}

.template-modal__content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeInModal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.template-modal__close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: var(--pure-white);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  z-index: 10000;
}

.template-modal__close:hover {
  color: var(--accent-color);
}

/* Content Section */
.transparent-system__content {
  order: 0;
}

@media (min-width: 1200px) {
  .transparent-system__content {
    order: 1;
  }
}

.transparent-system__content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .transparent-system__content h2 {
    font-size: 32px;
  }
}

.transparent-system__content h3 {
  font-size: 16px;
  font-weight: 500;
  color: #00847d;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .transparent-system__content h3 {
    font-size: 18px;
    margin-bottom: 32px;
  }
}

/* Feature List */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #f8fafa;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

@media (min-width: 768px) {
  .feature-item {
    padding: 24px;
    gap: 20px;
  }
}

.feature-item:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 132, 125, 0.2);
}

.feature-item__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00847d 0%, #2dcbbd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
}

.feature-item__content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .feature-item__content h4 {
    font-size: 18px;
  }
}

.feature-item__content p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* ============================================================================
   Section 4: Service Process Flow
   ========================================================================== */

.service-process {
  padding: 60px 0;
  background: #f8fafa;
  overflow-x: hidden;
  max-width: 100%;
}

@media (min-width: 768px) {
  .service-process {
    padding: 80px 0;
  }
}

@media (min-width: 1200px) {
  .service-process {
    padding: 100px 0;
  }
}

.service-process .section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .service-process .section-title {
    font-size: 36px;
  }
}

.service-process .section-subtitle {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .service-process .section-subtitle {
    font-size: 16px;
    margin-bottom: 50px;
  }
}

/* Linear Process 1-3 */
.process-linear {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .process-linear {
    gap: 24px;
    margin-bottom: 60px;
  }
}

.process-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step__number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #004d47 0%, #00847d 100%);
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(0, 132, 125, 0.3);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .process-step__number {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}

.process-step:hover .process-step__number {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 132, 125, 0.4);
}

.process-step__name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

@media (min-width: 768px) {
  .process-step__name {
    font-size: 16px;
  }
}

.process-arrow {
  font-size: 20px;
  color: #00847d;
  transform: rotate(0deg);
}

@media (min-width: 768px) {
  .process-arrow {
    font-size: 28px;
  }
}

/* Cycle Process 4-6 */
.process-cycle {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .process-cycle {
    margin-bottom: 60px;
  }
}

.cycle-container {
  position: relative;
  width: 280px;
  height: 280px;
}

@media (min-width: 480px) {
  .cycle-container {
    width: 350px;
    height: 350px;
  }
}

@media (min-width: 768px) {
  .cycle-container {
    width: 400px;
    height: 400px;
  }
}

.cycle-svg {
  width: 100%;
  height: 100%;
}

/* SVG Path Animation */
.cycle-path {
  stroke-dasharray: 753;
  stroke-dashoffset: 753;
  animation: drawPath 3s ease forwards;
}

@keyframes drawPath {
  to {
    stroke-dashoffset: 0;
  }
}

/* Cycle Step Animation */
.cycle-step {
  opacity: 0;
  animation: fadeInScale 0.5s ease forwards;
}

.cycle-step[data-step="4"] {
  animation-delay: 1s;
}

.cycle-step[data-step="5"] {
  animation-delay: 1.5s;
}

.cycle-step[data-step="6"] {
  animation-delay: 2s;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Cycle Labels */
.cycle-label {
  position: absolute;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .cycle-label {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .cycle-label {
    font-size: 16px;
  }
}

.cycle-label--top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.cycle-label--right {
  bottom: 15%;
  right: 0;
}

.cycle-label--left {
  bottom: 15%;
  left: 0;
}

/* Cycle Center */
.cycle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.cycle-center i {
  font-size: 28px;
  color: #00847d;
  display: block;
  margin-bottom: 8px;
  animation: rotate 6s linear infinite;
}

@media (min-width: 768px) {
  .cycle-center i {
    font-size: 36px;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cycle-center p {
  font-size: 13px;
  font-weight: 600;
  color: #00847d;
}

@media (min-width: 768px) {
  .cycle-center p {
    font-size: 14px;
  }
}

/* Process Details */
.process-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 600px) {
  .process-details {
    gap: 20px;
  }
}

@media (min-width: 1200px) {
  .process-details {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.process-detail {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .process-detail {
    padding: 24px;
  }
}

.process-detail:hover {
  border-color: #00847d;
  box-shadow: 0 8px 25px rgba(0, 132, 125, 0.15);
  transform: translateY(-5px);
}

.process-detail__badge {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #004d47 0%, #00847d 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.process-detail__content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  text-align: left;
}

.process-detail__content p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

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

.strengths-cta {
  padding: 60px 0;
  background: linear-gradient(135deg, #004d47 0%, #00847d 100%);
  text-align: center;
  overflow-x: hidden;
  max-width: 100%;
}

@media (min-width: 768px) {
  .strengths-cta {
    padding: 80px 0;
  }
}

.strengths-cta__content {
  max-width: 600px;
  margin: 0 auto;
  color: #ffffff;
}

.strengths-cta__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .strengths-cta__title {
    font-size: 36px;
  }
}

.strengths-cta__text {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}

.strengths-cta .button {
  padding: 16px 40px;
  font-size: 16px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #004d47;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.strengths-cta .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================================================
   Utility Classes
   ========================================================================== */

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #00847d 0%, #2dcbbd 100%);
  margin: 0 auto 24px;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .strength-card__desc {
    position: absolute;
    left: -9999px;
  }

  .strength-card__toggle {
    font-size: 1rem; /* Even smaller on mobile */
    width: 1.75rem;
    height: 1.75rem;
  }
}
