/* 
  ********** Theme **********
*/

/* Embed Font */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@100;200;300;400;500;600;700&display=swap');

/* Variable */
:root {
  --primary-ci-font: 'Noto Sans Thai', 'Helvetica Neue', Arial, sans-serif;
  --primary-ci-color-110: #117518;              /* Primary Value Up         */
  --primary-ci-color-100: #00a60a;              /* Primary                  */
  /*--primary-ci-color-90: #ffdc4c;                  Primary Value Down       */
  --primary-ci-color-rgb-110: 17, 117, 24;        /* Primary RGB Value Up     */
  --primary-ci-color-rgb-100: 20, 166, 10;        /* Primary RGB              */
  /*--primary-ci-color-rgb-90: 255, 220, 76;         Primary RGB Value Down   */

  --secondary-ci-font: 'Mitr', 'Helvetica Neue', Arial, sans-serif;
  --secondary-ci-color-110: #401e74;            /* Secondary Value Up       */
  --secondary-ci-color-100: #5b388e;            /* Secondary                */
  /*--secondary-ci-color-90: #054169;                Secondary Value Down     */
  --secondary-ci-color-rgb-110: 64, 30, 116;       /* Secondary RGB Value Up   */
  --secondary-ci-color-rgb-100: 91, 56, 142;      /* Secondary RGB            */
  /*--secondary-ci-color-rgb-90: 5, 65, 105;         Secondary RGB Value Down */

  --tertiary-ci-font: 'Prompt', 'Helvetica Neue', Arial, sans-serif;
  --quaternary-ci-font: 'Noto Sans Thai', 'Helvetica Neue', Arial, sans-serif;
}

/* Add font family in main element */
body {
  font-family: var(--primary-ci-font);
}

/* Add font family in others element */
p,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
#mainMenu nav > ul > li > a,
#footer p,
#footer,
button.btn,
.btn:not(.close):not(.mfp-close),
a.btn:not([href]):not([tabindex]),
.header-extras > ul > li .topbar-dropdown > .title {
  font-family: var(--primary-ci-font);
}

/* Font Family */
.font-family-primary {
  font-family: var(--primary-ci-font);
}
.font-family-secondary {
  font-family: var(--secondary-ci-font);
}
.font-family-tertiary {
  font-family: var(--tertiary-ci-font);
}
.font-family-quaternary {
  font-family: var(--quaternary-ci-font);
}

/* Text Color */
.text-ci-primary {
  color: var(--primary-ci-color-100);
}
.text-ci-secondary {
  color: var(--secondary-ci-color-100);
}

/* Background Color */
.bg-ci-primary {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--primary-ci-color-rgb-100), var(--bs-bg-opacity)) !important;
}
.bg-ci-secondary {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--secondary-ci-color-rgb-100), var(--bs-bg-opacity)) !important;
}

/* Background Gradient Color */
.bg-ci-primary-gradient {
  background: var(--primary-ci-color-100);
  background: linear-gradient(90deg, rgba(var(--primary-ci-color-rgb-100), 1) 0%, rgba(var(--primary-ci-color-rgb-110), 1) 100%);
}
.bg-ci-secondary-gradient {
  background: var(--secondary-ci-color-100);
  background: linear-gradient(90deg, rgba(var(--secondary-ci-color-rgb-100), 1) 0%, rgba(var(--secondary-ci-color-rgb-110), 1) 100%);
}

