@import url("https://fonts.googleapis.com/css2?family=Bayon&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");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}
p {
  margin: 0;
  padding: 0;
}
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 64px;
  padding-bottom: 104px;
}
.w-40 {
  width: 40%;
}
.w-60 {
  width: 60%;
}
.w-80 {
  width: 80%;
}
.w-10 {
  width: 10%;
}

nav {
  background-color: #14000c;
  border-radius: 56px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  z-index: 6;
  top: 24px;
  left: 50%;
  transform: translate(-50%);
  animation: navColorChange auto linear forwards;
  animation-timeline: scroll(root);
}
@keyframes navColorChange {
  0% {
    background-color: #14000c; /* Original color (before trigger) */
  }
  46%,
  100% {
    background-color: #510030; /* New color (after trigger) */
  }
}
nav ul li {
  font: 400 16px/1 "Kanit", sans-serif;
  color: white;
  list-style: none;
  padding: 8px;
}
nav ul li:hover {
  background-color: #bc0d5d;
  border-radius: 40px;
  color: white;
}
nav a {
  text-decoration: none;
  font: 400 16px/1 "Kanit", sans-serif;
  color: white;
  list-style: none;
}
nav > a:last-child {
  background-color: #bc0d5d;
  border-radius: 40px;
}
nav a:hover {
  text-decoration: none;
  color: white;
  border-radius: 40px;
}

.landing {
  background-image: linear-gradient(270deg, #a60a42 0%, #fd4c03 100%);
  width: 100%;
}
.landing h1 {
  font-family: Bayon;
  font-weight: 400;
  font-size: 211px;
  line-height: 100%;
}
.landing h3 {
  font-family: "Bayon";
  font-weight: 400;
  font-size: 96px;
}
.hero-heading h1 {
  font-family: "Bayon";
  color: transparent;
  overflow: hidden;
  -webkit-text-stroke: 1px rgba(255, 235, 249, 0.2);
}
.hero-title {
  top: 98px;
}
.landing h6 {
  font-family: Kanit;
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  text-transform: none;
}
.tr-box-container {
  top: 0;
  right: 0;
  height: -webkit-fill-available;
}
.tr-box {
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(191, 191, 191, 0.12) 61.5%,
    rgba(230, 230, 230, 0.12) 100%
  );
  backdrop-filter: blur(2px);
  width: 72px;
  height: 100%;
}
.tr-box-1 {
  height: 75%;
  margin-right: -36px;
  z-index: 5;
}
.tr-box-2 {
  height: 85%;
  margin-right: -36px;
  z-index: 4;
}
.tr-box-3 {
  margin-right: -36px;
  z-index: 3;
}
.about {
  background-image: url("../images/about.png");
  aspect-ratio: 36/11;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: top;
  background-size: cover;
}
.about h3 {
  color: #bc0d5d;
  font: 400 48px/1 "Bayon", sans-serif;
}
.about p {
  font: 400 16px/1.5 "Kanit", sans-serif;
  color: white;
}
.about a {
  background-color: #ff4e00;
  color: #510030;
  padding: 12px 16px;
  font: 400 16px/1 "Bayon", sans-serif;
  margin-top: 32px;
  text-decoration: none;
  display: inline-block;
  border-radius: 02px;
}
.services-section {
  background-color: #14000c;
}
.h-orange {
  color: #ff4e00;
  font-family: Bayon;
  font-size: 3rem;
  margin: 0;
  line-height: 1;
}
.service-box {
  padding: 36px 24px 20px;
  align-items: center;
  border-top: solid 1px #510030;
  cursor: pointer;
  transition: all 0.5s ease;
}
.services-info {
  font-family: kanit;
  font-size: 16px;
  color: white;
  line-height: 1.5;
  margin: 0;
  margin-top: 16px;
}
.service-name {
  color: white;
  font-family: Bayon;
  font-size: 36px;
}
.service-info {
  font-family: Kanit;
  font-size: 16px;
  color: white;
  line-height: 1.5;
  padding-right: 16px;
  margin-left: auto;
  transition: all 0.1s ease;
}
.service-icon {
  width: 40px;
  height: 40px;
  border: solid 1px #510030;
  border-radius: 50%;
  stroke: #bc0d5d;
}
.service-box:hover {
  background: rgba(81, 0, 48, 0.5);
  padding-bottom: 36px;
}
.service-box:hover .service-name {
  color: #ff4e00;
}
.service-box:hover .service-info {
  font-size: 20px;
  width: 65%;
  text-align: end;
}
.service-box:hover .service-icon {
  stroke: #ffebf9;
}
.web-icon {
  stroke: none;
}
.service-box:hover .web-icon {
  stroke: #ffebf9;
  stroke-width: 0.3px;
}
.portfolio-section {
  background-color: #14000c;
}
.portfolio-section .container {
  position: relative;
  background-color: transparent;
  z-index: 2;
}
.carousel-indicators {
  all: unset;
}
.carousel-indicators [data-bs-target] {
  all: unset; /* Resets all properties to defaults (destroys styling) */

  padding: 14px 20px;
  border: 1px solid #371d2a;
  border-radius: 4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(155, 155, 155, 0.04) 82%
  );
  cursor: pointer;
}
.portfolio-items {
  flex-wrap: wrap;
}
.portfolio-item {
  padding: 14px 20px;
  border: 1px solid #371d2a;
  border-radius: 4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(155, 155, 155, 0.04) 82%
  );
  cursor: pointer;
}
.portfolio-item:hover {
  border: 1px solid #855039;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(155, 155, 155, 0.16) 82%
  );
}
.portfolio-item.active {
  border: 1px solid #855039;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(155, 155, 155, 0.16) 82%
  );
}
.portfolio-item h4 {
  font: 400 24px/1 "Kanit", sans-serif;
  text-transform: capitalize;
}
.portfolio-item:hover h4 {
  color: #FF4E00 !important;
}
.portfolio-item.active h4 {
  color: #FF4E00 !important;
}
.portfolio-info div:has(img){
  display: flex;
  justify-content: space-between;
}
.portfolio-info img{
  margin-bottom: 24px;
  height: 40px;
}
.portfolio-info p {
  font: 400 16px/1.5 "Kanit", sans-serif;
}
.portfolio-info p.show {
  margin-bottom: 12px;
}
.portfolio-links {
  font: 400 16px/1 "Bayon", sans-serif;
}

