@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Poppins: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");

@media screen and (max-width: 1000px) {
  #desk-v {
    display: none;
  }

  .home {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
  }

  .home img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps image nicely scaled */
    display: block;
    z-index: 1;
    position: relative;
  }

  .h0overlay {
    position: absolute;
    background-color: black;
    opacity: 0.4;
    z-index: 2; /* overlay above image */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .home-data {
    position: absolute;
    z-index: 3;
    top: 100%; /* Start off-screen at the bottom */
    left: 50%;
    transform: translate(-50%, 0); /* Center horizontally */
    background: none;
    width: 80%;
    height: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: all 2s ease;
  }

  /* This class will be added after page load */
  .home-data.show {
    top: 50%; /* Move to vertical center */
    transform: translate(-50%, -50%); /* Center both axes */
    opacity: 1;
  }

  .home-data h1 {
    background: none;
    font-size: 9.5vw;
  }

  .home-data p {
    background: none;
    font-size: 20px;
    padding-top: 25px;
    padding-bottom: 35px;
  }

  #hcc {
    font-size: 24px;
    padding: 6px 20px;
    background-color: rgb(145, 100, 187);
    border: 0;
    border-radius: 5px;
  }
  #hcc a {
    font-weight: 600;
    text-decoration: none;
    color: white;
  }

  .home1 {
    width: 90vw;
    margin-left: 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .h1 {
    width: 90vw;
    margin: auto;
    text-align: justify;
  }

  .h1 h1 {
    text-align: center;
    font-weight: 550;
    font-size: 35px;
    margin-bottom: 30px;
    font-family: "DM Sans", sans-serif;
    line-height: 1.4;
    transform: scaleY(1.15);
    margin-top: 45px;
  }
  .h1 p {
    font-size: 19px;
  }

  .h2 {
    width: 90vw;
    margin: auto;
    margin-top: 30px;
  }
  .h2 img {
    width: 100%;
  }

  .collection {
    width: 100vw;
    min-height: 100px;
    position: relative;
  }

  .collection h1 {
    text-align: center;
    margin-top: 40px;
    font-size: 40px;
    font-family: "Poppins", sans-serif;
  }

  .bgs {
    background-color: rgb(212, 187, 157);
    width: 90vw;
    min-height: 100px;
    margin-left: 5vw;
    margin-top: 20%;
    position: relative;
  }

  .c1 {
    position: absolute;
    margin-top: -20%;
    width: 60vw;
    margin-left: 10vw;
    padding: 20px;
  }

  #c1 {
    width: 100%;
  }

  .c1-d {
    padding-top: 45%;
    background: none;
  }

  .c1-d h2 {
    background: none;
    font-size: 8vw;
    padding-top: 25px;
    text-align: center;
  }
  .c1-d p {
    display: block;
    width: 90%;
    margin-left: 5%;
    color: rgb(160, 93, 115);
    background: none;
    font-size: 4vw;
    padding-top: 25px;
    text-align: center;
    margin-bottom: 55px;
  }

  .c2 {
    width: 60vw;
    margin-left: 10vw;
    padding: 20px;
  }

  .c2 img {
    width: 100%;
  }

  .c2-d {
    padding-top: 10%;
    background: none;
  }

  .c2-d h2 {
    background: none;
    font-size: 8vw;
    text-align: center;
  }
  .c2-d p {
    display: block;
    width: 90%;
    margin-left: 5%;
    color: rgb(160, 93, 115);
    background: none;
    font-size: 4vw;
    padding-top: 25px;
    text-align: center;
    padding-bottom: 25px;
    margin-bottom: 30px;
  }

  .con {
    width: fit-content;
    padding: 5px 15px;
    border: 0;
    background-color: rgb(0, 0, 0);
  }

  .con a {
    text-decoration: none;
    font-size: 23px;
    color: white;
    font-weight: 600;
  }
  .con:hover,
  .con:visited,
  .con:active {
    background-color: rgb(160, 160, 117);
  }

  .custom {
    width: 100vw;
    display: flex;
    margin-top: 55px;
    flex-direction: column;
    gap: 0;
  }
  .custtm,
  .custtm1 {
    width: 100vw;
    max-height: 500px;
    overflow: hidden;
    position: relative;
  }

  .custtm1 img {
    display: block;
    width: 100vw;
    height: 100%;
    object-fit: contain;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* semi-transparent by default */
    transition: background-color 0.5s ease;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -10px;
  }

  .overlay h1 {
    text-align: center;
    background: none;
    color: white;
    font-size: 12vw;
    line-height: 1.1;
    font-weight: 500;
    padding: 3vw;
  }

  /* On hover, make background fully transparent */
  .custtm1:hover .overlay {
    background-color: rgba(0, 0, 0, 0);
  }

  .custtm {
    width: 100%;
    height: 300px;
    margin-bottom: 10px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
  }
  .custtm img {
    width: 100%;
    position: absolute;
    bottom: -50%;
  }

  .bt {
    width: 100vw;
    display: flex;
    justify-content: center;
    margin: 50px 0;
  }
  .bt a {
    text-decoration: none;
    color: white;
    font-size: 3.6vw;
    font-weight: 600;
  }
  #bt {
    background-color: rgb(118, 38, 192);
    padding: 5px 15px;
    border: 0;
  }

  .uniq {
    width: 100vw;
    margin-bottom: 40px;
    overflow-x: hidden;
  }

  .uni-img {
    width: 100%;
  }

  .uni-data h1 {
    font-weight: 500;
    padding: 0 20px;
    font-size: 6vw;
    font-family: "Poppins", sans-serif;
    transform: scaleY(1.7);
    text-align: center;
    margin-top: 45px;
  }

  .uni-data p {
    width: 90vw;
    text-align: center;
    margin: 30px 5vw;
  }

  .qcl {
    background: none;
  }

  #x,
  #y {
    margin-left: 15px;
    margin-bottom: 30px;
  }

  #x a,
  #x p {
    margin-left: 20px;
    font-size: 4vw;
  }

  #x h1 {
    font-size: 7vw;
    font-weight: 600;
    padding-bottom: 14px;
    background: none;
  }

  #y h1 {
    font-size: 6.9vw;
    padding-bottom: 14px;
    background: none;
  }

  #x a,
  #y a {
    font-size: 4vw;
    margin-bottom: 6px;
  }

  #y a {
    margin: 5px;
  }

  #y i {
    margin-left: 5px;
    font-size: 22px;
  }

  #xcv {
    margin-top: 15px;
  }
  span {
    font-size: 4vw;
  }

  .stars,
  .fa-star {
    background: none;
    color: #f5b64c;
    text-align: left;
  }

  .stars {
    margin-left: 20px;
    margin-top: 25px;
    margin-bottom: 30px;
  }

  .Reviews {
    min-height: 30px;
    background-color: #740e88;
    width: fit-content;
    margin-left: 25px;
    margin-top: 25px;
    padding: 10px 20px 5px 0;
    border: 0;
    border-radius: 10px;
  }

  .Reviews a {
    font-weight: 600;
  }

  .Reviews:hover {
    background-color: black;
  }

  #copy {
    display: none;
  }

  .mcopy {
    width: 90vw;
    margin-left: 5vw;
    text-align: center;
    background: none;
    padding-top: 40px;
  }

  #mcopy {
    background: none;
    padding: 0 10px;
    color: white;
    font-size: 3.7vw;
  }

  .hand {
    position: relative;
    display: inline-block;
    width: 100vw;
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .hand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: translate(-18.4%, 0%);
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .overlayxx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease-in-out;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .hand:hover .overlayxx,
  .overlayx:hover .overlayxx {
    background-color: rgba(0, 0, 0, 0);
  }

  footer {
    margin-top: -7px;
  }

  .overlayx p {
    background: none;
    color: white;
    text-align: center;
    padding: 50px 25px;
    font-size: 4vw;
  }

  .overlayx h2 {
    background: none;
    color: white;
    text-align: center;
    padding: 0 15px;
    font-size: 6vw;
    margin-top: 0px;
  }

  .cdcd {
    background-color: #721e83;
    padding: 10px 20px;
    border: 0;
    margin-top: 25px;
  }

  .cdcd a {
    text-decoration: none;
    color: white;
    font-size: 4.5vw;
    font-weight: 600;
  }
}

