/* Stat Box (Banner Metrics) */
.stat-box {
  position: relative;
}

.experience {
  position: relative;
  padding-left: 20px;
  margin-right: 0;
}

.experience::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 3.5px;
  background: linear-gradient(175.37deg, #A639FF 13.49%, #0593F8 121.57%);
  border-radius: 2px;
}

@media (max-width: 767.98px) {
  .experience {
    padding-left: 18px;
  }
}

/* Head Content & Metric Badge */
.head-content {
  background: linear-gradient(81.22deg, #21D496 -18.44%, #054A91 104.98%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.badge-rpa-metric {
  display: inline-block;
  width: fit-content;
  border: 1px solid rgba(0, 116, 235, 0.3);
  background: rgba(0, 116, 235, 0.05);
  border-radius: 8px;
  padding: 5px 14px;
  color: var(--primary-bg-color);
  font-size: 11px;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.badge-rpa-metric:hover {
  background: rgba(0, 116, 235, 0.2);
  border-color: #0074EB;
  transform: translateY(-2px);
}

/* Animations */
@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-out {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.slide-up {
  animation: slideUp .4s ease-in-out forwards;
}

.slide-down {
  animation: slideDown .4s ease-in-out forwards;
}

/* Navigation Components & Industry Tabs (Robotic Process Automation) */
.nav-button {
  background: transparent;
  color: #fff;
  border: 1px solid #FFFFFF2B;
  padding: 4px;
  margin-bottom: 10px;
  text-align: left;
  width: 100%;
  border-radius: 10px;
  height: 55px;
}

.nav-button.active {
  background: linear-gradient(to right, #003164, #0A0915);
  color: #fff !important;
}

.nav-icon {
  width: 24px;
  vertical-align: middle;
}

.custom-dropdown-wrapper {
  position: relative;
  z-index: 1050;
}

.custom-dropdown {
  position: relative;
  width: 100%;
  background: linear-gradient(to right, #003164, #0A0915);
  border-radius: 14px;
}

.selected-option {
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 500;
  user-select: none;
  transition: all 0.3s ease;
}

.selected-option:hover {
  border-color: rgba(33, 212, 150, 0.4);
}

.selected-option span {
  color: #ffffff !important;
}

.arrow-img {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.custom-dropdown.open .selected-option .arrow-img {
  transform: rotate(180deg);
}

.dropdown-options {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 100%;
  max-height: 340px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0B192C;
  border-radius: 14px;
  z-index: 9999;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  padding: 6px 0;
}

/* Custom scrollbar for mobile/tablet */
.dropdown-options::-webkit-scrollbar {
  width: 6px;
}
.dropdown-options::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}
.dropdown-options::-webkit-scrollbar-thumb {
  background: rgba(33, 212, 150, 0.4);
  border-radius: 8px;
}
.dropdown-options::-webkit-scrollbar-thumb:hover {
  background: #21D496;
}

.dropdown-options .dropdown-item,
.dropdown-options .custom-dropdown-item {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #ffffff !important;
  font-size: 0.95rem;
  background: transparent !important;
  transition: background 0.2s ease, color 0.2s ease;
  border: none;
  text-decoration: none;
}

.dropdown-options .dropdown-item span,
.dropdown-options .custom-dropdown-item span {
  color: #ffffff !important;
}

.dropdown-options .dropdown-item:hover,
.dropdown-options .dropdown-item:focus,
.dropdown-options .custom-dropdown-item:hover {
  background: rgba(33, 212, 150, 0.12) !important;
  color: #21D496 !important;
}

.dropdown-options .dropdown-item:hover span,
.dropdown-options .dropdown-item:focus span,
.dropdown-options .custom-dropdown-item:hover span {
  color: #21D496 !important;
}

.dropdown-options .dropdown-item.active {
  background: rgba(33, 212, 150, 0.2) !important;
  color: #21D496 !important;
}

.dropdown-options .dropdown-item.active span {
  color: #21D496 !important;
}

.content-card {
  padding: 30px;
  border: 1px solid #FFFFFF2B;
  border-radius: 10px;
}

.industry-stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 90px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.industry-stat-box:hover {
  transform: translateY(-5px);
  border-color: #F5A623 !important;
}

.industry-stat-box .fs-md {
  font-size: 1.25rem !important;
  font-weight: 700;
}

.industry-stat-box .fs-sm {
  font-size: 0.85rem !important;
  opacity: 0.8;
}

.industry-stat-label {
  color: #21D496 !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  #navMenu {
    padding-top: 10px;
  }
}

@media (max-width: 991.98px) {
  #contentCard {
    padding: 1.5rem !important;
  }

  .industry-content-wrapper h2 {
    font-size: 1.5rem !important;
  }

  .industry-content-wrapper p {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 767.98px) {
  .industry-content-wrapper h2 {
    font-size: 1.25rem !important;
  }

  .industry-content-wrapper p {
    font-size: 14px !important;
  }

  .industry-content-wrapper .ff-primary.fs-md {
    font-size: 14px !important;
  }

  .industry-content-wrapper li span {
    font-size: 14px !important;
  }

  .industry-stat-box .fs-md {
    font-size: 14px !important;
  }

  .industry-stat-box .fs-sm {
    font-size: 12px !important;
  }
}

@media (max-width: 575.98px) {
  #contentCard {
    padding: 1.25rem 1rem !important;
  }

  .industry-content-wrapper h2 {
    font-size: 1.3rem !important;
  }

  .industry-stat-box {
    min-height: 80px !important;
    padding: 0.75rem !important;
  }

  .content-card,
  #navMenu {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }
}

/* Process Section Images & Description */
.lap-process-img,
.mobile-process-img,
.mobile-processes-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .processs-description {
    width: 100% !important;
  }
}

@media (min-width: 992px) {
  .processs-description {
    width: 50% !important;
  }
}

/* Robot Image Responsive Adjustments */
@media (min-width: 1400px) {
  .robot-img {
    max-width: 350px !important;
    margin-top: -60px;
    position: relative !important;
    margin-left: 0 !important;
  }
}

@media (min-width: 992px) and (max-width: 1395px) {
  .robot-img {
    max-width: 350px !important;
    margin-top: -60px;
    position: relative !important;
  }
}

@media (max-width: 991.98px) {
  .robot-img {
    max-width: 250px;
    display: block;
    margin: 0 auto;
  }
}

/* AOS Mobile Overrides */
@media (max-width: 768px) {

  .webbanner[data-aos],
  img[data-aos],
  [class*="banner"][data-aos],
  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Accordion Component - Scoped to FAQ container */
#accordionFlushExample {
  max-height: 52vh;
  overflow-y: auto;
}

#accordionFlushExample .accordion-item {
  background-color: transparent;
  border-top: 1px solid var(--primary-theme);
}

#accordionFlushExample .accordion-button {
  background-color: transparent;
  box-shadow: none;
  color: inherit;
}