.portfolio-links .p-btn {
  padding: 12px 16px;
  background-color: #bc0d5d;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
}
.portfolio-links .p-btn-outline {
  padding: 12px 16px;
  color: #bc0d5d;
  border: 1px solid #bc0d5d;
  background-color: transparent;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
}
.p-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(155, 155, 155, 0.04) 82%
  );
  border: 1px solid #371d2a;
}
.p-star-1 {
  /* width: 148px; */
  /* height: 148px; */
  /* background: #bc0d5d; */
  /* filter: blur(120px); */
  top: 0;
  left: 37%;
}
.p-star-2 {
  /* width: 240px;
  height: 240px;
  background: #ff4e00;
  filter: blur(120px); */
  top: 0;
  left: 49%;
}
.mission-section {
  background-image: url("../images/mission-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: right bottom;
  /* aspect-ratio: 9/4; */
  min-height: 640px;
}
.mission-section .container {
  min-height: 640px;
}
.mission-section h2 {
  font: 400 48px/1 "Bayon", sans-serif;
  color: #510030;
}
.mission-section p {
  font: 400 16px/1.5 "Kanit", sans-serif;
  color: #14000c;
}
.mission h1 {
  font-family: Bayon;
  font-weight: 400;
  font-size: 211px;
  line-height: 80%;
  color: transparent;
  -webkit-text-stroke: 2px #ffebf9;
}
.mission-info {
  backdrop-filter: blur(1px);
}
.vision-info {
  backdrop-filter: blur(1px);
}
.vision {
  margin-top: 16%;
}
.vision h1 {
  font-family: Bayon;
  text-align: end;
  font-weight: 400;
  font-size: 211px;
  line-height: 80%;
  color: transparent;
  -webkit-text-stroke: 2px #ffebf9;
}
.vision-info {
  bottom: 5%;
}
footer {
  background: linear-gradient(180deg, #200415 0%, #0c0608 81.65%);
}
footer h3.h-orange {
  font-size: 32px;
}
.contact {
  padding: 32px;
  width: 65%;
  background: linear-gradient(
    289.34deg,
    rgba(55, 28, 44, 0.24) 60.56%,
    rgba(74, 54, 64, 0.24) 100%
  );
  border: 1px solid #3d182e;
  border-radius: 8px;
}
.mail {
  background-color: #ffebf9;
  border: 1px solid #d0d5d9;
  border-radius: 4px;
}
.mail a {
  font: 400 14px "Inter", sans-serif;
  color: #05070a;
  text-decoration: none;
}
.phone {
  padding: 8px;
  color: #14000c;
}
.phone a {
  text-decoration: none;
  color: #bc0d5d;
}
footer li {
  list-style: none;
  margin-bottom: 16px;
}
footer li a {
  text-decoration: none;
}
footer p {
  font: 400 16px/1.5 "Kanit", sans-serif;
  color: white;
  padding-left: 2rem;
}
.social {
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid #ff4e00;
  margin-top: 60px;
}
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.facebook {
  background-color: #0165e1;
}
.linkedin {
  background-color: #0077b5;
}
.instagram {
  background: linear-gradient(180deg, #bc0d5d 0%, #cb4205 100%);
}
.portfolio-info span {
  display: none !important;
}

@media (min-width: 1px) and (max-width: 576px) {
  .wd-100 {
    width: 100% !important;
  }
  nav {
    width: 90%;
  }
  .nav-mbl {
    width: 100vw;
    height: 100vh;
    background-color: #14000c;
    position: fixed;
    z-index: 10;
  }
  .nav-mbl ul li {
    list-style: none;
    margin-top: 40px;
  }
  .nav-mbl a {
    text-decoration: none;
  }
  .nav-mbl a h3 {
    font: 400 32px/1 "Bayon", sans-serif;
    color: white;
  }
  .navbar-toggler:focus {
    box-shadow: none;
  }
  #navbarToggleExternalContent {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-in-out;
    pointer-events: none;
  }

  #navbarToggleExternalContent.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .landing {
    background-image: url("../images/landing-mbl.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
  }
  .landing h3 {
    font-size: 64px;
  }
  .landing h6 {
    font-size: 20px;
  }
  .hero-title {
    /* top: 50px; */
    position: static !important;
  }
  .hero-heading h1 {
    font-size: 152.75px;
    line-height: 100%;
    -webkit-text-stroke: 0.5px rgba(255, 235, 249, 0.2);
  }
  .hero-info p {
    font: 400 14px/1.5 "Kanit", sans-serif;
    color: white;
  }
  .container {
    padding: 24px !important;
  }
  .h-orange {
    font-size: 2rem;
  }
  p {
    font-size: 14px !important;
  }
  .service-name {
    font-size: 32px;
  }
  .service-box:hover {
    background: none;
    padding-bottom: 24px;
  }
  .service-name + .service-info {
    display: none;
  }
  .service-box:hover .service-name {
    color: white;
  }
  .service-box:hover .service-icon {
    stroke: #bc0d5d;
  }
  /* .service-box:focus {
    background: #510030;
  } */
  .portfolio-info span {
    display: block !important;
  }
  .p-star-1 {
    display: none;
  }
  .p-star-2 {
    display: none;
  }
  .mission-section {
    overflow-x: hidden;
  }
  .carousel-item > div {
    flex-direction: column;
  }
  .portfolio-image {
    width: 100% !important;
  }
  .portfolio-info {
    width: 100%;
  }
  .portfolio-info h4 {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .portfolio-links {
    margin-top: 16px !important;
  }
  .mission-info {
    bottom: 0;
  }
  .carousel-item > div > div:last-child {
    display: none !important;
  }
  footer p {
    padding-left: 0;
  }
}

@media (min-width: 577px) and (max-width: 992px) {
  .wd-100 {
    width: 100% !important;
  }
  p {
    font: 400 16px/1.5 "Kanit", sans-serif;
  }
  nav li{
    width: max-content;
  }
  nav > a[href="#contact"] {
    width: max-content;
  }
  .landing {
    background-image: url("../images/landing-tab.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
  }
  .landing h6 {
    font-size: 20px;
  }
  .hero-info {
    margin-top: 160px;
    margin-bottom: 80px;
    backdrop-filter: blur(2px);
  }
  .hero-info h6 {
    font-size: 24px;
  }
  .container {
    padding: 40px;
  }
  .service-name + .service-info {
    display: none;
  }
  .service-box:hover .service-name {
    color: white;
  }
  .service-box:hover .service-icon {
    stroke: #bc0d5d;
  }
  .service-box:hover {
    background: none;
    padding-bottom: 24px;
  }
  .carousel-item > div {
    flex-direction: column;
  }
  .portfolio-info span {
    display: block !important;
  }
  .p-star-1 {
    display: none;
  }
  .p-star-2 {
    display: none;
  }
  .mission-section {
    overflow-x: hidden;
  }
  .carousel-item > div {
    flex-direction: column;
  }
  .carousel-item > div > div:last-child {
    /* display: none !important; */
  }
  .portfolio-info {
    width: 100%;
  }
  .portfolio-info h4 {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .portfolio-links {
    margin-top: 16px !important;
  }
  .portfolio-info span {
    display: none !important;
}
  .mission-info {
    bottom: 0;
  }
  footer p{
    padding-left: 1.5rem;
  }

}
