@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&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --primary-purple: "#0E0536";
  --secondary-purple: "#180F5A";
  --tertiary-purple: "#100331";
  --primary-pink: "#3E0353";
  --primary-glow-pink: "#9E00FF66";
  --secondary-glow-pink: "#FF3D0066";
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  height: 100vh;
  width: 100vw;
  font-family: Kanit, sans-serif;
  color: #fff;
}

.hero {
  background-image: url("/public/images/hero-bg.png");
  background-position: center;
  background-size: cover;
  height: 60vh;
  overflow: hidden;
  width: 100vw;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16rem;
}

.mobile-nav {
  position: relative;
  display: hidden;
}

.nav-top_bar {
  /* height: full; */
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.nav-top_bar-bar {
  width: 100%;
}

.nav-top_bar-logo {
  width: 350px;
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -65%;
}

.nav-links {
  display: flex;
  gap: 10rem;
}

.nav-links > a {
  font-size: 1.6rem;
  color: white;
  font-weight: 600;
  z-index: 2;
}

.nav-links-left > a {
  rotate: 2deg;
}

.nav-links-right > a {
  rotate: -2deg;
}

.nav-links-left > a:first-child {
  translate: 0 4rem;
}

.nav-links-left > a:nth-child(2) {
  translate: 0 5rem;
}

.nav-links-left > a:last-child {
  translate: 0 6rem;
}

.nav-links-right > a:first-child {
  translate: 0 6rem;
}

.nav-links-right > a:nth-child(2) {
  translate: 0 5rem;
}

.nav-links-right > a:last-child {
  translate: 0 4rem;
}

.tinter {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  background: linear-gradient(0deg, rgba(21, 0, 55, 0) 0%, #0b002b 100%);
  height: 20vh;
  width: 100vw;
}

.mobile-tinter {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  background: linear-gradient(
    0deg,
    rgba(21, 0, 55, 0) 0%,
    rgba(255, 255, 255, 0.4) 100%
  );
  height: 20vh;
  width: 100vw;
}

.mobile-nav-links {
  position: absolute;
  background-color: #0b002b;
  bottom: -40rem;
  border-radius: 16px;
  /* left: 2rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 92%;
  left: 50%;
  translate: -50% 0;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.hidden {
  display: none;
}

.mobile-nav-links > a {
  font-size: 1.6rem;
  color: white;
  font-weight: 600;
  padding: 1.6rem 0;
}

.mobile-nav-container img {
  width: 250px;
}

.mobile-nav-container {
  position: absolute;
  top: 0;
  left: -0.8rem;
  padding-inline: 2rem;
  z-index: 20;
  /* translate: - 0; */
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero-slides {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100vw;
  overflow: hidden;
}

.hero-slides__slide {
  display: flex;
  width: 100%;
  align-items: center;
  position: absolute;
  justify-content: space-between;
  transition: all 1s;
}

.hero-slides__slide-heading-container {
  height: 1%;
  width: 40%;
  padding-left: 20rem;
}

.hero-slides__slide-heading {
  font-weight: bold;
  font-size: 2rem;
  color: white;
}

.hero-slides__slide-subheading {
  font-weight: normal;
  font-size: 2rem;
  color: white;
}

.hero-slides__slide-content {
  padding: 4rem;
  line-height: 3rem;
  background-color: rgba(16, 3, 49, 0.8);
  color: white;
  width: 40%;
  border-radius: 50px 0 0 50px;
}

.hero-slides__slide-content p {
  font-size: 1.6rem;
}

.slide-navigation {
  position: absolute;
  bottom: 8rem;
  left: 50%;
  translate: -50%;
  display: flex;
  gap: 2rem;
}

.navigation-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.navigation-dots span {
  height: 10px;
  width: 10px;

  border-radius: 100%;
  background-color: gray;
}

.navigation-dots .active {
  background-color: #fff;
}

@media screen and (max-width: 461px) {
  .nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  .hero-slides__slide-heading-container {
    width: 100%;
    padding-left: 0;
    text-align: center;
  }

  .mobile-nav-container {
    display: flex;
  }

  .hero-slides__slide {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    height: 100%;
    padding-inline: 1rem;
  }

  .hero-slides__slide-content {
    padding: 2rem;
    line-height: 3rem;
    background-color: rgba(16, 3, 49, 0.8);
    color: white;
    width: 100%;
    border-radius: 20px;
  }

  .slide-navigation {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    translate: -50%;
    display: flex;
    gap: 2rem;
  }
}

@media screen and (max-width: 1440px) {
  .nav-links {
    gap: 5rem;
  }

  .nav-top_bar-logo {
    width: 250px;
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -65%;
  }
}

.services {
  background-color: black;
  width: 100vw;
  position: relative;
  overflow: hidden;
}

.background-image {
  mix-blend-mode: hard-light;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  object-fit: cover;
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}

.glow {
  width: 35rem;
  height: 35rem;
  top: 0;
  left: 7rem;
  filter: blur(70px);
  position: absolute;
  background: #ff3d0030;
  z-index: 2;
}

.content-areas {
  display: flex;
  flex-direction: column;
  mix-blend-mode: normal;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 52.5px 42px;
}

@media (max-width: 991px) {
  .content-areas {
    max-width: 100%;
    padding: 0 14px;
  }
}

.text-content {
  position: relative;
  display: flex;
  margin-bottom: 21.7px;
  width: 100%;
  max-width: 1033.2px;
  flex-direction: column;
  z-index: 3;
}

@media (max-width: 991px) {
  .text-content {
    max-width: 100%;
  }
}

.heading-wrapper {
  margin-bottom: 20px;
  text-align: center;
}

.heading {
  color: #ffb5b5;
  font-family: Kanit, sans-serif;
  font-weight: 700;
  font-size: 44.8px;
}

.sub-heading {
  color: #ffb5b5;
  font-family: Kanit, sans-serif;
  font-weight: 500;
  font-size: 25.2px;
}

.services-container {
  align-self: center;
  margin-top: 44.8px;
  width: 100%;
}

@media (max-width: 991px) {
  .services-container {
    max-width: 100%;
    margin-top: 28px;
  }
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 20px;
  border-radius: 10px;
  align-items: center;
}

/* Service details (image) styling */
.service-details {
  grid-column: 1 / 2;
  padding: 10px;
}
.service-details img {
  /* grid-column: 1 / 2; */
  padding: 40px;
}

.headings {
  grid-column: 1 / 2;
}

.service-description {
  grid-column: 2 / 3;
  color: #ffedd8;
  margin-top: 0;
  margin-left: 10px;
  text-align: center;
  padding: 5px;
}

/* Responsive styles for smaller devices */
@media (max-width: 767px) {
  .service-item {
    grid-template-columns: 1fr; /* Single column layout */
    grid-template-rows: auto auto auto; /* Adjust rows */
    gap: 0; /* Remove gap between items */
  }

  .service-details,
  .headings,
  .service-description {
    grid-column: 1 / -1; /* Full width */
  }

  .service-details {
    order: 1; /* Image on top */
  }

  .headings {
    order: 2; /* Headings in the middle */
    text-align: center;
    margin-top: 1px; /* Add top margin for spacing */
  }

  .service-description {
    order: 3; /* Description below */
    margin-left: 0; /* Remove left margin */
    margin-top: 5px; /* Add top margin for spacing */
  }
}

.service-image {
  width: 100%;
  box-shadow: 0px 8.4px 2.8px 0px rgba(0, 0, 0, 0.25);
  margin-bottom: 10px;
}

.service-name {
  font-family: Kanit, sans-serif;
  color: aliceblue;
  margin-top: 2.7px;
  padding: 15px;
}

.service-description {
  margin-top: 0;
  margin-left: 10px;
  color: #ffedd8;
}

/* Specific layout rules */

.headings {
  font-size: medium;
  font-family: Kanit, sans-serif;
  padding-bottom: 5px;
}

.paragraph {
  font-size: small;
  font-family: Kanit, sans-serif;
  padding-bottom: 5px;
}

.column-5 {
  background-color: #220353;
}

@media only screen and (min-width: 768px) {
  #contact-us {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  #contact-us-browser {
    display: none;
  }
}

.error-message {
  color: rgb(177, 9, 9);
  font-size: small;
  /* margin-top: -7px; */
  margin-left: 10px;
}

.spanddiv {
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .section3 {
    display: flex;
  }
}
