/* FONTS */

.kanit-thin {
  font-family: "Kanit", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.kanit-thin-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.kanit-extralight {
  font-family: "Kanit", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.kanit-extralight-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.kanit-light {
  font-family: "Kanit", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.kanit-light-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.kanit-regular {
  font-family: "Kanit", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.kanit-regular-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.kanit-medium {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.kanit-medium-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.kanit-semibold {
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.kanit-semibold-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.kanit-bold {
  font-family: "Kanit", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.kanit-bold-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.kanit-extrabold {
  font-family: "Kanit", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.kanit-extrabold-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.kanit-black {
  font-family: "Kanit", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.kanit-black-italic {
  font-family: "Kanit", sans-serif;
  font-weight: 900;
  font-style: italic;
}



/* MAIN STYLE */

::-webkit-scrollbar {
    display: none; /* This will hide the scrollbar in WebKit browsers */
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: "Kanit", sans-serif;
  -ms-overflow-style: none;  /* IE and Edge */
   scrollbar-width: none;  /* Firefox */
}

.container-fluid {
  height: 100%;
}

.section {
  height: 100%;
  background-size: cover;
  background-position: center;
  color: black; /* Optional: Change text color for better readability */
}

.navbar.sticky-top {
  z-index: 1030; /* Bootstrap's default z-index for navbars is 1030 */
}


.nav-link {
  color: lightgray !important;
  transition: color 0.5s ease; /* Animate color change over 0.5 seconds */
}

.nav-link:hover
{
  color: black !important;
}


.nav-link.active {
  color: black !important;
}


.nav-text-gray .nav-link {
  color: lightgray !important;
  pointer-events: none;
}




#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw; /* Viewport width */
  height: 100vh; /* Viewport height */
  background: white;
  z-index: 9999;
}

.spinner {
  border: 4px solid rgba(0,0,0,.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-left-color: black;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -18px 0 0 -18px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#home {
  position: relative;
  overflow: hidden; /* Ensures the pseudo-element does not exceed the parent container */
  z-index: 1;
}

#home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: linear-gradient(
      rgba(0, 0, 0, 0.3), /* Dark overlay; adjust the last value (0.5) for darker/lighter */
      rgba(0, 0, 0, 0.3)
    ),
    url('ASSETS/IMAGES/home_image.jpeg') center/cover no-repeat; /* Background image */
  filter: blur(2px); /* Adjust blur intensity */
}







/* Base styles to ensure text is always aligned to the top left corner */
.custom-section {
  position: absolute; /* Adjust if necessary to fit your layout needs */
  top: 15%;
  left: 10%;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.custom-heading, .custom-paragraph {
  text-align: left;
}

.custom-heading {
  font-size: 10vh; /* Adjust base font size for scaling */
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  line-height: 1.1;
  width: 80%;
}

.custom-paragraph {
  font-size: 2vh; /* Adjust base font size for scaling */
  width: 50%;
  line-height: 1.25;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .custom-section {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 10%;
    padding-right: 10%;
  }

  .custom-heading, .custom-paragraph {
    width: 100%; /* Allow text to fill the container */
    text-align: left; /* Center text horizontally */
    margin-left: 0; /* Reset margin-left */
  }

  .custom-heading {
    font-size: 48px; /* Adjusted font size for mobile */
    margin-bottom: 1rem; /* Add space between heading and paragraph */
  }

  .custom-paragraph {
    font-size: 20px; /* Adjusted font size for mobile */
  }
}




.content2-container
{
  position: relative;
  overflow: hidden; /* Ensures the pseudo-element does not exceed the parent container */
  z-index: 1;
  color: white;
}

.content2-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: linear-gradient(
      rgba(0, 0, 0, 0.3), /* Dark overlay; adjust the last value (0.5) for darker/lighter */
      rgba(0, 0, 0, 0.3)
    ),
    url('ASSETS/IMAGES/contact_image.jpeg') center/cover no-repeat; /* Background image */
  filter: blur(2px); /* Adjust blur intensity */
}

.content2 h2
{
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-size: 5vh;
}






.about
{
 padding: 0;
}

.about-container
{

}

.about-container h2
{
  font-size: 7vh;
  padding-left: 10%;
  text-align: left;
  padding-bottom: 20px;
}

.about-container p
{
  padding-left: 10%;
  font-size: 2vh;
  text-align: left;
}

.triangle {
  top: 0;
  right: 0;
  width: 50%; /* Occupies half of the viewport width */
  height: 100vh; /* Occupies the full viewport height */
  background-color: #67A4FF;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

@media (max-width: 768px) {
  .triangle {
    display: none;
  }
}

.content1
{
overflow: hidden;
display: flex;
 justify-content: center; /* Center horizontally */
 align-items: center; /* Center vertically */
 height: 120vh; /* Take at least the full height of the viewport */
}

.content1-container
{
  min-height: 100px; /* Adjust based on your needs */

}

.content1-container h2
{
  font-size: 6vh;
  padding-bottom: 5%;
}


/* Adjustments for mobile screens */
@media (max-width: 1000px) {
  .content1-container {
    padding-top: 20px; /* Add padding to ensure visibility */
    text-align: center; /* Center-align the text for better appearance */
  }

  h2 {
    font-size: 4vh; /* Adjust font size for smaller screens */
    margin-top: 20px; /* Ensure there's space at the top */
  }
}





.work-tier {

  top: 50%;
  left: 15%;
  position: relative;

  display: flex; /* Enables flexbox */
  align-items: center; /* Aligns children vertically in the center */
  gap: 50px; /* Adds space between the circle and the text content */
}

.text-content h3 {
  font-family: "Kanit", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 3vh;
  text-align: left;
  margin: 0 0 10px 0; /* Adds space below the heading, resets other margins */
}

.text-content p {
  text-align: left;
  font-family: "Kanit", sans-serif;
  font-weight: 800;
  font-style: normal;
  color: #9D9D9D;
  width: 50%;
  margin: 0; /* Resets default margin */
}

.circle-r {
  width: 80px; /* Fixed width */
 height: 80px; /* Fixed height to match width for a perfect circle */
 aspect-ratio: 1 / 1; /* Ensures width and height remain equal */
 border-radius: 50%; /* Rounds the corners to form a circle */
 background-color: #FFADAD; /* Circle color */
 color: #FF3737; /* Text color */
 display: flex;
 justify-content: center; /* Horizontally center content */
 align-items: center; /* Vertically center content */
 font-size: 50px;
 font-weight: bold;
 /* If the circle is in a flex container */
 align-self: center; /* Prevents stretching in flex containers */
}

.circle-y
{
  width: 80px; /* Fixed width */
 height: 80px; /* Fixed height to match width for a perfect circle */
 aspect-ratio: 1 / 1; /* Ensures width and height remain equal */
 border-radius: 50%; /* Rounds the corners to form a circle */
 background-color: #FFFCAD; /* Circle color */
 color: #81823F; /* Text color */
 display: flex;
 justify-content: center; /* Horizontally center content */
 align-items: center; /* Vertically center content */
 font-size: 50px;
 font-weight: bold;
 /* If the circle is in a flex container */
 align-self: center; /* Prevents stretching in flex containers */
}

.circle-g
{
  width: 80px; /* Fixed width */
 height: 80px; /* Fixed height to match width for a perfect circle */
 aspect-ratio: 1 / 1; /* Ensures width and height remain equal */
 border-radius: 50%; /* Rounds the corners to form a circle */
 background-color: #A1FFC1; /* Circle color */
 color: #2B7C2E; /* Text color */
 display: flex;
 justify-content: center; /* Horizontally center content */
 align-items: center; /* Vertically center content */
 font-size: 50px;
 font-weight: bold;
 /* If the circle is in a flex container */
 align-self: center; /* Prevents stretching in flex containers */
}



.contact-form-container {
  text-align: center;
   font-family: 'Kanit', sans-serif;
   width: 60%;
   margin: auto; /* Center horizontally in case it's not in a flex container */

}
.contact-form-container h2
{
    font-size: 7vh;
    padding-bottom: 50px;
}

.contact-form h2 {
  margin-top: 0;

}

.input-row {
  display: flex;
  justify-content: center;
  gap: 20px; /* Adjust the gap between inputs as needed */
  margin-bottom: 20px; /* Space between inputs and textarea */
}

.input-row input {
  width: calc(50% - 10px); /* Adjust input width to fit side by side considering the gap */
  padding: 10px; /* Adjust for better text input visibility */
}

textarea {
  width: 100%;
  padding: 10px; /* Consistent padding with inputs */
  margin-bottom: 20px; /* Space before the submit button */
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 200px;

  background: #D9D9D9;
color: #ECECEC;
border: none;
  font-family: 'Kanit', sans-serif;
font-style: bold;
border-radius: 10px 10px;

}

button {
  background: #67A4FF;
  border-radius: 10px 10px;
  color: white;
  font-size: 30px;
  width: 300px;
  height: 75px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-family: "Kanit", sans-serif;
  font-weight: bold; /* Corrected from font-style to font-weight */
}

button:hover {
  background-color: darkblue; /* Slightly darker blue on hover for visual feedback */
}

.inputBox
{
  background: #D9D9D9;
  color: black;
  border: none;
  font-family: "Kanit", sans-serif;
  font-weight: bold; /* Corrected from font-style to font-weight */
  border-radius: 10px;
}

.inputBox::-webkit-input-placeholder { /* Chrome, Opera, Safari */
  color: #ECECEC;
}

.inputBox:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: #ECECEC;
}

.inputBox::-ms-input-placeholder { /* Microsoft Edge */
color: #ECECEC;
}

.inputBox::placeholder { /* Standard syntax */
  color: #ECECEC;
}


.c3
{
  height: 200vh;
}

.multi
{
  background-position: top center;
  background-repeat: no-repeat; /* Prevents the background from repeating */
background-size: cover; /* Co*/
}

.gridTitle
{
  color: white;
  font-size: 8vh;
  font-family: "Kanit", sans-serif;
  font-weight: bold; /* Corrected from font-style to font-weight */
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Creates 2 columns */
  grid-template-rows: auto repeat(2, 1fr); /* Creates 4 rows, 1 auto for the header and 3 equal for the grid */
  gap: 50px; /* Space between grid items */
  height: 150vh; /* Full viewport height */
  width: 100%; /* Full viewport width */
top: 50%;

  left: 0;
}

/* Base styles for grid items */
.grid-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.full-width {
  grid-column: 1 / -1; /* Spans the entire grid width */
}

.grid-pane
{
      top: 10%;
}


.cube, .cubeRight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60%;
  min-width: 450px;
  padding: 40px;
  border-radius: 25px;
  color: white;
  /* Adjust width and height for desktop here if needed */
  background-color: #8548A8;
}

.cubeRight
{
  margin-top: 25%;
}


/* Media query for mobile devices */
@media (max-width: 1000px) {
  .grid-container {
    grid-template-columns: 1fr; /* Makes the grid single column on mobile */
  }

  .cube, .cubeRight {
    width: 90%; /* Adjusts width to be 90% of the container */
    height: auto; /* Adjust height automatically */
    margin: 0 auto; /* Centers the cube */
  }

  .text-large, .text-large-long, .text-small, .text-small-long {
    font-size: smaller; /* Adjust text size for mobile readability */
  }
}


.content-end
{
  height: 50%;
}

.text-large {
  width: 100%; /* Ensure the div takes the full width of its parent */
  height: 100%; /* Ensure the div takes the full height of its parent */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-size: 150px;
  font-family: "Kanit", sans-serif;
  font-weight: bold; /* Corrected from font-style to font-weight */
  height: 50%;
}

.text-large-long {
  width: 100%; /* Ensure the div takes the full width of its parent */
  height: 100%; /* Ensure the div takes the full height of its parent */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  font-size: 75px;
  font-family: "Kanit", sans-serif;
  font-weight: bold; /* Corrected from font-style to font-weight */
  height: 50%;
}


.text-small {
  font-size: 40px; /* Smaller text size */
  height: 40%;
  font-family: "Kanit", sans-serif;
  font-weight: bold; /* Corrected from font-style to font-weight */
  width: 80%;
  text-align: center;
    color: white;
  display: inline-block;
}

.text-small-long {
  font-size: 30px; /* Smaller text size */
  height: 40%;
  color: white;
  font-family: "Kanit", sans-serif;
  font-weight: bold; /* Corrected from font-style to font-weight */
}
