@import url('https://fonts.googleapis.com/css2?family=Public+Sans&display=swap');
body {
  font-family: "Kanit", sans-serif;
  font-size: 16px;
  /* color: #313B43; */
  color: #475156;
}

a {
  color: inherit;
}

p {
  font: normal 18px "Kanit", sans-serif;
}

.fnt-vietnam-bold {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 700 !important;
}

.fnt-vietnam {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 200;
}

.fnt-vietnam-medium {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 400;
}

.fnt16 {
  font: normal 16px "Kanit", sans-serif;
}

.fnt16-semibold {
  font: 600 16px "Kanit", sans-serif;
}

.fnt16 {
  font-size: 16px;
}
.fnt18 {
  font-size: 18px;
}

.fnt24 {
  font-size: 24px;
}

.mt1px {
  margin-top: 1px;
}

.hero-banner-wrap {
  /* background-image: url("../imgs/hero-banner.png"); */
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  background-position: 100%;
  display: flex;
  align-items: center;
}

.hero-banner-wrap::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(11, 33, 45, 0) 56%, #0D212E 100%);
}

.banner-actions .placeholder-imgs img {
  height: 35px;
  width: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -18px;
}

.hero-banner-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: calc(100vh - 245px);
}

.hero-banner-content {
  position: relative;
  z-index: 2;
}

.header-btn-group {
  display: flex;
  gap: 1rem;
}

.application-steps-wrap {
  padding-top: 40px;
}

.application-steps-wrap .count {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 10px;
  font-size: 41px;
  font-family: Kanit;
  font-weight: 700;
  min-width: 60px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #313B43;
}

.application-steps-wrap .step-card {
  display: flex;
  gap: 20px;
  align-items: center;
}

.navbar-brand img {
  height: 79px;
}

.wrap-bg-dark {
  background-color: #111D15;
}

.main-wraper-home section {
  padding: 60px 0;
}
.license-steps-wrap b, .license-steps-wrap strong {
  font-weight: 600;
    color: #5283B1;
}
.license-steps-wrap .license-step img {
  height: 90px;
  margin-bottom: 25px;
}

.license-steps-wrap .license-step {
  position: relative;
  text-align: center;
  padding: 70px 32px 34px;
  border-top-left-radius: 180px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  border: 1px solid #9B9B9B;
  margin: 0 26px;
}

.license-steps-wrap .license-step:hover {
  border-color: #5283B1;
}

.license-steps-wrap .license-step:hover .top-count {
  -webkit-text-stroke-color: #5283B1;
}

.license-steps-wrap .license-step .top-count {
  position: absolute;
  top: 0;
  background-color: #fff;
  padding: 0 3px;
  display: inline-flex;
  width: 104px;
  height: 70px;
  align-items: center;
  align-items: center;
  left: -23px;
  justify-content: center;
}

.outlined-text {
  -webkit-text-stroke: 1px #313B43;
  -webkit-text-fill-color: transparent;
  font-size: 64px;
  font-weight: 600;
}
.agriculture-slider-wrap {
  background-image: url('../imgs/agriculture-color.png');
  padding: 40px 50px;
  background-size: 100% 70%;
  background-position: top;
  background-repeat: no-repeat;
}
.agriculture-inner-card h5 b, .agriculture-inner-card h5 strong {
  font-size: 24px;
  color: #5283B1;

}
.license-suggestions-wrap h2 strong, .license-suggestions-wrap h2 b {
  color: #5283B1;
  font-weight: 600;
}
.agriculture-inner-card .search-input::placeholder {
  color: #818C95;
}

.agriculture-inner-card .search-input {
  padding-left: 45px;
}

.agriculture-inner-card .icon-search {
  position: absolute;
  top: 12px;
  left: 14px;
  color: #282F35;
}

.agriculture-info-slider .active-slide-card {
  background-image: url('../imgs/blue-patren.png');
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  position: absolute;
  padding: 25px;
  right: 50px;
  max-width: 45%;
}

