* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background: linear-gradient(180deg, #060307 23.04%, #090a26 55.93%);
}

/* part that will be changed */

header {
  background-image: url(assets/Zhang-Yiwei-CGI-women-short-hair-purple-hair-blue-eyes-2185487-wallhere\ 1.svg);
  background-size: cover;
  color: #ffffff;
  background-position: center;
  /* height: 100vh; */
  height: 1034px;
}

/* till here i guess */

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 90px;
  gap: 111px;
}

.logo img {
  width: 178px;
  height: 48px;
  opacity: 1;
  top: 27px;
  left: 91px;
  cursor: pointer;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  height: 52px;
  opacity: 1;
  gap: 25px;
}

.nav-bar nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-bar nav ul li a:hover {
  border-bottom: #ffffff 2px solid;
  padding-bottom: 10px;
}

.nav-bar nav ul li a {
  text-decoration: none;
  color: #ffffff;
}

.nav-bar nav ul li {
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}

/* @media (max-width: 1130px) {
  .nav-bar {
    flex-direction: column;
    gap: 30px;
    align-items: start;
    padding-left: 30px;
  }

  .nav-wrapper {
    flex-direction: column;
    gap: 25px;
  }

  .nav-bar nav ul {
    flex-direction: column;
    gap: 25px;
  }
} */

.bar-cart {
  display: flex;
  gap: 25px;
  cursor: pointer;
}

.sign-in button {
  background-color: #ffffff;
  border: none;
  color: #000000;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  width: 150px;
  height: 52px;
  opacity: 1;
  gap: 10px;
  padding-top: 12px;
  padding-right: 39px;
  padding-bottom: 12px;
  padding-left: 39px;
}

.welcome {
  position: absolute;
  max-width: 1081px;
  height: 327px;
  top: 348px;
  margin-left: 179.16px;
  margin-right: 179.16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (max-width: 570px) {
  .welcome {
    margin-left: 30px;
  }
}

.welcome h1 {
  font-weight: 700;
  font-style: Bold;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.welcome p {
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.button-dl {
  display: flex;
  width: 468;
  height: 48;
  opacity: 1;
  gap: 42px;
  padding-right: 6px;
  padding-left: 6px;
}

.prpl-bt {
  width: 220px;
  height: 48px;
  opacity: 1;
  gap: 10px;
  padding-top: 13px;
  padding-right: 33px;
  padding-bottom: 13px;
  padding-left: 33px;
  cursor: pointer;
  border: none;
  background-color: #5604ad;
  font-weight: 700;
  font-style: Bold;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #ffffff;
}

.wht-bt {
  width: 220px;
  height: 48px;
  opacity: 1;
  gap: 10px;
  padding-top: 13px;
  padding-right: 33px;
  padding-bottom: 13px;
  padding-left: 33px;
  cursor: pointer;
  border: none;
  background-color: #ffffff;
  font-weight: 700;
  font-style: Bold;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #000000;
}

@media (max-width: 1130px) {
  .welcome {
    top: 200px;
    margin-right: 20px;
    margin-left: 40px;
  }

  .welcome h1 {
    text-align: right;
  }
}

@media (max-width: 570px) {
  .button-dl {
    flex-direction: column;
    width: auto;
    height: auto;
    gap: 20px;
  }
}

@media (max-width: 425px) {
  .welcome h1 {
    font-size: 50px;
  }
}

@media (max-width: 350px) {
  .welcome {
    margin-left: 10px;
  }

  .welcome h1 {
    max-width: 346px;
    font-size: 40px;
  }

  .welcome p {
    font-size: 15px;
  }
}

/* footer */

footer {
  height: 497px;
  color: #ffffff;
  border-top: #502356 1px solid;
}

.footer-pt {
  padding: 110px 120px;
  display: flex;
  justify-content: space-between;
  gap: 159px;
  align-items: center;
  border-bottom: #502356 1px solid;
}

.foot-logo-text {
  display: flex;
  flex-direction: column;
  max-width: 391px;
  height: 181px;
  opacity: 1;
  gap: 32px;
}

.foot-logo-text img {
  width: 91px;
  height: 48px;
}

.foot-logo-text p {
  font-weight: 400;
  font-style: Regular;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;
}

.socials {
  display: flex;
  width: 172px;
  height: 24px;
  opacity: 1;
  gap: 50px;
}

.socials img {
  width: 24px;
  height: 24px;
  opacity: 1;
  cursor: pointer;
}

.foot-column-wrap {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  width: 650px;
  height: 210px;
}

.nav-col,
.sup-col,
.part-col {
  max-width: 184px;
  min-height: 210px;
  gap: 25px;
}

.foot-column-wrap h3 {
  height: 20px;
  font-weight: 700;
  font-style: Bold;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}

.foot-column-wrap ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 25px;
}

.foot-column-wrap ul li a {
  height: 17px;
  text-decoration: none;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #ffffff;
}

.foot-column-wrap ul li a:hover {
  color: #e15cf2;
}

@media (max-width: 1000px) {
  .footer-pt {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }
}

@media (max-width: 800px) {
  .foot-column-wrap {
    gap: clamp(20px, 50px);
    width: auto;
    height: auto;
  }
}

@media (max-width: 500px) {
  .foot-column-wrap {
    flex-direction: column;
  }
}

.foot-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 120px;
}

@media (max-width: 540px) {
  .foot-footer {
    flex-direction: column;
    align-items: start;
    gap: 25px;
    padding-left: 40px;
  }
}

.foot-footer p {
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
}

.foot-footer ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

@media (max-width: 430px) {
  .foot-footer ul {
    gap: 30px;
  }
}

.foot-footer ul li a {
  text-decoration: none;
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #ffffff;
}

/* calculated myself ))) (5057-497-595-616-713-656-176-1024)/6 */
section {
  margin-top: 130px;
}

.social-pad-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  min-height: 176px;
  opacity: 1;
}