/* Button ci primary */
.btn-ci {
  padding: 0.6rem 1rem;
  border-radius: 5px;
  transition: all .2s ease-in-out;
}
/* Button ci primary */
.btn-ci-primary {
  color: #fff;
  background-color: var(--primary-ci-color-100);
}
.btn-ci-primary:hover {
  color: #fff !important;
  background-color: var(--primary-ci-color-100);
  filter: brightness(120%);
}
.btn-ci-primary:focus,
.btn-ci-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-ci-color-rgb-100), 0.5);
}
.btn-ci-primary.disabled,
.btn-ci-primary:disabled {
  color: #fff;
  background-color: var(--primary-ci-color-100);
}
.btn-ci-primary:not(:disabled):not(.disabled):active,
.btn-ci-primary:not(:disabled):not(.disabled).active,
.show > .btn-ci-primary.dropdown-toggle {
  color: #fff;
  background-color: var(--primary-ci-color-100);
  filter: brightness(80%);
}
.btn-ci-primary:not(:disabled):not(.disabled):active:focus,
.btn-ci-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-ci-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-ci-color-rgb-100), 0.5);
}
/* Button ci secondary */
.btn-ci-secondary {
  color: #fff;
  background-color: var(--secondary-ci-color-100);
}
.btn-ci-secondary:hover {
  color: #fff !important;
  background-color: var(--secondary-ci-color-100);
  filter: brightness(120%);
}
.btn-ci-secondary:focus,
.btn-ci-secondary.focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--secondary-ci-color-rgb-100), 0.5);
}
.btn-ci-secondary.disabled,
.btn-ci-secondary:disabled {
  color: #fff;
  background-color: var(--secondary-ci-color-100);
}
.btn-ci-secondary:not(:disabled):not(.disabled):active,
.btn-ci-secondary:not(:disabled):not(.disabled).active,
.show > .btn-ci-secondary.dropdown-toggle {
  color: #fff;
  background-color: var(--secondary-ci-color-100);
  filter: brightness(80%);
}
.btn-ci-secondary:not(:disabled):not(.disabled):active:focus,
.btn-ci-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-ci-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--secondary-ci-color-rgb-100), 0.5);
}

/* New class */
.ctrl-text-editor img {
  max-width: 100%;
  width: auto;
  margin: auto;
  /* display: flex; */
}
.ctrl-text-editor table {
  border-collapse: collapse;
  width: 100%;
  font-family: Arial, sans-serif;
}
.ctrl-text-editor td, th {
  border: 1px solid #ddd;
  padding: 8px;
  vertical-align: middle;
}
.ctrl-text-editor tr:nth-child(even) {
  background-color: #f4f4f4;
}
.line-height-normal {
  line-height: normal;
}

/* 
  ********** Custom Theme **********
*/

/* Navbar */
.custom-theme #logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-theme #logo a {
  display: flex !important;
  align-items: center;
}
.custom-theme #logo img {
  height: 50px !important;
}
@media (max-width: 768px) {
  .custom-theme #logo img {
    height: 45px !important;
  }
}
.custom-theme #topbar {
  background: var(--primary-ci-color-100) !important;
}
.custom-theme .topbar-line a,
.custom-theme #topbar i.fab.fa-line {
  color: #fff;
}
.custom-theme #topbar a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.custom-theme #mainMenu nav > ul > li:hover >a, 
.custom-theme #mainMenu nav > ul > li.active >a,
.custom-theme #header.header-sticky #mainMenu nav > ul > li:hover > a, 
.custom-theme #header.header-sticky #mainMenu nav > ul > li.active > a {
  padding: 12px 10px;
  background-color: transparent;
  color: var(--primary-ci-color-100);
  border: solid 1px var(--primary-ci-color-100);
  border-width: 0 0 2px 0;
}
.custom-theme #mainMenu nav > ul > li .dropdown-menu li a:hover {
  background: var(--primary-ci-color-100);
}
.custom-theme #mainMenu nav > ul > li .dropdown-menu {
  border-top: 1px solid var(--primary-ci-color-100);
}
.custom-theme #mainMenu nav > ul > li.dropdown > a:after,
.custom-theme #mainMenu nav > ul > li.dropdown:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f0d7";
  font-size: 14px;
  color: var(--primary-ci-color-100);
  margin-left: 3px;
}
.custom-theme #mainMenu nav > ul > li > a {
  letter-spacing: 1px;
  padding: 10px 10px;
}
.custom-theme #header.header-sticky #mainMenu nav > ul > li > a {
  padding: 0 10px;
}

