* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
}

:root {
  --bg-color: #111213;
  --btn-color: #958a8c;
  --bg-text: #ffff;
  --bg-blue: #1e243b;
}
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  font-family: "Inter", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* Hide initially */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

#scrollToTopBtn:hover {
  background-color: #0056b3;
}

.navRow .row > * {
  padding-left: 0;
  padding-right: 0;
}

.navbarMain li a {
  font-size: 20px;
  font-family: Inter-Bold, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif !important;
  font-family: "Kanit", serif;
  font-weight: 600;
  letter-spacing: 0px;
  line-height: 20px;
  color: rgb(244, 226, 226) !important ;
  text-transform: uppercase;
}
.navItem a {
}
.navbarMain li a:hover {
  color: var(--bg-text) !important ;
}
.icon1 {
  font-size: 20px;
  color: #ffff !important;
}
.logoImg {
  width: 30px;
  height: 30px;
}
.navBg {
  background-image: linear-gradient(
    to bottom,
    #171a26,
    rgba(23, 26, 38, 0.0001)
  );
}

.custom-toggler {
  border: none;
}

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' width='30' height='30' fill='white'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.custom-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: none;
  font-size: 30px;
  color: white;
  position: relative;
}

.custom-toggler[aria-expanded="true"]::after {
  content: "×";
  font-size: 35px;
  color: white;
  position: absolute;
  top: 10px;
  right: 33px;
}
@media (max-width: 991px) {
  .icon1 {
    display: none !important;
  }
}
.videoSec {
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: black;
}

.videoSec video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.videoH1 {
  font-family: "PP Object sans", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 100px;
  line-height: 160%;
  width: auto;

  background: linear-gradient(to right, rgb(233, 222, 62), rgb(251, 48, 48));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 487px) and (max-width: 768px) {
  .videoSec {
    min-height: 70vh !important;
    width: 100% !important;
  }
  .navbarMain li a {
    font-size: 20px;
  }

  .videoSec .text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
  }
  .videoH1 {
    font-size: 50px;
  }
}
@media (max-width: 486px) {
  .navbarMain li a {
    font-size: 18px;
  }
  .videoH1 {
    font-size: 35px;
  }
}

/* 
list  */

.listMain {
  background: var(--bg-blue);
}

.listOne {
  height: auto;
  width: auto;
  border: 1px solid var(--bg-text);
  border-radius: 20px;
  background: rgb(49, 59, 67);
  transition: background 0.3s ease-in-out;
}
.listOne:hover {
  background: rgb(72, 86, 97);
}
.listMainh1,
.listMainh2,
.listMainP {
  font-family: "Kanit", serif;

  letter-spacing: 0px;
  line-height: 20px;
  color: var(--bg-text);
}
.listMainh1 {
  font-size: 22px;
  font-weight: 500;
}
.listMainP {
  font-size: 18px !important;
  font-weight: 500;
}

.listMainh2s {
  font-size: 30px;
  font-weight: 600;
}

/* card */

/* 
category */

.onRadarBtn {
  width: auto;
  height: auto;
  padding: 10px 20px;
  font-size: 16px;
  border: 1px solid rgba(172, 166, 166, 0.933);
  border-radius: 10px;
  cursor: pointer;
  background-color: #fff;
  color: black;
  transition: background-color 0.3s ease;
  font-family: "PP Object sans", sans-serif;
  font-weight: 600;
}

.onRadarBtn.active {
  background-color: rgb(185, 13, 13);
  color: white;
}

@media (min-width: 486px) and (max-width: 768px) {
  .OnRadarBtn {
    padding: 7px 15px;
    font-size: 15px;
  }
}