#accordionFlushExample .accordion-button:not(.collapsed) {
  background-color: transparent;
  box-shadow: none;
  color: inherit;
}

#accordionFlushExample .accordion-button:focus {
  box-shadow: none;
}

#accordionFlushExample .accordion-button::after {
  background-image: url("https://d2q4gipm2ebkzp.cloudfront.net/img/plus.png");
}

/* Design Tokens */
:root {
  --surface: rgba(255, 255, 255, 0.03);
  --surface2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --trans: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Industry Icon */
.industry-svg-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Case Study & Tech Stack Components */
.case-study-glass-card,
.webdevelop,
.tech-item-react {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--trans);
}

.case-study-glass-card {
  background: var(--surface);
  border-radius: 30px;
  border: 1px solid var(--border) !important;
  backdrop-filter: blur(10px);
}

.tech-item-react img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.tech-item-react span {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .tech-item-react {
    gap: 10px;
    padding: 5px;
  }

  .tech-item-react img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 575.98px) {
  .tech-item-react {
    gap: 8px;
    padding: 5px;
    width: calc(50% - 1rem);
    justify-content: flex-start;
  }

  .tech-item-react img {
    width: 24px;
    height: 24px;
  }

  .tech-item-react span {
    font-size: 0.85rem;
    white-space: normal;
    text-align: left;
    line-height: 1.2;
  }
}

