body {
  background-image: url('./../images/bg-ok9.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  font-family: "Be Vietnam Pro", sans-serif;
  width: 100%;
  position: relative;
}

.backfeature {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 35px;
  height: 35px;
}

.backfeature img {
  width: 100%;
  height: 100%;
}


.container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dp-pc {
  display: block;
}

.dp-mb {
  display: none;
}

/*====================
ok9 container
====================*/
.ok9-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/*====================
ok9 logo
====================*/
.ok9-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.logo-img {
  margin-bottom: 15px;
  max-width: 280px;
}

.logo-title {
  display: none;
  width: 85%;
}

.logo-img-mobie,
.logo-title-mobie {
  display: none;
}

/*====================
ok9 banner
====================*/
.ok9-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  width: 100%;
}

.banner-pc {
  width: 42%;
}

.banner-mobie {
  display: none;
}

/*====================
category button
====================*/
.category-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  column-gap: 1%;
  gap: 50px;
  height: 77px;
}

.category-button a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.category-button a img {
  width: 100%;
  height: auto;
}

.category-button-list {
  width: 22%;
  background-image: url('./../images/bg-category-button.png');
  background-position: center;
  background-size: 92% 75%;
  background-repeat: no-repeat;
  align-items: center;
  border-radius: 50px;
  padding: 1px;
  border: 2px solid #5c5757be;
  margin-bottom: 5px;
}

.category-button-list:hover {
  transform: translateY(-5px);
  transition: 0.5s all;
}

.category-button-list:not(:hover) {
  transition: 0.5s all;
}

.category-button-item {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.content-category-button {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #002C14;
}

/*====================
list button - SLIDER
====================*/
.list-button-container {
  width: 100%;
  max-width: 1100px;
  margin: 10px auto;
  padding: 0;
  box-sizing: border-box;
}

.list-button {
  width: 100%;
  overflow: visible;
}

.list-button-slider {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 10px;
  padding: 10px 0;
  box-sizing: border-box;
}

.list-button-slider::-webkit-scrollbar {
  height: 8px;
}

.list-button-slider::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.list-button-slider::-webkit-scrollbar-thumb {
  background: rgba(0, 103, 48, 0.5);
  border-radius: 4px;
}

.list-button-slider::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 103, 48, 0.8);
}

.list-button-slider {
  cursor: grab;
}

.list-button-slider.active {
  cursor: grabbing;
}

.list-button-item {
  flex: 0 0 auto;
  width: 120px;
  min-width: 120px;
  display: block;
  user-select: none;
  padding-top: 5px;
}

/* Responsive cho màn hình nhỏ hơn 1280px */
@media (max-width: 1279px) {
  .list-button-container {
    max-width: 921px;
  }
  
  .list-button-item {
    width: 110px;
    min-width: 110px;
  }
  
  .list-button-slider {
    gap: 8px;
  }
  
  .icon-list-button {
    width: 75px;
    height: 75px;
    object-fit: contain;
    margin-bottom: 5px;
  }
  
  .list-button-item a {
    padding: 0;
    font-size: 13px;
  }
}

/* Responsive cho màn hình dưới 1024px */
@media (max-width: 1023px) {
  .list-button-container {
    max-width: 768px;
  }
  
  .list-button-item {
    width: 100px;
    min-width: 100px;
  }
  
  .list-button-slider {
    gap: 6px;
  }
  
  .icon-list-button {
    width: 65px;
    height: 65px;
    object-fit: contain;
    margin-bottom: 4px;
  }
  
  .list-button-item a {
    padding: 0;
    font-size: 12px;
  }

  .category-button a img {
    width: 100%;
    height: auto;
  }

  .section-left {
    width: 65% !important;
  }

  .section-right {
    padding-top: 0px !important;
    width: 35%;
  }
}

/* Responsive cho màn hình dưới 992px */
@media (max-width: 991px) {
  .list-button-item {
    width: 90px;
    min-width: 90px;
  }
  
  .list-button-slider {
    gap: 5px;
  }
  
  
  .icon-list-button {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 4px;
  }
  
  .list-button-item a {
    padding: 0;
    font-size: 11px;
  }


}

/* Responsive cho màn hình dưới 768px */
@media (max-width: 767px) {
  .list-button-container {
    max-width: 100%;
    padding: 0 10px;
  }
  
  .list-button-item {
    width: 95px;
    min-width: 95px;
  }
  
  .list-button-slider {
    gap: 8px;
    padding: 8px 0;
  }
  
  .icon-list-button {
    width: 65px;
    height: 65px;
    object-fit: contain;
    margin-bottom: 5px;
  }
  
  .list-button-item a {
    padding: 0;
    font-size: 12px;
  }
  
  .content-list-button {
    font-size: 11px !important;
    line-height: 1.2;
    font-weight: 600;
  }

  .section-left {
    width: 100% !important;
  } 
}

.list-button-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s ease;
  color: #016730;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: capitalize;
  height: max-content;
  padding: 0;
  box-sizing: border-box;
}