.social-pad-wrap p {
  color: #ffffff;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.socials-wrp {
  display: flex;
  justify-content: center;
  min-height: 152px;
  opacity: 1;
  gap: 20px;
  flex-wrap: wrap;
}

.img-box-pt {
  width: 183px;
  height: 152px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-box-pt img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  cursor: pointer;
}

/* implant stuff */

.implant-pad-wrap {
  display: flex;
  flex-direction: column;
  opacity: 1;
  min-height: 656px;
}

.implant-pad-wrap p {
  color: #ffffff;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  margin-bottom: 90px;
}

.implant-crd-wrp {
  display: flex;
  justify-content: center;
  min-height: 537px;
  opacity: 1;
  gap: 20px;
  /* margin-left: 81px;
  margin-right: 81px; */
  width: auto;
}

@media (min-width: 961px) and (max-width: 1413px) {
  .implant-crd-wrp {
    margin-left: 101px;
    margin-right: 101px;
  }
}

@media (max-width: 960px) {
  .implant-crd-wrp {
    flex-direction: column;
    align-items: center;
  }
}

.impl-card {
  max-width: 386px;
  height: 537px;
  opacity: 1;
  border: solid 3px #e15cf2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 260px;
}

@media (max-width: 425px) {
  .impl-card {
    width: 300px;
  }
}

.impl-card img {
  margin-top: 60px;
  cursor: pointer;
}

/* there are some styles of these imgs in html file */

.impl-card h3 {
  color: white;
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-top: 14px;
}

.impl-card p {
  color: white;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-left: 60px;
  margin-right: 60px;
  margin-top: 49px;
}

/* for this i did use the previous code nearly the same but since there were few extra details i wrote it one more time */

.poplr-implants-wrap {
  display: flex;
  flex-direction: column;
  opacity: 1;
  min-height: 713px;
  width: auto;
}

.poplr-implants-wrap p {
  color: #ffffff;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-bottom: 90px;
  text-align: center;
}

.most-pop-wrper {
  display: flex;
  justify-content: center;
  min-height: 594px;
  opacity: 1;
  gap: 20px;
}

/* @media (max-width: 900px) {
  .most-pop-wrper {
    margin-left: 81px;
    margin-right: 81px;
  }
} */