/* RPA Premium Card & Colors */
.rpa-premium-card {
  background: var(--primary-bg-color);
  border: 1px solid rgba(33, 212, 150, 0.3);
  border-radius: 20px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.rpa-premium-card:hover {
  background: #0e75530a;
  transform: translateY(2px);
  box-shadow: 0 10px 30px rgba(33, 212, 150, 0.1);
}

.benefit-icon-lg {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.rpa-premium-card h4,
.rpa-premium-card h3 {
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 1rem;
}

.rpa-premium-card p {
  color: #666666;
  line-height: 1.6;
}

.text-emerald {
  color: #21D496;
}

.theme-highlight {
  color: #21D496 !important;
}

/* Client Reviews Carousel (Testimonials) */
.web-section {
  background-color: #0a0915;
}

.our-clint {
  position: relative;
  z-index: 10;
}

.reviws-card {
  min-height: 381px !important;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 12px;
  background-color: transparent;
}

.our-clint .owl-stage {
  display: flex !important;
}

.our-clint .owl-item,
.owl-item {
  display: flex !important;
  flex: 1 0 auto !important;
  margin-right: 20px !important;
  width: 233px !important;
}

.our-clint .owl-dots {
  position: absolute;
  bottom: -18px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
}

.our-clint .owl-dots .owl-dot span {
  width: 7px !important;
  height: 7px !important;
  background: #919090 !important;
  border-radius: 50%;
  display: block;
  transition: all 0.3s ease;
  margin: 0 !important;
}

.our-clint .owl-dots .owl-dot.active span {
  background: var(--primary-bg-color) !important;
}

.our-clint .owl-carousel button.owl-dot,
.our-clint .owl-carousel button.owl-dot.active {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 3px !important;
  box-shadow: none !important;
}

.our-clint .owl-theme .owl-nav {
  position: absolute;
  bottom: -25px;
  right: 0;
  display: flex;
  gap: 8px;
}

.business-content {
  position: relative;
}

.business-content::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 68%;
  background-image: url(https://d2q4gipm2ebkzp.cloudfront.net/img/product-development/rightshadow.png);
  z-index: 0;
  background-repeat: no-repeat;
  background-position: right;
}

.business-content::before {
  content: "";
  position: absolute;
  bottom: -31px;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(https://d2q4gipm2ebkzp.cloudfront.net/img/mobile/rightcurve.png);
  z-index: 0;
  background-repeat: no-repeat;
  background-position: left;
}

@media (max-width: 1399.98px) and (min-width: 992px) {
  .reviws-card {
    min-height: 457px !important;
  }
}

@media (max-width: 767.98px) and (min-width: 576px) {
  .reviws-card {
    min-height: 464px !important;
  }
}

@media (max-width: 576px) and (min-width: 387px) {
  .reviws-card {
    min-height: 464px !important;
  }
}

@media (max-width: 387.98px) {
  .reviws-card {
    min-height: 506px !important;
  }
}

/* Custom CTA Card Background */
.expert-cta-card {
  background-image: url("https://d2q4gipm2ebkzp.cloudfront.net/img/gen-ai/expertcard.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.expert-card .head-content {
  color: #1a1a1a;
  font-family: var(--ff-primary);
}

.expert-card .primary-theme {
  color: #555;
  margin-bottom: 0.5rem;
}

.expert-card .robot-img {
  max-width: 100%;
  max-height: 250px;
  height: auto;
  object-fit: contain;
}

@media (min-width: 992px) {
  .expert-card .robot-img {
    max-width: 320px;
    max-height: 280px;
    margin-top: -28px;
  }
}