#innerTab .nav-link {
  transition: all 0.3s ease;
}
#innerTab .nav-link:hover {
  background-color: var(--secondary-color);
  color: #fff;
  border-color: var(--primary-color);
}
#innerTab .nav-link.active {
  background-color: var(--secondary-color);
  color: white !important;
  border-color: var(--primary-color);
}

/* Base animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
}

/* Tab styles */
.tab-nav {
  width: fit-content;
  justify-self: center;
  margin-bottom: 5px;
  background: white;
  border-radius: 25px;
  padding: 5px;
}

.tab-nav button {
  padding: 4px 10px;
  margin: 0 5px;
  background: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 500;
  transition: all 0.3s;
}

.tab-nav button.active {
  background: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.tab-panel img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#hero-tab.tab-content {
  width: 70%;
  justify-self: center;
  max-width: 100%;
  overflow: hidden;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Animated text */
.animated-text {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  line-height: 1;
  min-height: 1.2em;
}

.word {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform-origin: left center;
}

.word.active {
  opacity: 1;
  pointer-events: auto;
}

.letter {
  display: inline-block;
  transform: translateZ(25px);
  transform-origin: 50% 50% 25px;
}

.letter.out {
  transform: rotateX(90deg);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.55, 0.055, 0.675, 0.19),
    opacity 0.32s ease;
}

.letter.behind {
  transform: rotateX(-90deg);
  opacity: 0;
}

.letter.in {
  transform: rotateX(0deg);
  opacity: 1;
  transition: transform 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.38s ease;
}

/* for load more button in  */
.hidden {
  display: none !important;
}

/* Progress bar card */
.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
  color: #000;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.progress-container {
  position: relative;
  margin-bottom: 20px;
  height: 16px;
}

.progress-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f0f0f0;
  border-radius: 20px;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 20px;
  width: 0%;
}

.progress-icon {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
  border: 3px solid white;
  transition: transform 0.2s ease;
}

.progress-icon:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.progress-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.counter {
  font-size: 2.5rem;
  font-weight: 600;
  color: #024397;
}

.counter span {
  color: #024397;
}

/* Feature card */
.feature-card {
  border-radius: 0.5rem;
  background-color: #fff;
  border: 2px solid #ffbb99;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Certificate item */
.cert-item {
  position: relative;
  text-align: center;
  cursor: pointer;
}

.cert-circle {
  width: 120px;
  height: 120px;
  border: 2px solid #01295c;
  background: white;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.cert-circle img {
  max-width: 70%;
  max-height: 70%;
}

.cert-item:hover .cert-circle {
  transform: scale(1.1);
  border-color: #ff681e;
  box-shadow: 0 0 15px rgba(255, 104, 30, 0.4);
}

.cert-detail {
  opacity: 0;
  font-size: 14px;
  line-height: 1.3;
  margin-top: 10px;
  transition: opacity 0.3s ease;
}

.cert-item:hover .cert-detail {
  opacity: 1;
}

/* Developer section */
.dev-sec-bg {
  background-image: url("/image/elements/dev-sec-bg.webp");
  background-size: cover;
  background-repeat: round;
}

@media screen and (max-width: 992px) {
  .dev-sec-bg {
    background-repeat: repeat !important;
  }

  #hero-tab.tab-content {
    width: 100%;
  }

  .animated-text {
    vertical-align: inherit !important;
    line-height: 1 !important;
    min-height: 0.8em !important;
  }
}

.circle-wrapper {
  position: relative;
  width: 250px;
  height: 250px;
  margin: auto;
  border: 2px solid #ff6a00;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-wrapper .rotating-border {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 4px dashed #ff6a00;
  /* border-top-color: #; */
  animation: rotate 30s linear infinite;
}

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

  to {
    transform: rotate(360deg);
  }
}

.circle-wrapper .center {
  position: relative;
  background: #fff;
  padding: 15px 15px;
  border-radius: 50px;
  font-weight: bold;
  color: #083d8c;
  z-index: 2;
}

.circle-wrapper .tech-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  z-index: 2;
}

.circle-wrapper .java {
  top: 10%;
  left: 0%;
}

.circle-wrapper .node {
  top: 10%;
  right: 0%;
}

.circle-wrapper .python {
  bottom: 10%;
  right: 0%;
}

.circle-wrapper .php {
  bottom: 10%;
  left: 0%;
}

/* Load more button */
.load-more-btn {
  display: none;
  margin: 20px auto;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.load-more-btn:hover {
  background-color: var(--primary-color);
}

@media (max-width: 768px) {
  .load-more-btn {
    display: block;
  }

  .product-card {
    transition: all 0.3s ease;
  }

  .product-card.hidden {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .load-more-btn {
    display: block;
  }

  .product-card {
    transition: all 0.3s ease;
  }

  .product-card.hidden {
    display: none;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stat-card {
    padding: 20px;
  }
}

@media screen and (max-width: 576px) {
  .animated-text {
    min-height: 0.8em !important;
  }
}

/* nested tabs */
.card-header {
  width: max-content;
  background-color: transparent;
  align-self: center;
}
.nav-tabs .nav-link {
  border: 0 0 1px 0;
}
.card-header-tabs .nav-link.active {
  border-bottom-color: var(--primary-color) !important;
  border-bottom-width: 2px;
  color: var(--primary-color) !important;
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  border: 0;
  border-bottom: 3px solid var(--primary-color);
}

.nav-link .active-icon {
  display: none;
  margin-right: 10px;
  width: max-content;
}
.hero {
  height: calc(var(--vh, 1vh) * 100 - 80px);
}
.nav-link .inactive-icon {
  display: inline-block;
  margin-right: 10px;
  width: max-content;
}

.nav-link.active .active-icon {
  display: inline-block;
}

.nav-link.active .inactive-icon {
  display: none;
}

@media (min-width: 576px) {
  .card-group.card-group-scroll {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}

@media screen and (max-width: 576px) {
  .card-header {
    width: fit-content !important;
  }
}

.card-group.card-group-scroll > .card {
  flex-basis: 35%;
}