.pop-card-wrp {
  max-width: 386px;
  height: 537px;
  opacity: 1;
  border: solid 3px #6892ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

@media (max-width: 425px) {
  .pop-card-wrp {
    width: 300px;
  }
}

.pop-card-wrp img {
  margin-top: 60px;
  cursor: pointer;
}

.pop-card-wrp h3 {
  color: white;
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-top: 14px;
}

.pop-card-wrp p {
  color: white;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-left: 60px;
  margin-right: 60px;
  margin-top: 49px;
}

.arrow-left img,
.arrow-right img {
  max-width: 100px;
  height: 100px;
  cursor: pointer;
  object-fit: none;
  margin-top: 219px;
}

.arrow-left {
  margin-left: 21px;
}

.arrow-right {
  margin-right: 21px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

@media (max-width: 960px) {
  .most-pop-wrper {
    flex-direction: column;
    align-items: center;
  }
  .arrow-left,
  .arrow-right,
  .dots {
    display: none;
  }
}

/* we continue from here. next section - */

.we-are-who {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 616px;
  position: relative;
}

.we-are-who h3 {
  color: #ffffff;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-bottom: 90px;
}

.wmn-glasses-wrp {
  background-image: url(assets/wmn-glasses.svg);
  height: 497px;
  width: 100%;
}

.glasses-col {
  display: flex;
  flex-direction: column;
  /* right: 122px; */
  height: 323px;
  width: 320px;
  align-items: center;
  gap: 41px;
  position: absolute;
  top: 206px;
  left: calc(80vw - 180px);
}

@media (max-width: 760px) {
  .glasses-col {
    left: 20px;
  }
}

.glasses-col p {
  color: #ffffff;
  width: 320px;
  height: 234px;
  /* top: 206px;
left: 998.34px; */
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 39px;
  letter-spacing: 0%;
  text-align: center;
}

.glasses-col button {
  width: 194px;
  height: 48px;
  gap: 10px;
  padding: 13px 33px;
  cursor: pointer;
  border: none;
  background-color: #5604ad;
  color: #ffffff;
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
}

/* member part */

.memb-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 130px;
  padding-inline: 20px; /* prevent horizontal scroll on small screens */
  box-sizing: border-box;
}

.memb-wrapper h3 {
  color: #ffffff;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-bottom: 90px;
}

.group-wrp {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

.mem-part1,
.mem-part2 {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

@media (max-width: 1250px) {
  .group-wrp {
    flex-direction: column;
    align-items: center;
  }

  .mem-part1,
  .mem-part2 {
    flex-direction: row;
    gap: 40px;
  }
}

@media (max-width: 960px) {
  .mem-part1,
  .mem-part2 {
    flex-direction: column;
    align-items: center;
  }
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 476px;
  width: 285px;
}

.member-card img {
  width: 285px;
  height: 327px;
  cursor: pointer;
}

.member-card h4 {
  color: #ffffff;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-top: 85px;
}

.member-card p {
  color: #ffffff;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-top: 24px;
}

/* about page */

.page-about {
  background-image: url(assets/page-about-background.png);
  background-size: cover;
  color: #ffffff;
  background-position: center;
  height: 1034px;
  position: relative;
}

.welcome-about {
  position: absolute;
  /* top: clamp(100px, 20vh, 235px); */
  top: clamp(120px, 18vw, 235px);
  left: clamp(200px, calc(70vw - 180px), 852px);
  display: flex;
  flex-direction: column;
  margin-right: 30px;
}

@media (max-width: 580px) {
  .welcome-about {
    margin-top: 380px;
    left: 5%;
    margin-right: 20px;
  }
}

.welcome-about p {
  color: #ffffff;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 38.9px;
  letter-spacing: 0%;
  max-width: 465px;
  margin-bottom: 48px;
}

@media (max-width: 580px) {
  .welcome-about p {
    font-size: 15px;
    line-height: 30px;
  }
}

.welcome-about button {
  color: #ffffff;
  background-color: #7e10b3;
  padding-top: 13px 33px;
  gap: 10px;
  height: 48px;
  width: 194px;
  border: none;
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  cursor: pointer;
}

.aboutpage-sect1 {
  display: flex;
  flex-direction: column;
  max-width: 1440px;
  height: 1074px;
  margin-bottom: 130px;
}

.aboutpage-sect1 h3 {
  color: #ffffff;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
  margin-left: 119px;
  margin-bottom: 90px;
}

.abtpage-main-prt {
  display: flex;
  flex-direction: column;
  max-width: 1440px;
  min-height: 955px;
  background-image: url(assets/section-background-cybercity.png);
  background-position: center;
}

.abtpage-main-prt p {
  color: #ffffff;
  max-width: 465px;
  min-height: 467px;
  margin-top: 195px;
  margin-left: 119px;
  margin-bottom: 50px;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 38.9px;
  letter-spacing: 0%;
}

@media (max-width: 540px) {
  .abtpage-main-prt p {
    font-size: 15px;
    padding-right: 20px;
    line-height: 30px;
  }
}

.abtpage-main-prt button {
  color: #ffffff;
  width: 194px;
  height: 48px;
  padding: 13px 33px;
  cursor: pointer;
  border: none;
  background-color: #7e10b3;
  margin-left: 119px;
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
}

/* contact page */

.contact-page {
  background-image: url(assets/background-contact-page.svg);
  background-size: cover;
  color: #ffffff;
  background-position: center;
  height: 1034px;
  position: relative;
}

.main-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 180px;
  max-width: 507px;
  gap: 25px;
  margin-left: clamp(20px, 32vw, 465px);
  /* padding-right: 465px; */
}

@media (max-width: 600px) {
  .main-box {
    margin-top: 30%;
    margin-left: 0;
  }
}

.main-box h3 {
  width: 272px;
  height: 44px;
  color: #ffffff;
  font-weight: 700;
  font-style: Bold;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0%;
}

.main-box p {
  height: 19px;
  color: #ffffff;
  /* font-family: Roboto; */
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.form-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.form-input {
  /* width: 507px; */
  height: 50px;
  border-radius: 2px;
  border: none;
  padding: 14px 26px;
}

input::placeholder {
  color: #000000;
  /* font-family: Roboto; */
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
}

.form-text {
  /* width: 507px; */
  height: 180px;
  border-radius: 2px;
  border: none;
  padding: 14px 26px;
  resize: none;
}

.form-input,
.form-text {
  width: clamp(250px, calc(30.6vw + 66.4px), 507px);
}

.form-text::placeholder {
  color: #000000;
  /* font-family: Roboto; */
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
}

.form-box button {
  width: 119px;
  height: 48px;
  padding: 13px 33px;
  cursor: pointer;
  border: none;
  background-color: #7e10b3;
  color: #ffffff;
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-top: 10px;
}

/* im so done with this... */

/* page - products */

.page-products {
  background-image: url(assets/page-products-background.jpg);
  background-size: cover;
  color: #ffffff;
  background-position: center;
  height: 700px;
}

/* code by ai */

/* Section 1: Hero Advertisement - Updated for 3D effect */
.hero-ad {
  height: 600px;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 120px;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 60px;
  position: relative;
  z-index: 2;
}

/* Updated image container for transparent background */
.hero-image-slide {
  width: 50%;
  height: 500px; /* Increased height for pop-out effect */
  position: relative;
  overflow: visible; /* Changed from hidden to visible */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* @media (max-width: 768px) {

/* Background layer - slightly transparent */
.hero-image-bg {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 15px;
  border: 1px solid rgba(177, 54, 193, 0.82);
  box-shadow: 0 0 50px rgba(224, 92, 242, 0.352);
}

/* Foreground image - will pop out */
.hero-image-foreground {
  width: 120%; /* Extends beyond container */
  height: 120%;
  z-index: 3;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7));
}

/* Hover effect for more interactivity */
.hero-image-slide:hover .hero-image-foreground {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

/* Optional: Add a subtle glow behind the image */
.hero-image-slide::before {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  background: radial-gradient(
    circle at center,
    rgba(225, 92, 242, 0.1) 0%,
    transparent 70%
  );
  z-index: 2;
  animation: pulse 4s infinite alternate;
}

@keyframes pulse {
  0% {
    opacity: 0.3;
    transform: scale(0.95);
  }
  100% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

.hero-text {
  width: 50%;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #e15cf2;
  text-shadow: 0 2px 10px rgba(225, 92, 242, 0.5);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid #e15cf2;
}

.cta-button {
  background: linear-gradient(135deg, #e15cf2 0%, #c445d0 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(225, 92, 242, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(225, 92, 242, 0.6);
}

.cta-button:active {
  transform: translateY(0);
}

/* Section 2: Detailed Description */
.detailed-desc {
  padding: 100px 120px;
  color: white;
}

.desc-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.desc-text {
  width: 50%;
}

.desc-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #e15cf2;
}

.desc-text p {
  margin-bottom: 30px;
  line-height: 1.6;
}

.features {
  list-style: none;
}

.features li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.features li:before {
  content: "▶";
  color: #e15cf2;
  position: absolute;
  left: 0;
}

.desc-image img {
  max-height: 700px;
  border-radius: 5px;
  border: #91449b 2px solid;
  box-shadow: 0 0 20px rgba(225, 92, 242, 0.5);
}

@media (max-width: 630px) {
  .desc-image img {
    max-height: 400px;
  }

  .desc-text,
  .desc-image {
    width: 100%;
  }
}

/* Section 3: Product Carousel */
.product-carousel {
  padding: 100px 120px;
  color: white;
}

.product-carousel h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #ffffff;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

.product-card {
  min-width: calc(33.333% - 20px);
  border: #E15CF2 2px solid;
  padding: 20px;
  text-align: center;
}

.card-image {
  height: 180px;
  margin-bottom: 20px;
  overflow: hidden;      /* VERY important */
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* fills card, crops if needed */
  display: block;
}

.product-card h3 {
  margin-bottom: 10px;
  color: #ffffff;
}

.product-card p {
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e15cf2;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Section 4: Lungs Advertisement */
.lungs-ad {
  height: 500px;
  background: linear-gradient(135deg, #0a0a0a 0%, #2a1a3e 100%);
  color: white;
  display: flex;
  align-items: center;
  padding: 0 120px;
}

.lungs-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 60px;
}

.lungs-text {
  width: 60%;
}

.lungs-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.lungs-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.lungs-image {
  width: 40%;
  height: 300px;
  background-image: url(assets/prdct-art-lungs.jpg);
  background-size: cover;
  background-position: center;
  border: #E15CF2 2px solid;
  box-shadow: 0 0 20px rgba(225, 92, 242, 0.5);
}

/* Section 5: Latest Products */
.latest-products {
  padding: 100px 120px;
  color: white;
}

.latest-products h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #ffffff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.latest-card {
  border: #E15CF2 2px solid;
  padding: 20px;
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.latest-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(225, 92, 242, 0.3);
}

.latest-image {
  height: 180px;
  margin-bottom: 20px;
  overflow: hidden; 
}

.latest-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

.latest-card h3 {
  margin-bottom: 10px;
  color: #e15cf2;
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-ad,
  .detailed-desc,
  .product-carousel,
  .lungs-ad,
  .latest-products {
    padding: 80px 60px;
  }

  .hero-content,
  .desc-content,
  .lungs-content {
    flex-direction: column;
  }

  .hero-text,
  .desc-text,
  .desc-image,
  .lungs-text,
  .lungs-image {
    width: 100%;
  }

  .hero-image-slide{
    display: none;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (max-width: 768px) {
  .hero-ad,
  .detailed-desc,
  .product-carousel,
  .lungs-ad,
  .latest-products {
    padding: 60px 30px;
  }

  .product-card {
    min-width: calc(100% - 20px);
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* for burger bar */

/* Burger Menu Button */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background: #ffffff;
  transition: all 0.3s ease;
}

/* Burger menu animation when active */
.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Styles */
@media (max-width: 1130px) {
  .burger-menu {
    display: flex;
  }

  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
    padding-left: 30px;
    transition: right 0.3s ease;
    z-index: 999;
    gap: 40px;
  }

  .nav-wrapper.active {
    right: 0;
  }

  .nav-bar nav ul {
    flex-direction: column;
    gap: 30px;
  }

  .nav-bar nav ul li a {
    font-size: 1.2rem;
  }

  .bar-cart {
    flex-direction: column;
    gap: 30px;
  }

  .sign-in button {
    width: 200px;
  }

  /* Dark overlay when menu is open */
  .nav-wrapper.active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
}

/* Adjust nav-bar padding for mobile */
@media (max-width: 768px) {
  .nav-bar {
    padding: 25px 30px;
  }
}



/* wikis page */

/* Wiki Page Styles */

.page-wikis {
  background-image: none;
  height: auto;
}

.wiki-page {
  background: #0a0a0a;
  color: white;
  min-height: 100vh;
}

/* Section 1: Header with Search */
.wiki-header {
  padding: 100px 120px 60px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.header-content h1 {
  font-size: 3rem;
  color: #E15CF2;
  margin: 0;
  flex: 1;
}

.search-container {
  position: relative;
  width: 400px;
}

.search-input {
  width: 100%;
  padding: 15px 20px;
  padding-right: 60px;
  background: rgba(42, 42, 58, 0.8);
  border: 1px solid rgba(225, 92, 242, 0.3);
  color: white;
  font-size: 1rem;
  backdrop-filter: blur(10px);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
  outline: none;
  border-color: #E15CF2;
  box-shadow: 0 0 20px rgba(225, 92, 242, 0.3);
}

.search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #E15CF2;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.search-btn:hover {
  background: #c445d0;
}

/* Section 2: Wiki Categories */
.wiki-categories {
  padding: 60px 120px;
  background: #0a0a0a;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.category-card {
  background: rgba(42, 42, 58, 0.6);
  border: 1px solid rgba(225, 92, 242, 0.2);
  padding: 30px;
  text-decoration: none;
  color: white;
  display: block;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.category-card:hover {
  border-color: #E15CF2;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(225, 92, 242, 0.2);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(225, 92, 242, 0.1), transparent);
  transition: left 0.5s;
}

.category-card:hover::before {
  left: 100%;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.category-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #E15CF2;
}

.category-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-arrow {
  color: #E15CF2;
  font-size: 1.5rem;
  position: absolute;
  right: 30px;
  bottom: 30px;
  transition: transform 0.3s;
}

.category-card:hover .card-arrow {
  transform: translateX(5px);
}

/* Section 3: FAQ Accordion */
.wiki-faq {
  padding: 60px 120px 100px;
  background: #0a0a0a;
}

.wiki-faq h2 {
  font-size: 2.5rem;
  color: #E15CF2;
  margin-bottom: 40px;
  text-align: center;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(225, 92, 242, 0.2);
  overflow: hidden;
  background: rgba(42, 42, 58, 0.4);
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(225, 92, 242, 0.1);
}

.faq-question span:first-child {
  font-size: 1.1rem;
  font-weight: 500;
  flex: 1;
}

.faq-arrow {
  color: #E15CF2;
  font-size: 1.8rem;
  transition: transform 0.3s;
  margin-left: 20px;
  min-width: 20px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 30px;
}

.faq-answer p {
  padding: 20px 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  border-top: 1px solid rgba(225, 92, 242, 0.1);
}

/* FAQ Accordion functionality (pure CSS) */
.faq-toggle:checked ~ .faq-answer {
  max-height: 300px;
}

.faq-toggle:checked ~ .faq-question .faq-arrow {
  transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .wiki-header,
  .wiki-categories,
  .wiki-faq {
    padding: 60px 40px;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .search-container {
    width: 100%;
    max-width: 500px;
  }
  
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .wiki-header,
  .wiki-categories,
  .wiki-faq {
    padding: 40px 20px;
  }
  
  .header-content h1 {
    font-size: 2.2rem;
  }
  
  .wiki-faq h2 {
    font-size: 2rem;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-question {
    padding: 15px 20px;
  }
  
  .faq-answer {
    padding: 0 20px;
  }
}