.list-button-item a:hover {
  transform: translateY(-5px);
}

.icon-list-button {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 5px;
}


/*====================
ok9 footer
====================*/
.ok9-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 2%;
  width: 100%;
  margin: 20px;
}

.ok9-footer.dp-mb {
  display: none;
}

.footer-title,
.footer-img {
  width: 50%;
}

.footer-title p {
  font-family: "SF Pro Display";
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
  color: #0053e0;
  text-transform: uppercase;
}

.footer-img {
  text-align: left;
}

.footer-img img:hover {
  transform: translateY(5px);
  transition: 0.5s all;
}

.footer-img img:not(:hover) {
  transition: 0.5s all;
}

.footer-img img {
  width: 40%;
}

.gif-ok9 {
  position: fixed;
  top: 75%;
  right: 20px;
  width: 120px;
  z-index: 1000;
}

.gif-ok9 img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

#closeGifOk9 {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 1280px) {
  .ok9-container {
    width: 90%;
    max-width: 992px;
  }

  .category-button {
    gap:15px;
  } 
}

@media screen and (max-width: 1024px) {
  .ok9-container {
    width: 100%;
    max-width: 768px;
  }
  .content-category-button {
    font-size: 14px;
  }

  .content-list-button {
    font-size: 12px;
  }

  .list-button-slider {
    width: 100%;
  }
  
  .list-button-container {
    padding: 0 10px;
  }

  .icon-list-button {
    width: 100%;
    max-width: none;
  }

  .category-button {
    gap:0px;
  } 
}

@media screen and (max-width: 768px) {

  body {
    background-image: url('./../images/bg_ok9mb.png');
    background-color: #FFF;
    background-size: cover;
    background-position:top center;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }
  

  .ok9-logo {
    margin-top: 30px;
  }

  .ok9-logo a {
    max-width: 180px !important;
  }

  .ok9-banner {
    padding-top: 0px;
    margin-top: 5px;
  }

  .section-right {
    padding-top: 15px;
  }

  .section-right .title {
    margin-bottom: 3px;
  }

  .ok9-footer.dp-mb {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo-title,
  .footer-img {
    width: 80% !important;
  }

  .footer-title,
  .footer-img {
    width: 90% !important;
  }

  .banner-pc {
    width: 38%;
  }

  .content-category-button {
    font-size: 16px;
  }

  .category-button-list {
    width: 44% !important;
    margin: 6px 4px;
    margin-top: 5px !important;
  }

  .footer-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    height: 105px;
    gap: 35px;
    border: none;
  }

  .footer-button a {
    width: unset !important;
    margin: 0px;
    padding: 0px;
    background-image: url('./../images/bg-category-button.png');
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    align-items: center;
    border-radius: 50px;
    padding: 1px;
    margin-bottom: 5px;
  }

  .footer-button a img {
    width: auto !important;
    height: 100% !important;
  }

  .icon-category-button {
    width: 22% !important;
    margin-left: 10px;
  }

  .icon-category-dl {
    padding: 10px;
    box-sizing: border-box;
    margin-right: -4px;
    margin-left: 0px;
  }

  .list-button-slider {
    width: 100%;
    padding: 0px;
    margin: 0px auto;
  }
  
  .list-button-container {
    padding: 0 10px;
  }

  .icon-list-button {
    width: 100%;
    max-width: none;
  }

  .content-list-button {
    font-size: 3vw;
  }

  .footer-title img {
    width: 100%;
  }

  .footer-img img {
    width: 60%;
  }

  .category-button {
    gap: 3px;
    margin-top: 5px;
  }

  .dp-pc {
    display: none;
  }

  .dp-mb {
    display: block;
  }
}

@media screen and (max-width: 576px) {
  .list-button-item {
    width: 85px;
    min-width: 85px;
  }
  
  .icon-list-button {
    width: 55px;
    height: 55px;
    margin-bottom: 4px;
  }
  
  .list-button-item a {
    font-size: 11px;
  }
  
  .list-button-slider {
    gap: 6px;
  }
  
  .banner-pc {
    display: none;
  }

  .banner-mobie {
    display: block;
    width: 85%;
    margin: 0 15px;
  }

  .logo-img,
  .logo-title {
    display: none;
  }

  .logo-img-mobie {
    display: block;
    width: 90%;
    margin-bottom: 0px;
  }

  .logo-title-mobie {
    display: none;
    width: 90%;
    margin-bottom: 10px;
  }

  .content-category-button {
    font-size: 13px;
  }

  .list-button-container {
    margin: 15px auto;
  }

  .list-button-slider {
    width: 100%;
  }
  
  .list-button-container {
    padding: 0 10px;
  }

  .list-button-item {
    width: 80px;
    min-width: 80px;
  }
  
  .icon-list-button {
    width: 75px;
    height: 75px;
  }
  
  .content-list-button {
    font-size: 12px !important;
  }

  .icon-list-button {
    width: 100%;
    max-width: none;
  }

  .category-button-list {
    height: 80%;
  }

  .ok9-footer {
    margin-top: 0px;
  }

  .ok9-footer {
    flex-direction: column;
  }

  .footer-title,
  .footer-img {
    width: 100%;
    margin: 5px 0;
  }

  .footer-title p {
    text-align: center;
    font-size: 12px;
  }

  .footer-img {
    text-align: center;
  }

  .footer-img img {
    width: 35%;
  }
}