@media (max-width: 486px) {
  .OnRadarBtn {
    border-radius: 2px;
    padding: 5px 10px;
    font-size: 14px;
  }
}
@keyframes appear {
  from {
    opacity: 0;
    scale: 0.5;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}
.cardAnimation1,
.cardAnimation2 {
  width: auto;
  height: auto;
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

@keyframes applicable {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cardTextAni {
  font-size: 35px; /* Start with a smaller size */
  animation: applicable linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
  transition: font-size 0.5s ease-in-out;
}

/* When scrolling up, make the text bigger */
@media (prefers-reduced-motion: no-preference) {
  .cardTextAni[data-scrolled="true"] {
    font-size: 50px !important; /* Bigger size when in view */
  }
}

@media (max-width: 486px) {
  .cardTextAni[data-scrolled="true"] {
    font-size: 30px !important; /* Bigger size when in view */
  }
}
.cardBody > img {
  width: auto;
  transition: width 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.cardBody:hover > img {
  transform: scale(1.02);
}

.cardBg {
  width: auto;
  height: auto;
  background: var(--bg-blue);
}
.cardImg,
.cardImg2 {
  height: 300px !important;
}

.cardBg2 {
  width: auto;
  height: auto;
  background: linear-gradient(
    to right,
    rgb(103, 63, 69) 5%,
    var(--bg-blue) 90%
  );
}
.cardBg3 {
  z-index: 1;
  background: none;
}

.serHh1 {
  font-size: 40px;
  font-family: Inter-Medium, Helvetica Neue, Helvetica, Roboto, Arial,
    sans-serif;
  letter-spacing: -0.3px;
  line-height: 22px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
  text-align: center;
}
.cardTitle {
  font-size: 22px;
  font-family: Inter-Medium, Helvetica Neue, Helvetica, Roboto, Arial,
    sans-serif;
  letter-spacing: -0.3px;
  line-height: 35px;
  margin-bottom: 10px;
  color: white;
  font-weight: 600;
}
.cardText {
  font-size: 18px;
  font-family: Inter-Medium, Helvetica Neue, Helvetica, Roboto, Arial,
    sans-serif;
  letter-spacing: -0.3px;
  line-height: 22px;
  margin-bottom: 10px;
  color: rgb(227, 207, 207);
  font-weight: 600;
  list-style: disc !important;
}
.cardBtn {
  width: auto;
  height: auto;
  padding: 7px 20px;
  border: none;
  background: white;
  font-size: 18px;
  font-family: "Kanit", serif;
  font-weight: 600;
  border-radius: 10px;
  transition: color 0.5s ease-in-out 0.3s;
  color: #ff3460;
}
.cardBtn2 {
  width: auto;
  height: auto;
  padding: 7px 20px;
  border: none;
  background: #57a9f6;
  font-size: 18px;
  font-family: "Kanit", serif;
  font-weight: 600;
  border-radius: 10px;
  transition: color 0.5s ease-in-out 0.3s;
  color: #000;
}
.cardBtn3 {
  width: auto;
  height: auto;
  padding: 7px 20px;
  border: none;
  background: rgb(234, 199, 83);
  font-size: 18px;
  font-family: "Kanit", serif;
  font-weight: 600;
  border-radius: 10px;
  transition: color 0.5s ease-in-out 0.3s;
  color: #122318;
}

.cardBtn:hover {
  color: #111213;
}

.image-cate {
  position: relative;
  width: 100%;
  border-radius: 8px;
}

.image-cate img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.cate-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);

  padding: 12px;
  text-align: start;
}
.overlayText {
  font-size: 16px;
  color: #fff;
}
.overlayText1,
.overlayText2,
.overlayText3,
.overlayText4 {
  font-size: 27px;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 600;
}
.overlayText1 {
  background: linear-gradient(to right, #d1e520, #ff4b2b);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.overlayText2 {
  background: linear-gradient(to right, #f751f7, #fff9f8);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.overlayText3 {
  background: linear-gradient(to right, #edb33e, #62dea6);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.overlayText4 {
  background: linear-gradient(to right, #fefff8, #f6edec);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 486px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }

  .cardAnimation2 {
    margin-top: 20px;
    animation-range: entry 0% cover 0%;
  }
  .cardTitle {
    font-size: 17pxs;
  }
  .cardBtn,
  .cardBtn2,
  .cardBtn3 {
    padding: 3px 8px;

    font-size: 14px;
  }
  .overlayText1,
  .overlayText2,
  .overlayText3,
  .overlayText4 {
    font-size: 20px;
  }
  .overlayText {
    font-size: 14px;
  }
  .cardText {
    font-size: 14px;
    line-height: 18px;
  }
  .cardImg2 {
    height: 200px !important;
  }
}
/* footer */
.footerBg1 {
  background: var(--bg-color);
}
.footerBg2 {
  background: gray;
}
.footerp {
  font-family: "PP Object sans", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: var(--bg-text);
  font-size: 14px;
  line-height: 160%;
  max-width: 290px;
}

.footer1ul li a:hover {
  color: #ff3460 !important;
}
.footerLogo {
  width: 80px;
  height: auto;
}
.footer1ull li a,
.footer1ul li a {
  font-family: "PP Object sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--bg-text) !important;
  color: #211a1e;
  font-size: 16px;
  line-height: 160%;
  max-width: 290px;
}
.footerIpmain {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footerInput {
  width: 50%;
}
.footer1ull li:first-child a,
.footer1ul li:first-child a {
  font-family: PP Object sans, sans-serif;
  font-style: normal;
  font-size: 18px !important;
  color: var(--bg-text) !important;
  font-weight: 400;
}
.linkColor {
  color: #ff3460 !important;
}
.horiRow {
  border-bottom: 1px solid #897c83;
}
.TfooterEnd {
  display: flex;
  justify-content: space-between;
}
.TfooterEnd li a {
  font-family: PP Object sans, sans-serif;
  font-style: normal;
  font-weight: 501;
  color: #a6a3a5;
  font-size: 12px;
}
.footerbg {
  background: #f7f0f5;
}
.footerIcon {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footerIcon li a {
  color: #000;
  font-size: 22px;
}
.footerNav1 .footerNav2 {
  font-family: PP Object sans, sans-serif;
  font-style: bold;
  font-weight: 400;
  color: #211a1e;

  line-height: 160%;
}
.footerNav1 {
  font-size: 24px;
}
.footerNav2 {
  font-size: 18px;
}

@media (max-width: 991px) {
  .TfooterEnd {
    display: flex;
    flex-direction: column !important;
  }
}

@media (min-width: 487px) and (max-width: 786px) {
  .footerNav1 {
    font-size: 20px;
  }
  .footerNav2 {
    font-size: 16px;
  }
  .footerIpmain {
    display: block !important;
  }
  .footerInput {
    width: 100% !important;
  }
}

@media (max-width: 486px) {
  .footerNav1 {
    font-size: 18px;
  }
  .footerNav2 {
    font-size: 15px;
  }
  .footerIpmain {
    display: block !important;
  }
  .footerInput {
    width: 100% !important;
  }
  .footer1ull li:first-child a,
  .footer1ul li:first-child a {
    font-size: 15px !important;
    color: #000;
    font-weight: 400;
  }
  .footer1ull li a,
  .footer1ul li a {
    font-size: 13px !important;
  }
  .footerLogo {
    width: 65px;
  }
}