/* Footer */
.custom-theme footer {
  background: none;
}
.custom-theme a.btn-social {
  width: 35px;
  height: 35px !important;
  padding: 0 !important;
}

/* Button custom theme */
.custom-theme .btn, 
.custom-theme button.btn, 
.custom-theme .btn:not(.close):not(.mfp-close), 
.custom-theme a.btn:not([href]):not([tabindex]) {
  background: var(--primary-ci-color-100);
  border-color: transparent;
  border-radius: 5px;
}
.custom-theme .btn:hover, 
.custom-theme button.btn:hover, 
.custom-theme button.btn:focus, 
.custom-theme button.btn:not(:disabled):not(.disabled):active, 
.custom-theme button.btn:not(:disabled):not(.disabled).active, 
.custom-theme .btn:not(.close):not(.mfp-close):hover, 
.custom-theme .btn:not(.close):not(.mfp-close):focus, 
.custom-theme .btn:not(.close):not(.mfp-close):not(:disabled):not(.disabled):active, 
.custom-theme .btn:not(.close):not(.mfp-close):not(:disabled):not(.disabled).active, 
.custom-theme a.btn:not([href]):not([tabindex]):hover, 
.custom-theme a.btn:not([href]):not([tabindex]):focus, 
.custom-theme a.btn:not([href]):not([tabindex]):not(:disabled):not(.disabled):active, 
.custom-theme a.btn:not([href]):not([tabindex]):not(:disabled):not(.disabled).active, 
.custom-theme .btn-circle:hover {
  background: rgba(var(--primary-ci-color-rgb-100), 1);
  border-color: transparent;
  filter: brightness(120%);
}

/* Dropdown */
.custom-theme .dropdown-toggle::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f0d7";
  font-size: 14px;
  color: var(--primary-ci-color-100);
  display: initial;
  margin-left: 0;
  vertical-align: 0;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left:none
}
.custom-theme .accordion .ac-item .ac-title:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f067";
  color: var(--primary-ci-color-100);
}
.custom-theme .accordion .ac-item.ac-active .ac-title:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f068";
}
.custom-theme #mainMenu nav > ul > li .dropdown-menu > li:hover > a {
  color: var(--primary-ci-color-100);
}

/* Dropdown Submenu  */
.custom-theme #mainMenu nav > ul > li .dropdown-submenu:before {
  line-height: 40px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f0da";
  opacity: .6;
  position: absolute;
  right: 16px;
  color: #262626;
  font-size: 12px;
  transition: all .2s ease;
}
.custom-theme #mainMenu nav > ul > li .dropdown-submenu > .dropdown-menu {
  margin-left: 0;
  left: 100%;
  top: 6px;
  z-index: 1;
}