.verticle-slide-thumbs li {
  font-size: 24px;
  border-left: 6px solid #fff;
  padding: 7px 0 7px 20px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.verticle-slide-thumbs li.active {
  border-color: #314F66;
  color: #314F66;
}

.verticle-slide-thumbs .slide-down {
  position: absolute;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #fff;
  bottom: -70px;
  left: 30px;
  font-size: 20px;
  height: 50px;
  width: 50px;
  line-height: 50px;
  text-align: center;
}

.verticle-slide-thumbs ul {
  max-height: 53vh;
  overflow-y: auto;
}

.verticle-slide-thumbs ul::-webkit-scrollbar {
  display: none;
}

.overlayer-content {
  padding: 20px 40px;
  margin-top: 30px;
}

.agriculture-info-slider .main-bg-img img {
  border-radius: 27px;
  object-fit: cover;
}

.slide-feature-tag {
  position: absolute;
  background-color: #239F7A;
  color: #fff;
  top: -18px;
  right: 50px;
  padding: 8px 30px;
  border-radius: 40px;
}

.agriculture-info-slider .main-bg-img::before {
  background: linear-gradient(180deg, rgba(102, 102, 102, 0.29) 0%, rgba(0, 0, 0, 0.29) 100%);
  border-radius: 27px;
  content: '';
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

.suggestions-card {
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid #C4C7CA;
  transition: all .3s ease;
  display: inline-block;
  text-decoration: none;
}
.suggestions-card:hover, .contact-info-card:hover {
  border-color: #5283B1;
  box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.3);
  transition: all .3s ease;
}
.suggestions-card .industry-type .fnt-bold {
  font-weight: 600;
}

.suggestions-card .industry-type .icon {
  color: #4A6B85;
  margin-right: 6px;
}

.suggestions-card .industry-description {
  margin-top: 4px;
  font-size: 17px;
  min-height: 49px;
  margin-bottom: 0;
}

.suggestions-card .arrow-link {
  border: 1px solid;
  height: 34px;
  width: 34px;
  min-width: 34px;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  cursor: pointer;
}

.testimonial-wrap {
  background-image: url('../imgs/testimonial-bg.png');
}

.testimonial-description {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testmonial-nav {
  border: 1px solid #141414;
  border-radius: 8px;
  height: 50px;
  width: 50px;
  line-height: 50px;
  font-size: 20px;
}

.testmonial-nav.active {
  background-color: #141414;
  color: #fff;
}

.testimonial-card {
  padding: 20px;
  background: white;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  border: 1px #C9C9C9 solid;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  display: inline-flex
}

.testimonial-card .client-img {
  height: 210px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  object-position: top;
}

.testimonial-card .icon-star.high {
  color: #FF9800;
}

.text-light-grey {
  color: #666666;
}

.text-grey-secondary {
  color: #636A71;
  font-weight: 500;
}

.text-grey-regular {
  color: #636A71;
}

.footer-top-inner {
  padding: 70px 0 6px;
}

.footer-top-inner * {
  font-family: "Be Vietnam Pro", sans-serif;
  /* font-weight: 200; */
}

.footer .copyright {
  padding: 16px 0 12px;
  border-top: 1px solid;
  font-weight: 300;
}

.footer-nav a {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav {
  margin-top: 18px;
}

.footer .f-widget-title>.fnt-vietnam-bold {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
}

.newsletter-col .form-control {
  background-color: transparent;
  border-color: #808080;
  color: #808080 !important;
  min-height: 44px;
}

.newsletter-col .form-control::placeholder {
  color: #808080 !important;
}

.text-highlight {
  color: #5283B1;
}

.text-highlight-dark {
  color: #7299BE;
}

.text-highlight-blue {
  color: #4A6B85;
}

.govt-department-wrap .govt-bg {
  /* background-image: url('../imgs/govt-bg.png');
  min-height: 72vh; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-repeat: no-repeat;
}

.govt-department-wrap .govt-bg img {
  height: 162px;
}

.govt-logo-md-wrap {
  display: none;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.govt-dept-logo img {
  background-color: #fff;
  padding: 20px;
  display: block;
  box-shadow: 0px 17.94871711730957px 12.820512771606445px rgba(22.72, 94.44, 188.06, 0.08);
}

.govt-dept-logo.left-col {
  order: -1;
}

.govt-dept-logo.left-col img:first-child {
  transform: translate(130px, -30px);
}

.govt-dept-logo.left-col img:last-child {
  transform: translate(70px, 30px);
}

.govt-dept-logo.right-col img:last-child {
  transform: translate(-70px, 60px);
}

.govt-dept-logo.right-col img:first-child {
  transform: translateX(-80px, -80px);
}

.contact-info-card .contact-icon span[class^="icon-"] {
  line-height: 50px !important;
}
.contact-info-wrap .contact-icon {
  height: 50px;
  width: 50px;
  min-width: 50px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  background-color: #4A6B85;
  color: #fff;
  font-size: 20px;
  margin-right: 12px;
}

.contact-info-card {
  padding: 32px 20px;
  background-color: #F1F1F1;
  border-radius: 12px;
  border: 1px solid transparent;
}

.contact-info-card:hover {
  background-color: #f5faff;
  border-color: #719ac0;
}

.enquiry-bg-content {
  background-image: url('../imgs/blue-patren.png');
  padding: 60px;
  border-radius: 20px;
  background-repeat: no-repeat;
  background-size: cover;
}

.enquiry-form .form-group {
  position: relative;
}

.enquiry-form .form-group .icon,
.enquiry-form .form-group img {
  position: absolute;
  left: 11px;
}

.enquiry-form .form-group .icon {
  top: 19px;
  font-size: 20px;
  color: #666666;
}

.enquiry-form .form-group img {
  top: 22px;
  max-width: 20px;
}

.enquiry-form .form-group .form-control {
  padding: 16px 12px 16px 38px;
}

.cms-banner-wrap {
  background-image: url('../imgs/cms-bg.png');
}

.cms-banner-wrap .cms-title {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  font-weight: 500;
  font-size: 55px;
  color: #fff;
}

.cms-banner-wrap .cms-title::after {
  position: absolute;
  content: '';
  bottom: 0;
  left: 20%;
  height: 2px;
  background-color: #D2D9C7;
  width: 60%;
}

.our-stat-wrap {
  background-color: #EEE3A7;
}

.stat-info-card {
  padding: 50px;
}

.stat-info-card .stat-card-item {
  position: relative;
}
.stat-column {
  position: relative;
}
.stat-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
/* .stat-info-card .stat-column:not(:last-child) .stat-card-item::before {
  background-color: #FFF;
  height: 100%;
  width: 1px;
  position: absolute;
  right: -25%;
  top: 0;
  content: '';
} */

.logo-slider img {
  height: 70px;
}

.cms-rounded-top {
  background-color: #fff;
  border-top-left-radius: 70px;
  border-top-right-radius: 70px;
  margin-top: -60px;
  z-index: 2;
  position: relative;
}

section.cms-banner-wrap {
  padding: 90px 0 130px;
}

.mission-bg-container {
  background-image: url('../imgs/vision-bg.png');
  padding: 0 50px;
  border-radius: 20px;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background-color: rgb(144, 144, 144);
}

::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.our-team-card img {
  height: 300px;
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
}

.our-team-card .team-info-wrap {
  background-color: #F5F7FA;
  padding: 16px;
  text-align: center;
  border-radius: 8px;
  width: 90%;
  margin: 0 auto;
  margin-top: -40px;
  position: relative;
}

.text-link {
  color: #7299BE;
}

.our-vision-mission-wrap .img-fluid {
  height: 340px;
  border: 5px solid #7299BE;
  width: 100%;
  object-fit: cover;    border-radius:20px;
}

.our-vision-wrap {
  margin-top: 80px;
}

.our-vision-mission-wrap .icon {
  font-size: 50px;
  color: #7299BE;
  margin-right: 20px;
}

.contact-form-card {
  background-color: #FBFBFB;
  border-radius: 20px;
  padding: 80px;
}

.contact-form-card .form-control {
  box-shadow: 0px 5.375px 6.718750476837158px rgba(0, 0, 0, 0.03);
  border: 1px solid #F3F3F3;
  border-radius: 5px;
}

.setup-steps-slider {
  display: flex;
  gap: 20px;
}

.setup-steps-slider .setup-step-card {
  border-radius: 20px;
  padding: 30px 25px;
  background-color: #DCE5EE;
}

.setup-steps-slider .step-count {
  font-size: 5.5rem;
}

.owl-item:nth-child(2) .setup-steps-slider .setup-step-card {
  background-color: #E7E9E0;
}

.owl-item:nth-child(3) .setup-steps-slider .setup-step-card {
  background-color: #F6EDB9;
}

.setup-steps-slider .step-info {
  font-size: 14px;
  color: #636A71;
}

.text-gold {
  color: #6D6A59;
}

.blue-bg {
  background-color: #5D7A91;
}

.mainland-service-bg {
  /* background-image: url('../imgs/mainland-bg.png'); */
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.mainland-service-bg::before {
  background: linear-gradient(270deg, rgba(98.60, 157.55, 204, 0) 0%, #314F66 69%, #314F66 100%);
  content: '';
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

.mainland-right-col {
  position: relative;
  bottom: -10px;
}

.mianland-banner-text .btn-bg-light {
  color: #313B43;
}

.mianland-banner-text .aed-count {
  font-size: 3.2rem;
}

.mainland-feature-list img {
  height: 30px;
}

.ebms-info-card .img-fluid {
  height: 260px;
  width: 100%;
  border-radius: 10px;
}

section.ebms-business-wrap {
  padding: 35px 0;
}


/* category page */

.contact-info-card form .category-listing {
  padding: 8px 0px 8px 0px;
  display: flex;
  align-items: baseline;
}

.icon-search-category {
  position: absolute;
  top: 16px;
  left: 14px;
  color: #282F35;
}

.categoryPadding {
  padding: 10px 2.75rem 10px 12px;
}

.category-info-card {
  padding: 16px;
  border: 1px solid #E4E7E9;
  /* height: 250px; */
  border-radius: 12px;
  transition: all .3s ease;
}

.category-info-card:hover {
  border-color: #719ac0;
}

.category-feature-tag {
  background-color: #239F7A;
  color: #fff;
  padding: 2px 10px;
  border-radius: 40px;
  width: fit-content;
  font-size: 10px;
  font-weight: 500;
  display: inline-block;
  margin-right: 5px;
}

.category-heading {
  padding-top: 16px;
}

.category-paragraph p {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-height: 20px;
  /* fallback */
  /* max-height: 32px; */
  font-weight: 400;
  /* fallback */
  -webkit-line-clamp: 3;
  /* number of lines to show */
  -webkit-box-orient: vertical;
}

.category-list-card {
  height: 100%;
}


.pagination {
  text-align: center;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pages {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-number {
  cursor: pointer;
  background-color: white;
  color: #999;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .4s ease;
  font-family: "Public Sans", sans-serif;
  border: 1px solid #ccc;
  color: #191C1F;
}

.pagination .active {
  font-size: 14px;
  height: 40px;
  width: 40px;
  border-color: rgb(114,153,190);
  background: rgb(114,153,190);
  background: linear-gradient(90deg, rgba(114,153,190,1) 0%, rgba(127,177,223,1) 95%);
  color: white;
}

.buttoncat {
  background-color: #ffffff00;
  color: #0057b3;
  border: 2px solid #7299BE;
  cursor: pointer;
  margin: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 20px;
}

.buttoncat:hover {
  color: #0056b3;
}

.buttoncat:disabled {
  background-color: #ffffff00;
  color: #ccc;
  cursor: not-allowed;
  border-color: #ccc;
}

#prevPage {
  margin-right: 20px;
}

#nextPage {
  margin-left: 20px;
}

.arrow {
  font-size: 1.2em;
}

.nav-text {
  font-size: 0.7em;
  letter-spacing: 0.3em;
}

.sort-select-wrap select {
  min-width: 180px;
  min-height: 44px;
  padding-right: 30px;
}

.sort-select-wrap .addon-icon {
  position: absolute;
  right: 10px;
  top: 16px;
}

.common-modal .modal-content {
  border-radius: 20px;
  padding: 12px 50px 30px;
}

.common-modal.modal {
  --bs-modal-width: 700px
}

.data-field-wrap {
  margin-bottom: 38px;
}

.service-details-in-card .field-value {
  color: #475156;
}

.data-field-wrap h6 {
  font-weight: 600
}

.common-modal .modal-footer {
  border-top: 0;
  padding-top: 0;
}
/*  */
.search-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #77878F;
}
.search-input::-moz-placeholder { /* Firefox 19+ */
  color: #77878F;
}
.search-input:-ms-input-placeholder { /* IE 10+ */
  color: #77878F;
}
.search-input:-moz-placeholder { /* Firefox 18- */
  color: #77878F;
}
/*  */
.category-info-card h5 {
  font-weight: 700;
  color: #191C1F;
  font-size: 14px;
  line-height: 20px;
  min-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-height: 20px;
  /* max-height: 32px; */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.search-input, .sort-select-wrap select {
  border-radius: 2px;
  font-family: "Public Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.search-group .icon-search-category {
  right: 14px;
  left: auto;
}
/* h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
  color: #191C1F;
} */
.wrap-service-list section {
  font-size: 14px;
}
.category-list-card, .category-list-card:hover {
  border: 0;
  background-color: #FBFBFB;
}
.category-listing label {
  position: relative;
}
.category-listing label:before {
  height: 20px;
  width: 20px;
  content: '';
  display: inline-block;
  border: 1px solid #C9CFD2;
  border-radius: 15px;
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 0;
}
.category-listing label {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  padding-left: 30px;
}
.category-button .btn {
  font-size: 14px;
}
.category-listing input[type="checkbox"] {
  visibility: hidden;
  width: 0;
  height: 0;
}
.category-listing input[type="checkbox"]:checked + label:before {
  background: rgb(114,153,190);
  background: linear-gradient(90deg, rgba(114,153,190,1) 0%, rgba(127,177,223,1) 95%);
}
.category-listing input[type="checkbox"]:checked + label:after {
  width: 8px;
  height: 8px;
  background-color: #fff;
  content: '';
  display: inline-block;
  border-radius: 8px;
  left: 6.4px;
  top: 5.4px;
  position: absolute;
}
.left-heading {
  font-weight: 800;
}
.btn-outlined:hover,
.btn-outlined:focus {
  background-color: #000;
  color: #fff;
}
.btn:hover {
  transition: all .3s ease;
  box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.3);
}
.search-icon {
  right: 10px;
  top: 10px;
}
.fw-semibold {
  font-weight: 600;
}
/* index */
.row-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.col-custom {
  width: 295px;
  height: 295px;
}
.search-input-home-outer .icon-search {
  top: 15px;
}
.search-input-home {
  font-size: 18px;
}
.contact-info-card {
  display: block;
  text-decoration: none;
}
.testimonial-slider-list, .setup-steps-slider {
  margin: 0 8px;
}
div.slick-list {
  padding: 0px 50px 0 0 !important;
}
.stat-card-item span.text-grey-secondary {
  font-size: 18px;
}
.info-content h5 {
  margin-bottom: 0;
}
/* blog page */
.blog-img {
  height: 250px;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.category-info-card-blog {
  text-decoration: none;
  cursor: pointer;
}
.category-info-card-blog span {
  color: #314F66;
  text-decoration: underline;
}

.why-mainland-content h1, .why-mainland-content h2, .why-mainland-content h3, .why-mainland-content h4, .why-mainland-content h5, .why-mainland-content h6,
.why-mainland-content .h1, .why-mainland-content .h2, .why-mainland-content .h3, .why-mainland-content .h4, .why-mainland-content .h5, .why-mainland-content .h6
{
  color: #4A6B85;
}

.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;    box-shadow: -3px 0px 10px -3px rgba(0,0,0,0.5);    background-color: #fff !important;
}
.topbar{
  display: block;
  width: 100%;
  background-color: #7299BE;
  padding: 5px 40px;    background-image: linear-gradient(#7299BE, #496A85);
}
.topbar a{
  color: #FFF;
  text-decoration: none;
}
.mt-5{margin-top: 5px}
.topbar .mr-5{margin-right: 10px;}
.social-links a{margin-right: 5px;}
.social-links a img{width: 32px; height: 32px;}
.topbar a img{width: 25px; height: 25px;}
@media (max-width: 600px) {
  .topbar .social-links {
    float:none !important;
    padding: 10px 0;
  }
  .topbar .row > div {
    text-align: center;
  }
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
  border: 1px solid #7299be;
  background: #7299be;
}


.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  animation: scroll-x var(--duration) linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__group {
    animation-play-state: paused;
  }
}

.marquee--vertical {
  --mask-direction: to bottom;
}

.marquee--vertical,
.marquee--vertical .marquee__group {
  flex-direction: column;
}

.marquee--vertical .marquee__group {
  animation-name: scroll-y;
}

.marquee--reverse .marquee__group {
  animation-direction: reverse;
  animation-delay: -3s;
}

@keyframes scroll-x {
  from {
    transform: translateX(var(--scroll-start));
  }
  to {
    transform: translateX(var(--scroll-end));
  }
}

@keyframes scroll-y {
  from {
    transform: translateY(var(--scroll-start));
  }
  to {
    transform: translateY(var(--scroll-end));
  }
}

/* Element styles */
:root {
  --color-text: navy;
  --color-bg: papayawhip;
  --color-bg-accent: #F1F1F1;
  --size: clamp(10rem, 1rem + 40vmin, 30rem);
  --gap: calc(var(--size) / 14);
  --duration: 60s;
  --scroll-start: 0;
  --scroll-end: calc(-100% - var(--gap));
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-text: papayawhip;
    --color-bg: navy;
    --color-bg-accent: #F1F1F1;
  }
}

* {
  box-sizing: border-box;
}

.marquee-body {
  display: grid;
  align-content: center;
  overflow: hidden;
  gap: var(--gap);
  width: 100%;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: #FFF;
  height: 200px;
}

.marquee .item {
  display: grid;
  place-items: center;
  width: var(--size);
  fill: var(--color-text);
  background: var(--color-bg-accent);
  aspect-ratio: 16/9;
  padding: calc(var(--size) / 10);
  border-radius: 0.5rem;
}
.marquee .item img{
  max-width: 100%;
  max-height: 100%;
}
.marquee--vertical .item {
  aspect-ratio: 1;
  width: calc(var(--size) / 1.5);
  padding: calc(var(--size) / 6);
}

/* Parent wrapper */
.wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin: auto;
  max-width: 100vw;
}

.wrapper--vertical {
  flex-direction: row;
  height: 100vh;
}

/* Toggle direction button */
.toggle {
  --size: 3rem;
  position: relative;
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: var(--size);
  height: var(--size);
  font: inherit;
  text-align: center;
  cursor: pointer;
  outline: none;
  border: none;
  border-radius: 50%;
  color: inherit;
  background-color: var(--color-bg-accent);
  z-index: 1;
}

.toggle:focus-visible {
  box-shadow: 0 0 0 2px var(--color-text);
}

.toggle span {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: calc(100% + 0.4em);
  width: fit-content;
  white-space: nowrap;
  transform: translateY(-50%);
  animation: fade 400ms 4s ease-out forwards;
  user-select: none;
}

.toggle .item {
  --size: 1.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size);
  height: var(--size);
  fill: currentcolor;
  transform: translate(-50%, -50%);
  transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1);
}

.toggle--vertical .item {
  transform: translate(-50%, -50%) rotate(-90deg);
}

@keyframes fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.about-team-content img{border-radius:20px;}