@keyframes slideUpFadeIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.overlayx {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  background-color: rgba(0, 0, 0, 0);

  /* Animation */
  animation: slideUpFadeIn 3s ease-out forwards;
  opacity: 0;
}

.fa-star {
  font-size: 30px;
}

#y a {
  width: fit-content;
}
#y h1 {
  background: none;
  font-weight: 600;
  color: white;
}

#y i,
span {
  background: none;
}

.icon-outline {
  color: transparent;
  text-shadow: 0px 0px 0px rgb(0, 0, 0), 0 0px 2px rgb(255, 166, 0),
    0px 0px 0px rgb(255, 166, 0);
  -webkit-text-stroke: 0.8px rgb(224, 153, 0); /* Optional fallback */
}

span {
  font-weight: 500;
  margin-left: 8px;
  text-shadow: 0 0 1px rgb(255, 255, 255), 0 0 2px rgb(0, 0, 0),
    0 0 3px rgb(0, 0, 0);
  -webkit-text-stroke: 0px rgb(0, 0, 0);
}

#x,
#x h1,
#x a {
  background: none;
  text-decoration: none;
  text-align: left;
  color: white;
  width: fit-content;
  display: flex;
  flex-direction: column;
}

#x a:hover {
  color: skyblue;
  width: fit-content;
  background: none;
}

