.tabs-section .inner-wrapper {
  width: 100%;
}
.tabs-section .tab-header-wrap {
  text-align: center;
  max-width: 730px;
  margin: 80px auto 40px auto;
  position: relative;
  min-height: 80px;
}
.tabs-section .section-subheading .small-text, .tabs-section .tab-subheading .small-text {
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight:600;
}
.tabs-section .section-subheading .small-text span {
  color: var(--secondary-color)
}
.tabs-section .tab-header {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.tabs-section .tab-header.active {
  display: block;
}
.tabs-section .tab-header.visible {
  opacity: 1;
  transform: translateY(0);
}
.tabs-section .tab-header .section-content *,
.tabs-section .tab-header .tab-content * {
  margin-bottom: 0;
}
.tabs-section #tabs-nav {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  gap: 84px;
  border-bottom: 1px solid #749ABE;
}
.tabs-section #tabs-nav li {
  flex: 0 0 auto;
  text-align: center;
  padding: 22px 0;
  cursor: pointer;
  white-space: nowrap;
  background: transparent;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px; 
  transition: color 0.2s ease, border-color 0.2s ease;
}
.tabs-section #tabs-nav li:hover {
  color: var(--secondary-color);
  border-bottom: 1px solid var(--secondary-color);
}
.tabs-section #tabs-nav li.active {
  color: var(--secondary-color);
  border-bottom: 1px solid var(--secondary-color);
}
.tabs-section li.init {
  display: none;
}
.tabs-section .cards-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  width: 100%;
}
.tabs-section .card-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: scale(1);
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 30px 24px;
  border: 1px solid #749ABE;
  width: calc(25% - 15px); 
  box-sizing: border-box;
}
.tabs-section .card-item.filtered-out {
  pointer-events: none;
}
.tabs-section .card-content > h2,
.tabs-section .card-content > h3,
.tabs-section .card-content > h4,
.tabs-section .card-content > h5,
.tabs-section .card-content > h6 {
  margin-bottom: 18px;
}
.tabs-section .card-content-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 36px;
}
.tabs-section .card-icon {
  margin-bottom: 12px;
  padding: 12px;
  background-color: #FFE2D7;
  width: 86px;
  height: 86px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.tabs-section .card-icon img,
.tabs-section .card-icon svg {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}
.tabs-section .card-link a.button{
  font-family: 'Poppins';
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
}
.tabs-section .card-link a {
  transition: transform 0.2s ease;
}
.tabs-section .card-link a:hover::before {
  /* Slower duration (1.2s) makes it feel calmer */
  animation: subtleDownload 1.2s ease-in-out infinite;
}

@keyframes subtleDownload {
  0%, 100% {
    transform: translateY(-3px); /* Only moves up 2 pixels */
  }
  50% {
    transform: translateY(0);    /* Returns to perfect baseline */
  }
}


.tabs-section .card-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* space between text and arrow */
  text-decoration: none;
}
.tabs-section .card-link a::before {
  content: "";
  display: inline-block;
  width: 23px;
  height: 21px;
  background-image: url('https://244087754.fs1.hubspotusercontent-na2.net/hubfs/244087754/Sidecar_theme_2026/images/resources/download-icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translateX(0);
  transition: transform 0.3s ease;
}
@media only screen and (max-width: 1240px) {
  .tabs-section .card-item {
    width: calc(33.33% - 14px);
  }
}
@media only screen and (max-width: 1024px) {
  .tabs-section .card-icon {
    padding: 10px;
    width: 60px;
    height: 60px;
  }
  .tabs-section .tabs-outer-wrap .tabs {
    padding-top: 80px;
  }
  .tabs-section .tabs-outer-wrap {
    position: relative;
    width: 100%;
    z-index: 9;
  }
  .tabs-section #tabs-nav {
    display: block !important;
    border-radius: 10px;
    position: absolute;
    top: 0;
    width: 100%;
    border-bottom: none;
    z-index: 9;
  }
  .tabs-section .init:before {
    background-image: url(https://info.xsellerate.ie/hubfs/Xsellerate_Theme/Images/resources/arrow-down.svg);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 28px;
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    transition: .2s ease-in;
    width: 28px;
    z-index: 0;
  }
  .tabs-section #tabs-nav li a,  .tabs-section #tabs-nav li {
    text-align: left;
  }
  .tabs-section #tabs-nav .init {
    display: block;
    position: relative;
    cursor: pointer;
    text-align: left;
    background: var(--primary-color);
    border-radius: 5px;
    padding: 20px 18px;
    color: #fff;
    border: 0px solid var(--secondary-color);
  }
  .tabs-section #tabs-nav li:not(.init) {
    display: none;
    border-bottom: 1px solid var(--secondary-color);
    background: var(--primary-color);
    color: #fff;
    padding: 16px 18px;
    border-left: 1px solid var(--secondary-color);
    border-right: 1px solid var(--secondary-color);
  }
  .tabs-section #tabs-nav li:not(.init):hover,
  .tabs-section #tabs-nav li.active:not(.init) {
    background-color: var(--secondary-color);
    color: #000;
  }
  .tabs-section ul#tabs-nav.open li.init {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
  .tabs-section #tabs-nav.open li.init:before {
    transform: translateY(-50%) rotate(180deg);
  }
  .tabs-section #tabs-nav li.active.selected a, .tabs-section #tabs-nav li a:hover,.tabs-section #tabs-nav li.active a {
    background-color: rgb(158 228 147 / 30%);
    color: #000;
    border: none;
    border-radius: 0;
  }
  .tabs-section #tabs-nav li.selected {
    background: #eee;
  }
  .tabs-section #tabs-nav li:last-child {
    /*     border-bottom: 2px solid #e7e8e9; */
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 0 4px 6px -2px rgba(0,0,0,.1);
  }
  .tabs-section #tabs-nav li.init a {
    color: #fff;
    padding: 0;
    background: transparent;
  }
}
@media only screen and (max-width: 991px) {
  .tabs-section #tabs-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    /*     scrollbar-width: none; /* Firefox */ 
  }
  .tabs-section #tabs-nav::-webkit-scrollbar {
    /*     display: none; /* Chrome, Safari */
  }
  .tabs-section #tabs-nav li {
    flex: 0 0 auto; /* Prevents squishing on scroll */
  }
  .tabs-section .card-item {
    width: calc(50% - 10px);
  }
}
@media only screen and (max-width: 600px) {
  .tabs-section .card-item {
    width: 100%;
  }
}