/* Flickity Slide */
.custom-theme .sec-product-cat .flickity-viewport,
.custom-theme .sect-news-grid .flickity-viewport {
  padding: 0.75rem 0 0 0;
}
.custom-theme .flickity-page-dots .dot {
  box-shadow: inset 0 0 0 1px #fff;
  background-color: rgba(0, 0, 0, 0.2);
}
.custom-theme .flickity-page-dots .dot:after {
  background-color: var(--primary-ci-color-100);
  box-shadow: inset 0 0 0 1px #fff;
}
.custom-theme .flickity-button.next:before {
  margin-left: 0;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
  content: "\f054";
  font-size: 14px;
}
.custom-theme .flickity-button.previous:before {
  margin-right: 0;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
  content: "\f053";
  font-size: 14px;
}
.custom-theme .flickity-button {
  background: var(--primary-ci-color-100);
}
.custom-theme .flickity-button:hover {
  background: var(--primary-ci-color-100);
  filter: brightness(120%);
}
.custom-theme .swiper-button-next, 
.custom-theme .swiper-button-prev {
  color: var(--primary-ci-color-100);
}
/* Index Slider Controler for Multi Media */
.custom-theme .slider-text-ctrl {
  /* position: relative;
  height: calc(100vh - 200px); */
  width: 100%;
  height: 100%;
}
/* @media (max-width: 768px) {
  .custom-theme .slider-text-ctrl {
    height: calc(100vh - 200px);
  }
} */
.custom-theme .slider-text-ctrl::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 100%);
}
.custom-theme .slider-media-ctrl {
  /* height: 100%; */
  height: calc(100vh - 200px);
}
.custom-theme .polo-carousel-item img,
.custom-theme .polo-carousel-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.custom-theme .slider-text-over {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto 0 0;
  padding: 0 0 0 15%;
}
@media (max-width: 992px) {
  .custom-theme .slider-text-over { 
    padding-left: 15%;
    padding-right: 15%;
  }
}
.custom-theme .slider-text-over-title {
  font-size: 4rem;
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.custom-theme .slider-text-over-desc {
  font-size: 1.5rem;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 768px) {
  .custom-theme .slider-text-over-title {
    font-size: 3rem;
  }
}

/* Product Details Thumbnial Slide */
.custom-theme .swiper-button-next-thumb,
.custom-theme .swiper-button-prev-thum {
  color: var(--primary-ci-color-100);
}
.custom-theme .swiper-button-next-thumb::after {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
  content: "\f054";
  font-size: 14px;
}
.custom-theme .swiper-button-prev-thumb::after {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
  content: "\f053";
  font-size: 14px;
}
.custom-theme .swiper-button-next-thumb:hover, .swiper-button-prev-thumb:hover {
  background: var(--primary-ci-color-100);
  color: #fff;
  border-color: var(--primary-ci-color-100);
  box-shadow: 0 5px 15px rgba(var(--primary-ci-color-rgb-100), 0.4);
  transform: translateY(-50%) scale(1.1);
}
.custom-theme .swiper-button-next-thumb, 
.custom-theme .swiper-button-prev-thumb {
  top: auto;
  bottom: 30px;
  color: var(--primary-ci-color-100);
}
.custom-theme .swiper.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--primary-ci-color-100);
  box-shadow: 0 4px 12px rgba(var(--primary-ci-color-rgb-100), 0.4);
}

/* Button go to top */
#scrollTop i {
  background-color: var(--primary-ci-color-100) !important;
}

/* Pagiantion */
.custom-theme .pagination .page-item:not(.disabled).active>.page-link, 
.custom-theme .pagination .page-item:not(.disabled):active>.page-link, 
.custom-theme .pagination .page-item:not(.disabled):focus>.page-link, 
.custom-theme .pagination .page-item:not(.disabled):hover>.page-link {
  background-color: var(--primary-ci-color-100);
  border-color: var(--primary-ci-color-100);
}
.custom-theme .article-title {
  color: #000;
}


/* ===
Custom Layout 
- You can remove all the code below. 
- Code Depend on project
=== */

/* Cover on Subpage */
.custom-theme .bg-cover .cover-text, 
.custom-theme .breadcrumb-item+.breadcrumb-item::before, 
.custom-theme .breadcrumb-item a {
  color: #fff;
}
.custom-theme .breadcrumb-item a:not(.btn):not(.badge):hover, 
.custom-theme .breadcrumb-item a:not(.btn):not(.badge):focus, 
.custom-theme .breadcrumb-item a:not(.btn):not(.badge):active {
  color: var(--primary-ci-color-100);
}
.custom-theme .bg-cover {
  position: relative;
  background-image: url('../images/cover/bg-cover-01.jpg');
  background-size: cover;
  background-position: center;
}
.custom-theme .bg-cover::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
  /* background: linear-gradient(135deg,rgba(var(--secondary-ci-color-rgb-100), 0.7) 0%, rgba(var(--secondary-ci-color-rgb-110), 0.9) 100%);
  backdrop-filter: blur(5px); 
  -webkit-backdrop-filter: blur(5px) */
}
.custom-theme .bg-cover-02 {
  position: relative;
  background-image: url('../images/cover/bg-cover-01.jpg');
  background-size: cover;
  background-position: center;
}
.custom-theme .bg-cover-02::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--secondary-ci-color-100);
  background: linear-gradient(90deg, rgba(var(--secondary-ci-color-rgb-100), 0.7) 0%, rgba(var(--secondary-ci-color-rgb-110), 1) 100%);
  /* background: linear-gradient(135deg,rgba(var(--secondary-ci-color-rgb-100), 0.7) 0%, rgba(var(--secondary-ci-color-rgb-110), 0.9) 100%);
  backdrop-filter: blur(5px); 
  -webkit-backdrop-filter: blur(5px) */
}