#y {
  background: none;
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 1000px) {
  .mcopy {
    display: none;
  }

  .home {
    background-image: url("../images/index/home.png"); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 70vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
  }

  #mob-v {
    display: none;
  }

  .h0overlay {
    display: none;
  }

  .home-data {
    position: absolute;
    z-index: 3;
    top: 50%; /* Vertical center */
    left: 0; /* Align to left */
    transform: translateY(-50%); /* Only shift vertically */
    background: none;
    width: 80%;
    height: auto;
    color: white;
    opacity: 0;
    transition: all 2s ease;
    text-align: left; /* Align text to the left */
    padding-left: 5%; /* Optional: add some spacing from the left edge */
  }

  /* This class is added after page load */
  .home-data.show {
    opacity: 1;
  }

  #logo{
    margin-left: 0;
    padding: 0;
  }

  .home-data h1 {
    background: none;
    font-size: 60px;
    font-family: "Poppins", sans-serif;
    transform: scaleY(1.16);
    font-optical-sizing: auto;
  }

  .home-data p {
    background: none;
    font-size: 20px;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  #hcc {
    font-size: 24px;
    padding: 6px 20px;
    width: fit-content;
    background-color: rgb(145, 100, 187);
    border: 0;
    border-radius: 5px;
  }
  #hcc a {
    font-weight: 600;
    text-decoration: none;
    color: white;
  }

  .home1 {
    width: 90vw;
    margin-left: 5vw;
    display: flex;
    flex-direction: row;
  }
  .h1 {
    width: 45vw;
    text-align: justify;
    margin: 45px 0;
  }

  .h1 h1 {
    text-align: center;
    font-weight: 550;
    font-size: 35px;
    margin-bottom: 30px;
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.4;
    transform: scaleY(1.15);
  }

  .h1 p {
    font-size: 19px;
  }

  .h2 {
    width: 45vw;
  }

  .h2 img {
    width: 100%;
    padding-left: 30px;
    padding-top: 30px;
  }

  .collection {
    width: 100vw;
  }

  .collection h1 {
    text-align: center;
    font-size: 5.5vw;
    margin-top: 70px;
    margin-bottom: 30px;
  }

  .bgs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    gap: 2vw;
  }

  .c10,
  .c1,
  .c2 {
    width: 45vw;
  }

  .c1 img,
  .c2 img {
    width: 70%;
    margin-bottom: 25px;
  }

  .c1-d h2,
  .c2-d h2 {
    font-size: 3vw;
    padding-bottom: 45px;
    padding-top: 20px;
  }

  .c1-d p,
  .c2-d p {
    font-size: 1.3vw;
    width: 80%;
    margin-left: 10%;
    color: rgb(152, 105, 196);
  }

  .con {
    width: fit-content;
    padding: 5px 20px;
    background-color: black;
    margin-bottom: 80px;
    border: 0;
  }

  .con a {
    color: white;
    font-size: 2vw;
  }
  .con:hover,
  .con:visited,
  .con:active {
    background-color: rgb(169, 170, 172);
  }

  .custom {
    width: 90vw;
    margin-left: 5vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 80px;
  }

  .custtm1 {
    width: 45vw;
    position: relative;
    aspect-ratio: 16 / 9; /* Let the container control the ratio */
    overflow: hidden;
  }

  .custtm1 img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Better than 'fill' for most cases */
    display: block;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* semi-transparent by default */
    transition: background-color 0.5s ease;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .overlay h1 {
    text-align: center;
    background: none;
    color: white;
    font-size: 4vw;
    font-weight: 500;
    line-height: 1.1;
    padding: 3vw;
  }
  /* On hover, make background fully transparent */
  .custtm1:hover .overlay {
    background-color: rgba(0, 0, 0, 0);
  }

  .cust-hd {
    width: 44vw;
    height: 400px;
    display: flex;
    flex-wrap: wrap;
  }

  .custtm {
    width: 50%;
    height: 50%;
    overflow: hidden;
    position: relative;
  }

  .custtm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .bt {
    width: 100vw;
    display: flex;
    justify-content: center;
    margin: 30px 0;
  }
  .bt a {
    text-decoration: none;
    color: white;
    font-size: 1.6vw;
  }
  #bt {
    background-color: rgb(118, 38, 192);
    padding: 5px 15px;
    border: 0;
  }

  .uniq {
    width: 95vw;
    margin-left: 2.5vw;
    margin-top: 80px;
    margin-bottom: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }

  .uni-img {
    width: 25vw;
  }

  .uni-data {
    width: 40vw;
  }

  .uni-data h1 {
    width: 80%;
    margin-left: 10%;
    text-align: center;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    transform: scaleY(1.6);
    padding-top: 60px;
    padding-bottom: 20px;
    background: none;
  }

  .uni-data p {
    width: 90%;
    margin-top: 25px;
    text-align: center;
    font-size: 1.3vw;
    margin-left: 5%;
  }

  footer {
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }

  #x,
  #y {
    min-width: 15px;
    padding: 0 10px;
  }

  #x h1,
  #y h1 {
    font-weight: 650;
    margin-bottom: 20px;
    font-family: "Poppins", sans-serif;
    font-size: 2vw;
    background: none;
  }

  .zzz h1 {
    padding-bottom: 20px;
  }

  #x a {
    font-size: 1.3vw;
    margin-left: 20px;
    margin-bottom: 20px;
  }

  #bst {
    text-align: center;
    margin-left: -20px;
    font-size: 1.6vw;
  }

  #x i {
    margin-bottom: 15px;
  }

  span a {
    width: fit-content;
  }

  #y a {
    margin: 7px 15px;
  }

  .stars,
  .fa-star {
    background: none;
    color: #f5b64c;
    text-align: center;
  }

  .Reviews {
    min-height: 30px;
    background-color: #740e88;
    width: fit-content;
    margin-top: 25px;
    padding: 18px 15px 0px 0px;
    /* top right bottom left */
    border: 0;
    border-radius: 10px;
    text-align: center;
  }

  .Reviews a {
    font-weight: 600;
  }

  .Reviews:hover {
    background-color: black;
  }

  .zzz {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #copy {
    background-color: black;
    width: fit-content; /* or any specific width */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: rgb(255, 255, 255);
    padding-bottom: 10px;
  }

  .hand {
    width: 100vw;
    height: 80vh;
    overflow: hidden;
    position: relative;
    display: flex; /* Use flex to center */
    align-items: center;
    justify-content: center;
    background-image: url("../images/index/feethand.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .overlayx {
    position: absolute;
    top: 0;
    left: 0;
    width: 95vw;
    height: 100%;
    margin-left: 2.5vw;
    background-color: rgba(0, 0, 0, 0); /* initial black with 0.5 opacity */
    transition: opacity 0.3s ease-in-out;
  }

  .overlayxx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* initial black with 0.5 opacity */
    transition: opacity 0.3s ease-in-out;
  }

  .hand:hover .overlayxx,
  .overlayx:hover .overlayxx {
    background-color: rgba(0, 0, 0, 0); /* initial black with 0.5 opacity */
  }

  .overlayx p {
    background: none;
    color: white;
    text-align: center;
    padding: 50px;
    font-size: 2vw;
  }

  .overlayx h2 {
    background: none;
    color: white;
    text-align: center;
    padding: 0 15px;
    font-size: 3.2vw;
    font-weight: 600;
    margin-top: 10px;
  }

  .cdcd {
    background-color: #721e83;
    padding: 10px 20px;
    border: 0;
    border-radius: 10px;
    margin-top: 25px;
  }

  .cdcd a {
    text-decoration: none;
    color: white;
    font-size: 1.8vw;
    font-weight: 600;
  }
}

.overlayx {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Arial, Helvetica, sans;
}

.c10 {
  background: none;
}

#x p {
  background: none;
}

footer {
  height: fit-content;
  background-color: black;
  padding-top: 40px;
  margin-bottom: 0;
  margin-top: -7px;
  padding-bottom: 60px;
  position: relative;
}

@keyframes fontGrow {
  0% {
    font-size: 130%;
    opacity: 0;
  }

  50% {
    font-size: 100%;
    opacity: 0.5;
  }

  100% {
    font-size: 110%;
    opacity: 1;
  }
}

footer h1,
footer a,
footer p,
footer span,
footer i {
  animation: fontGrow 2s ease-in;
}

html,
body {
  overflow-x: hidden;
}
