/*
Theme Name: Leodigi BDS
Theme URI: https://leodigi.dev/
Author: Thắng Nguyễn
Author URI: https://leodigi.dev/
Description: Leodigi BDS
Version: 2.0
Text Domain: Leodigi.dev
*/
@font-face {
  font-family: 'Brushwell';
  font-style: normal;
  font-weight: normal;
  font-display: auto;
  src: url('fonts/NVN-Brushwell-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Conqueror';
  font-style: normal;
  font-weight: normal;
  font-display: auto;
  src: url('fonts/SVN-Conqueror-Didot.otf') format('woff2'),
    url('fonts/SVN-Conqueror-Didot.otf') format('woff');
}
@font-face {
  font-family: 'BaskervilleBook';
  font-style: normal;
  font-weight: 400;
  font-display: auto;
  src: url('fonts/SFUBaskervilleBookRegular.ttf') format('truetype');
}

@font-face {
  font-family: 'BaskervilleBook';
  font-style: normal;
  font-weight: 600;
  font-display: auto;
  src: url('fonts/SFUBaskervilleBookMedium.ttf') format('truetype');
}

@font-face {
  font-family: 'BaskervilleBook';
  font-style: italic;
  font-weight: 600;
  font-display: auto;
  src: url('fonts/SFUBaskervilleBookMediumItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'BaskervilleBook';
  font-style: normal;
  font-weight: 500;
  font-display: auto;
  src: url('fonts/SFUBaskervilleBookRegular.ttf') format('truetype');
}
body {
  font-family: 'Montserrat', Sans-serif !important;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
  color: #565656 !important;
}
.c-header {
  background: linear-gradient(to bottom, #143b62 0%, #143b62 50%, #16547b 100%);
  position: relative;
  z-index: 1;
}

.c-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, #ffe19b, #dea317, #fdd768);
  z-index: 2;
}
.ttda {
  background: linear-gradient(to bottom, #16547b 0%, #143b62 50%, #143b62 100%);
  position: relative;
  z-index: 1;
}
.brxe-container {
  width: 1324px;
}
.ttda h2,
.ttda .h2,
.bds-home h2,
.bds-home .h2,
.bds-post h2,
.bds-post .h2 {
  font-family: 'Conqueror', Sans-serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.1em;
  color: #143b62;
}
.bds-home h3,
.bds-home .h3 {
  font-family: 'Conqueror', Sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3em;
  color: #143b62;
}
.bds-post h3,
.bds-post .h3,
.bds-post div a {
  font-family: 'Conqueror', Sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 31px;
  color: #143b62;
}
/*
.bds-home.home-ti:before {
  content: '';
  background-color: transparent;
  background-image: linear-gradient(180deg, #ffffff05 0%, #ffffff 70%);
  height: 100px;
  width: 100%;
}*/
.bds-home.home-ti h2,
.bds-home.home-ti .h2 {
  font-family: 'BaskervilleBook', Sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3em;
  padding-bottom: 1rem;
}
.bds-home.home-ti h3,
.bds-home.home-ti .h3 {
  font-family: 'Conqueror', serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3em;
  color: #143b62;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 25px 0;
}
.bds-home.home-ti h3 strong,
.bds-home.home-ti .h3 strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 600;
  background: linear-gradient(to left, #ffe19b, #dea317, #fdd768);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1;
}
.br-desktop {
  display: none;
}

.font-nvm {
  font-family: 'Brushwell', Sans-serif;
  font-size: 90px;
  font-weight: 400;
  text-transform: none;
  color: #143b62;
  display: inline-block;
  transform: translateX(65px) translateY(0px);
}
.ttda ul,
.bds-home ul {
  list-style: none;
  padding-left: 0;
}
.ttda li,
.bds-home li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 20px;
  font-family: 'BaskervilleBook', Sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2em;
  color: #143b62;
  transition: color 0.3s;
}
.ttda li::before,
.bds-home li::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 0;
  width: 32px;
  height: 32px;
  background-image: url('/wp-content/uploads/2025/05/icon.png');
  background-repeat: no-repeat;
  background-size: 32px 32px;
}
.reveal-mask {
  overflow: hidden;
  display: inline-block;
}

.reveal-mask img {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2s ease-out;
}

.reveal-mask.revealed img {
  transform: scaleX(1);
}
.home-slider .swiper-slide:before {
  content: '';
  background-image: linear-gradient(
    180deg,
    rgb(20 59 98 / 2%) 0%,
    rgb(20 59 98 / 90%) 55%
  );
  width: 100%;
  height: 50%;
  position: absolute;
  bottom: 0;
  background-repeat: no-repeat;
  z-index: 1;
}
.home-slider h2,
.home-slider .h2 {
  font-family: 'Conqueror', Sans-serif;
  font-size: 56px;
  font-weight: 600;
  padding-bottom: 20px;
}
.home-slider-2 .image {
  border-radius: 10px;
}

.home-slider-2 h3,
.home-slider-2 .h3 {
  font-family: 'Conqueror', Sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5em;
}
.home-slider-2 h2,
.home-slider-2 .h2 {
  font-family: 'Conqueror', Sans-serif;
  font-size: 36px;
  font-weight: 600;
  text-transform: none;
  color: #bd9806;
  display: inline-block;
  transform: translateY(10px);
}
.docdao h3,
.docdao .h3 {
  font-family: 'Conqueror', serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3em;
  color: #143b62;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 25px 0;
}
.docdao h3 strong,
.docdao .h3 strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 600;
  background: linear-gradient(to left, #ffe19b, #dea317, #fdd768);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1;
}
.docdao p {
  height: 100px;
}
.docdao .slider-content {
  padding: 30px 20px;
}
.docdao .content {
  margin-bottom: 50px;
}
.tq-tab .swiper-pagination-bullet,
.docdao .swiper-pagination-bullet {
  background-color: #fff;
  border: 2px solid #143b62;
}
.tq-tab .swiper-pagination-bullet-active,
.docdao .swiper-pagination-bullet-active {
  background-color: transparent;
  background: linear-gradient(to top, #ffe19b, #dea317, #fdd768);
  border: none;
}
.bds-home.home-ti {
  z-index: 2;
  position: relative;
}
.tq-tab-menu.tab-menu {
  background: linear-gradient(to left, #ffe19b, #dea317, #fdd768);
  padding: 2px;
  border-radius: 16px;
  display: flex;
  gap: 8px;
}
.x-marker .tippy-content {
  background: transparent !important;
}
.tq-tab .tq-tab-menu {
  width: max-content;
  box-shadow: -4px 3px 8px 0px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
}

.tq-tab .tq-tab-menu.tab-menu .tab-title {
  margin-top: 10px;
  color: #143b62 !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
  padding-left: 20px;
  padding-right: 20px;
}
.tq-tab .tq-tab-menu.tab-menu .tab-l-title.tab-title.brx-open {
  background-color: #fff !important;
  margin: 10px;
  border-radius: 15px;
  color: #143b62;
}
.tq-tab .tq-tab-menu.tab-menu .tab-title.brx-open {
  color: #143b62 !important;
}
.tq-tab .tab-content {
  padding-right: 0 !important;
  padding-left: 0 !important;
  border: none !important;
}
.bds-post #brxe-paighx > .splide__arrows .splide__arrow {
  background: linear-gradient(to left, #ffe19b, #dea317, #fdd768);
  padding: 2px;
  border-radius: 50%;
  display: inline-block;
}

.bds-post #brxe-paighx > .splide__arrows .splide__arrow > * {
  background: linear-gradient(to left, #ffe19b, #dea317, #fdd768);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
input#gform_submit_button_1 {
  background: linear-gradient(to left, #ffe19b, #dea317, #fdd768);
  margin: 0 auto;
  color: #143b62;
  font-size: 16px;
  border-radius: 5px;
  border: 2px solid #dea317;
}
.home .gform-theme--foundation .gform_fields {
  row-gap: 20px;
}
.sb-360 iframe {
  width: 100vw;
  height: 100vh;
}
.responsive-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ttda li {
  font-size: 16px;
  color: #fff;
  line-height: 2.2em;
  margin-bottom: 10px;
}
.social-list li {
  background: linear-gradient(to right, #ffe19b, #dea317, #fdd768);
}
.footer-top:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, #ffe19b, #dea317, #fdd768);
  z-index: 2;
}
.footer-bottom:before {
  content: '';
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, #ffe19b, #dea317, #fdd768);
  z-index: 2;
}
@media only screen and (min-width: 1025px) {
  .br-desktop {
    display: block;
  }
}
@media screen and (min-width: 1440px) {
  .home-slider-2 .brxe-container {
    width: calc(50% + 662px) !important;
  }
}
@media (min-width: 1350px) {
  .hero-single {
    padding-top: 320px;
    padding-bottom: 100px;
  }
}
/*
@media (min-width: 1520px) {
  .bds-home.home-ti {
    margin-top: -250px;
  }
}


@media (min-width: 2560px) {
  .bds-home.home-ti {
    margin-top: -260px;
  }
}*/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
.layout-default .brxe-post-comments,
.layout-default .brxe-post-navigation {
  display: none;
}
.bricks-related-posts {
  padding-bottom: 50px;
}
.bricks-archive-title-wrapper {
  margin: 90px auto;
}
body {
  overflow-x: hidden;
}

/* Fade in từ dưới lên*/
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.fade-in-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in từ trên xuống */
.fade-in-down {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.fade-in-down.show {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in từ trái qua phải */
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.fade-in-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* Fade in từ phải qua trái */
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.fade-in-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* Ảnh trượt từ trái với hiệu ứng scale */
.img-slide-left {
  opacity: 0;
  transform: translateX(-40px) scale(0.8); /* Giảm khoảng cách dịch chuyển */
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.img-slide-left.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Ảnh trượt từ phải với hiệu ứng scale */
.img-slide-right {
  opacity: 0;
  transform: translateX(40px) scale(0.8); /* Giảm khoảng cách dịch chuyển */
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.img-slide-right.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Các hiệu ứng khác giữ nguyên nhưng giảm thời gian */
.img-zoom-in,
.img-flip-left,
.fade-rotate,
.bounce-up,
.elastic-scale {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Giữ nguyên các transform gốc nhưng giảm thời gian */
.img-zoom-in {
  transform: scale(0.5);
}
.img-flip-left {
  transform: perspective(400px) rotateY(-90deg);
}
.fade-rotate {
  transform: translateY(40px) rotate(-10deg);
}
.bounce-up {
  transform: translateY(60px);
}
.elastic-scale {
  transform: scale(0.3);
}

.img-zoom-in.show,
.img-flip-left.show,
.fade-rotate.show,
.bounce-up.show,
.elastic-scale.show {
  opacity: 1;
  transform: none;
}
#hesinhthai #brxe-osfplh .splide__arrow {
  background: linear-gradient(to left, #ffe19b, #dea317, #fdd768);
  border-radius: 50%;
}
.f-roboto,
.ttda .f-roboto li {
  font-family: 'Roboto', sans-serif;
}
@media (min-width: 1920px) {
  .ttda .box-ttda {
    margin-left: 300px;
  }
}
@media (max-width: 1400px) {
  .home-slider .swiper-slide {
    min-height: 100vh !important;
  }
  :where(.brxe-nav-menu) .bricks-nav-menu > li {
    margin: 0 0 0 20px;
  }
  .ttda .box-ttda {
    margin-left: 15px;
  }
}
.vt li {
  margin-bottom: 10px;
  font-family: 'BaskervilleBook', Sans-serif;
  font-size: 25px;
}
@media (max-width: 767px) {
  :where(.brxe-nav-menu) .bricks-mobile-menu-toggle span {
    background-color: #fff;
  }
  .bds-home h2,
  .bds-home .h2,
  .bds-post h2,
  .bds-post .h2,
  .ttda h2,
  .ttda .h2 {
    font-size: 36px;
    padding-bottom: 20px;
  }
  .bds-home h3,
  .bds-home .h3 {
    font-size: 18px;
  }
  .bds-home li {
    font-size: 24px;
    padding-left: 35px;
    line-height: 31px;
  }
  .bds-home li::before {
    width: 25px;
    height: 25px;
    background-size: 25px 25px;
  }
  .font-nvm {
    font-size: 60px;
    transform: translateY(0px);
  }
  .bds-home.home-ti h3 strong,
  .bds-home.home-ti .h3 strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 600;
    background: linear-gradient(to bottom, #bd9806, #fcd400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
  }
  .bds-home.home-ti h3,
  .bds-home.home-ti .h3 {
    font-size: 22px;
    line-height: 1em;
  }
  .home-slider-2 h2,
  .home-slider-2 .h2 {
    font-size: 24px;
    transform: translateY(0px);
  }
  .home-slider-2 h3,
  .home-slider-2 .h3 {
    line-height: 0.5em;
  }
  .docdao h3,
  .docdao .h3 {
    height: 70px;
  }
  .bds-home.home-ti h2,
  .bds-home.home-ti .h2 {
    font-size: 30px;
  }
  .tq-tab .tq-tab-menu.tab-menu .tab-title {
    padding: 10px !important;
  }
  :where(p) {
    margin-block: 0;
  }
  .home-slider .swiper-slide {
    min-height: 45vh !important;
  }
  .docdao h3 strong,
  .docdao .h3 strong {
    display: block;
    padding-bottom: 15px;
  }
  .bds-post h3,
  .bds-post .h3,
  .bds-post div a {
    font-size: 20px;
    line-height: 26px;
  }
  html {
    scroll-padding-top: 60px;
  }
  bds-post #brxe-nuyhdk > .splide__arrows .splide__arrow {
    background: linear-gradient(to left, #ffe19b, #dea317, #fdd768);
    padding: 2px;
    border-radius: 50%;
    display: inline-block;
  }

  .bds-post #brxe-nuyhdk > .splide__arrows .splide__arrow > * {
    background: linear-gradient(to left, #ffe19b, #dea317, #fdd768);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
  }
  /* body {
    font-size: 18px !important;
  }*/
  .home-slider h2,
  .home-slider .h2 {
    font-size: 28px;
    line-height: 1;
  }
  .vt li {
    font-size: 18px;
    line-height: 20px;
  }
}