@media screen and (max-width: 430px) {
  .list-button-item {
    width: 75px;
    min-width: 75px;
  }
  
  .icon-list-button {
    width: 48px;
    height: 48px;
  }
  
  .content-list-button {
    font-size: 10px !important;
  }
  
  .list-button-slider {
    gap: 5px;
  }
  
  .logo-img-mobie {
    width: 80%;
  }

  .logo-title-mobie {
    width: 80%;
  }

  .banner-mobie {
    width: 65%;
  }

  .icon-category-button {
    width: 25%;
  }

  .content-category-button {
    font-size: 12px;
    padding-top: 4px;
  }

  .ok9-footer .content-category-button {
    font-size: 10px !important;
  }

  .list-button-slider {
    width: 100%;
  }
  
  .list-button-container {
    padding: 0 10px;
  }

  .list-button-item {
    width: 75px;
    min-width: 75px;
  }
  
  .icon-list-button {
    width: 75px;
    height: 75px;
  }

  .icon-list-button {
    width: 100%;
    max-width: none;
  }

  .footer-img img {
    width: 40%;
  }
}

@media screen and (max-width: 375px) {
  .list-button-item {
    width: 70px;
    min-width: 70px;
  }

  .content-list-button {
    font-size: 9px !important;
  }
  
  .list-button-slider {
    gap: 4px;
  }
  
  .ok9-logo {
    margin: 20px auto 15px;
  }

  .category-button {
    margin-top: 2px;
  }

  .logo-img-mobie {
    width: 100%;
  }

  .banner-mobie {
    width: 50%;
  }

  .ok9-footer {
    margin-top: 2px;
  }

  .footer-title p {
    font-size: 12px;
  }

  .content-category-button {
    font-size: 2.5vw;
  }

  .list-button-slider {
    width: 100%;
  }
  
  .list-button-container {
    padding: 0 10px;
  }

  .list-button-item {
    width: 70px;
    min-width: 70px;
  }
  
  .icon-list-button {
    width: 60px;
    height: 60px;
  }

  .icon-list-button {
    width: 100%;
    max-width: none;
  }
}

/* CSS */

.ok9-logo a {
  max-width: 350px;
  width: 100%;
}

.ok9-logo a img {
  width: 100%;
}

.logo-title-pc {
  max-width: 800px;
  width: 100%;
  margin: auto;
}

.section-banner {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  max-width: 1100px;
  width: 100%;
  margin: auto;
}

.section-left {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-left img {
  width: 75%;
  height: auto;
}

.section-right {
  padding-top: 25px;
  width: 40%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.section-right .btn-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-download .btn-download {
  width: 100%;
}

.btn-download .btn-download a {
  max-width: 400px;
  width: 100%;
}

.btn-download img {
  max-width: 350px;
  width: 100%;
}

.section-right .title {
  margin-top: 10px;
  max-width: 512px;
  width: 100%;
}

.section-right .title img {
  width: 100%;
  max-width: 350px;
}

.link {
  transition: 0.5s all;
}

.link:hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}


@media screen and (max-width: 990px) {
}

@media screen and (max-width: 767px) {
  .ok9-banner {
    margin-bottom: 0px;
  }

  .category-button {
    height: 50px;
    gap: 0px;
  }

  .category-button a {
    width: 100%;
    max-width: unset;
    padding: 0px;
    height: auto !important;
  }

  .category-button a img {
    height: auto;
    width: 100% !important;
    margin: 0px;
    padding: 0px;
  }

  .logo-title-pc {
    display: none;
  }

  .logo-title-mobie {
    display: block;
  }


  .section-banner {
    gap: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 1.2rem);
  }

  .section-left {
    margin-top: 0.5vw;
    width: 100%;
  }

  .section-right {
    padding-top: 0.5vw;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -10px;
  }

  .section-right .title img {
    max-width: 768px;
  }

  .section-right .btn-download {
    gap: 15px;
    display: flex;
    flex-direction: unset;
  }


  .slick-prev {
    left: 2px;
  }

  .slick-next {
    right: 2px;
  }

  .slick-prev::before {
    content: url(./../images/arraw-prev.png) !important;
    position: relative;
    z-index: 100000;
    left: 2px;
    top: -10px;
    height: 20px;
    width: 20px;
  }

  .slick-next::before {
    content: url(./../images/arraw-next.png) !important;
    position: relative;
    z-index: 100000;
    right: 0px;
    top: -10px;
    height: 20px;
    width: 20px;
  }
}

@media screen and (max-width: 767px) {
  .gif-ok9 {
    top: 20%;
  }
}