/* --- Section: About --- */
.feature-icon {
  transition: transform 0.3s ease;
  margin: 3.5rem auto;
}
.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* --- Section: Our Product --- */
.hover-card {
  border: none;
  border-radius: 15px;
  background: #fff;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  overflow: hidden;
  height: 100%;
}
.hover-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.hover-card:hover .card-img-top {
  transform: scale(1.1);
}
.btn-icn i {
  opacity: 0;
  margin-left: -10px;
  transition: all 0.3s;
}
.btn-icn:hover i {
  opacity: 1;
  margin-left: 5px;
}
.img-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.75rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
  text-align: center;
}
.hover-card:hover .img-text-overlay {
  opacity: 0;
}
.hover-card .text-inner {
  position: absolute;
  color: white;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.hover-card .text-inner a {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
}
.hover-card .text-inner a:hover,
.hover-card .text-inner a:focus,
.hover-card .text-inner a:active {
  color: var(--primary-ci-color-100)
}
.hover-card .link-inner {
  padding: 2rem;
  text-align: center;
}
.hover-card .link-inner a {
  color: #000;
  font-size: 1.5rem;
  font-weight: bold;
}
.hover-card .link-inner a:hover,
.hover-card .link-inner a:focus,
.hover-card .link-inner a:active {
  color: var(--primary-ci-color-100)
}

/* --- Solutions Page --- */
.solutions-card {
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  transition: all 0.3s ease;
  overflow: hidden;
  /* cursor: pointer; */
  margin: 0;
}
.solutions-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: transparent;
}
.solutions-card img {
  transition: transform 0.5s ease;
}
.solutions-card:hover img {
  transform: scale(1.1);
}
.solutions-card .deco-line::after {
  content: '';
  display: block;
  width: 32px;
  height: 4px;
  background-color: var(--secondary-ci-color-100);
  border-radius: 99px;
  margin: 12px auto 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.solutions-card:hover .deco-line::after {
  opacity: 1;
}

/* Product Group Page */
.sec-why-us {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  height: 100%; /* Equal height cards */
  border: 1px solid #e9ecef;
}
.sec-why-us:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  border-color: #198754; /* Green border on hover */
}
.sec-why-us .icn-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #e8f5e9; /* Light green background */
  color: #198754; /* Bootstrap success color */
  border-radius: 50%;
  flex-shrink: 0;
}

/* Swiper Auto Height */
.custom-theme .gallery-top {
  height: auto !important;
  min-height: 300px;
}
.custom-theme .gallery-top .swiper-wrapper {
  align-items: flex-start;
}
.custom-theme .gallery-top .swiper-slide {
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-theme .gallery-top .swiper-zoom-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-theme .gallery-top .swiper-zoom-container img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Link Card */
.link-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
  background-color: white;
}
.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
.minimal-card {
  border-left: 5px solid var(--primary-ci-color-100);
}

/* Product Detail Tab */
.custom-tabbar {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  border-bottom: 1px solid #ddd;
  align-items: flex-end;
}
.tab-item {
  flex: 1;
  position: relative;
  text-align: center;
}
.tab-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 0;
  color: #000;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
  cursor: pointer;
  font-size: 1.25rem;
}
.tab-link:hover {
  color: var(--primary-ci-color-100) !important;
}
.tab-link.active {
  color:  var(--primary-ci-color-100);
  font-weight: 500;
}
.tab-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-ci-color-100);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}
.tab-link.active::after,
.tab-link:hover::after {
    transform: scaleX(1);
}