/* Industry Expertise Section (Tabs) */
.industry-expertise.wp-block-group {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  align-items: center !important;
  padding: 100px 70px !important;
  position: relative !important;
  background-color: var(--dark) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.industry-expertise::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
}

.industry-expertise::after {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 600px;
  height: 600px;
  background-color: var(--mint);
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.12;
  z-index: 1;
  pointer-events: none;
}

.industry-expertise .content-block {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 2 !important;
  gap: 50px !important;
  box-sizing: border-box !important;
}

/* Header */
.industry-expertise .heading-subtitle,
.industry-expertise .card-EXCELLENCE-2 {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 900px !important;
  box-sizing: border-box !important;
}

.industry-expertise .hero-content,
.industry-expertise .text-wrapper {
  position: relative !important;
  width: fit-content !important;
  font-family: var(--font-main) !important;
  font-weight: 500 !important;
  color: var(--mint) !important;
  font-size: 14px !important;
  letter-spacing: 0.28px !important;
  text-transform: uppercase !important;
  margin: 0 !important;
}

.industry-expertise .industry-specific {
  position: relative !important;
  font-family: var(--font-main) !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  font-size: 48px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

.industry-expertise .from-fast-growing {
  position: relative !important;
  font-family: var(--font-main) !important;
  font-weight: 400 !important;
  color: var(--text-white) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Columns Layout Desktop: Strict 504px Height */
.industry-expertise .testimonials,
.industry-expertise .frame {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 32px !important;
  width: 100% !important;
  height: 504px !important;
  min-height: 504px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Left Column: Interactive Tabs Container */
.industry-expertise .testimonial-quote-col {
  flex: 1 1 0 !important;
  width: 50% !important;
  display: flex !important;
  flex-direction: column !important;
  height: 504px !important;
  box-sizing: border-box !important;
}

.industry-expertise .testimonial-quote,
.industry-expertise .frame-2 {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 504px !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Individual Tab Items: Stretched Evenly inside 504px */
.industry-expertise .expertise-card,
.industry-expertise .expertise-card-2,
.industry-expertise .tab-item {
  flex: 1 1 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  padding: 12px 22px !important;
  background-color: var(--bg-white-4) !important;
  border-radius: var(--radius-card) !important;
  border: 1px solid var(--stroke-white-10) !important;
  backdrop-filter: blur(23px) !important;
  -webkit-backdrop-filter: blur(23px) !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
}

.industry-expertise .expertise-card:hover,
.industry-expertise .expertise-card-2:hover,
.industry-expertise .tab-item:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--stroke-white-30) !important;
}

.industry-expertise .tab-item.active,
.industry-expertise .expertise-card.active {
  background-color: var(--bg-mint-6) !important;
  border: 1px solid var(--stroke-mint-70) !important;
  box-shadow: 0 0 30px rgba(0, 199, 190, 0.2) !important;
}

/* Tab Numbers (01, 02, 03, 04, 05) */
.industry-expertise .tab-number,
.industry-expertise .tab-item .text-wrapper-2,
.industry-expertise .tab-item .text-wrapper-4 {
  font-family: var(--font-main) !important;
  font-weight: 500 !important;
  color: var(--text-white) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  margin: 0 !important;
  width: 24px !important;
  min-width: 24px !important;
  flex-shrink: 0 !important;
  transition: color 0.3s ease !important;
}

.industry-expertise .tab-item:hover .tab-number,
.industry-expertise .tab-item:hover .text-wrapper-4 {
  color: var(--white) !important;
}

.industry-expertise .tab-item.active .tab-number,
.industry-expertise .tab-item.active .text-wrapper-2,
.industry-expertise .tab-item.active .text-wrapper-4 {
  color: var(--mint) !important;
}

/* Tab Content */
.industry-expertise .discovery-assessment-2,
.industry-expertise .discovery-assessment {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
}

.industry-expertise .tab-title,
.industry-expertise .tab-item .text-wrapper-3 {
  font-family: var(--font-main) !important;
  font-weight: 500 !important;
  color: var(--white) !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

.industry-expertise .tab-desc,
.industry-expertise .tab-item .p {
  font-family: var(--font-main) !important;
  font-weight: 400 !important;
  color: var(--text-white) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* Hide tab photo source on frontend */
.industry-expertise .tab-photo-source {
  display: none !important;
}

/* Arrow Icon on Tab Item via pseudo-element */
.industry-expertise .tab-item::after {
  content: "" !important;
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.83301 14.1667L14.1663 5.83337' stroke='rgba(255,255,255,0.7)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.0415 5.83337H14.1665V13.9584' stroke='rgba(255,255,255,0.7)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  transition: transform 0.2s ease !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

.industry-expertise .tab-item.active::after {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.83301 14.1667L14.1663 5.83337' stroke='%2300c7be' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.0415 5.83337H14.1665V13.9584' stroke='%2300c7be' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.industry-expertise .tab-item:hover::after {
  transform: translate(2px, -2px) !important;
}

/* Right Column: Featured Display Card 504px Height */
.industry-expertise .industry-card-secure-col {
  flex: 1 1 0 !important;
  width: 50% !important;
  display: flex !important;
  flex-direction: column !important;
  height: 504px !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.industry-expertise .industry-card-secure,
.industry-expertise .frame-wrapper {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 504px !important;
  min-height: 504px !important;
  max-height: 504px !important;
  border-radius: var(--radius-card) !important;
  border: 1px solid var(--stroke-mint-50) !important;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1), 0 0 24px rgba(0, 199, 190, 0.25) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  margin: 0 !important;
  background-color: var(--dark) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
  z-index: 1 !important;
}

.industry-expertise .industry-card-secure.active,
.industry-expertise .industry-card-secure:first-child:not(.tab-panel) {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 3 !important;
}

/* Background Image Container */
.industry-expertise .tab-bg-image-figure,
.industry-expertise .industry-card-secure figure {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

/* Background Image: Universal Scaling & Aspect Ratio Fit */
.industry-expertise .tab-bg-image-figure img,
.industry-expertise .industry-card-secure img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: opacity 0.3s ease, transform 0.4s ease !important;
}

.industry-expertise .industry-card-secure::after,
.industry-expertise .frame-wrapper::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(180deg, rgba(10, 27, 46, 0) 35%, rgba(10, 27, 46, 0.82) 70%, rgba(10, 27, 46, 0.96) 100%) !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.industry-expertise .card-info,
.industry-expertise .frame-4 {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 20px !important;
  position: relative !important;
  z-index: 3 !important;
  padding: 40px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Featured Card Big Title */
.industry-expertise .card-featured-title,
.industry-expertise .industry-card-secure .text-wrapper-4,
.industry-expertise .industry-card-secure h3 {
  font-family: var(--font-main) !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  font-size: 32px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

/* Featured Card Big Description */
.industry-expertise .card-featured-desc,
.industry-expertise .industry-card-secure .text-wrapper-5,
.industry-expertise .industry-card-secure p {
  font-family: var(--font-main) !important;
  font-weight: 400 !important;
  color: var(--text-white) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.industry-expertise .industry-btn-group,
.industry-expertise .wp-block-buttons {
  margin: 0 !important;
}

.industry-expertise .industry-btn-group .wp-block-button__link,
.industry-expertise .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 12px 22px !important;
  background-color: var(--mint) !important;
  border-radius: var(--radius-btn) !important;
  color: var(--dark) !important;
  font-family: var(--font-main) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.industry-expertise .industry-btn-group .wp-block-button__link:hover,
.industry-expertise .button:hover {
  background-color: var(--mint-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 199, 190, 0.3) !important;
}

.industry-expertise .industry-btn-group .wp-block-button__link::after,
.industry-expertise .button::after {
  content: "" !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.83301 14.1667L14.1663 5.83337' stroke='%230A1B2E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.0415 5.83337H14.1665V13.9584' stroke='%230A1B2E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  margin-left: 2px !important;
  transition: transform 0.2s ease !important;
}

.industry-expertise .industry-btn-group .wp-block-button__link:hover::after,
.industry-expertise .button:hover::after {
  transform: translate(2px, -2px) !important;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .industry-expertise.wp-block-group {
    padding: 70px 30px !important;
  }

  .industry-expertise .industry-specific {
    font-size: 36px !important;
  }

  .industry-expertise .testimonials,
  .industry-expertise .frame {
    flex-direction: column !important;
    gap: 24px !important;
    height: auto !important;
    min-height: auto !important;
  }

  .industry-expertise .testimonial-quote-col {
    width: 100% !important;
    height: auto !important;
  }

  .industry-expertise .industry-card-secure-col {
    width: 100% !important;
    height: 480px !important;
    min-height: 480px !important;
    position: relative !important;
  }

  .industry-expertise .testimonial-quote {
    height: auto !important;
    gap: 12px !important;
  }

  .industry-expertise .industry-card-secure,
  .industry-expertise .frame-wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important;
  }

  .industry-expertise .tab-bg-image-figure,
  .industry-expertise .industry-card-secure figure {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .industry-expertise .tab-bg-image-figure img,
  .industry-expertise .industry-card-secure img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  .industry-expertise .card-info,
  .industry-expertise .frame-4 {
    padding: 32px 30px !important;
    gap: 16px !important;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .industry-expertise.wp-block-group {
    padding: 40px 20px 50px !important;
  }

  .industry-expertise .content-block {
    gap: 28px !important;
  }

  .industry-expertise .heading-subtitle {
    gap: 14px !important;
  }

  .industry-expertise .hero-content {
    font-size: 12px !important;
    letter-spacing: 0.24px !important;
  }

  .industry-expertise .industry-specific {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  .industry-expertise .from-fast-growing {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .industry-expertise .testimonials {
    flex-direction: column !important;
    gap: 20px !important;
    height: auto !important;
    min-height: auto !important;
  }

  /* Featured Card on Mobile: Placed at Top */
  .industry-expertise .industry-card-secure-col {
    order: 1 !important;
    width: 100% !important;
    height: 340px !important;
    min-height: 340px !important;
    position: relative !important;
  }

  .industry-expertise .industry-card-secure,
  .industry-expertise .frame-wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 340px !important;
    min-height: 340px !important;
    max-height: 340px !important;
    border-radius: var(--radius-card) !important;
  }

  .industry-expertise .card-info,
  .industry-expertise .frame-4 {
    padding: 20px !important;
    gap: 14px !important;
  }

  .industry-expertise .card-featured-title,
  .industry-expertise .industry-card-secure h3 {
    font-size: 24px !important;
  }

  .industry-expertise .card-featured-desc,
  .industry-expertise .industry-card-secure p {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  .industry-expertise .industry-btn-group .wp-block-button__link,
  .industry-expertise .button {
    padding: 10px 18px !important;
    font-size: 14px !important;
  }

  /* Tabs List on Mobile */
  .industry-expertise .testimonial-quote-col {
    order: 2 !important;
    width: 100% !important;
    height: auto !important;
  }

  .industry-expertise .testimonial-quote {
    gap: 10px !important;
    height: auto !important;
  }

  .industry-expertise .expertise-card,
  .industry-expertise .expertise-card-2,
  .industry-expertise .tab-item {
    padding: 12px 16px !important;
    border-radius: var(--radius-small-card) !important;
    gap: 14px !important;
    min-height: auto !important;
    flex: none !important;
  }

  .industry-expertise .tab-number,
  .industry-expertise .tab-item .text-wrapper-2,
  .industry-expertise .tab-item .text-wrapper-4 {
    font-size: 14px !important;
    width: 20px !important;
    min-width: 20px !important;
  }

  .industry-expertise .tab-title,
  .industry-expertise .tab-item .text-wrapper-3 {
    font-size: 14px !important;
  }

  .industry-expertise .tab-desc,
  .industry-expertise .tab-item .p {
    font-size: 12px !important;
  }
}
