/*Carousel styles*/

.more_about {
  background-color: #008385;
  color: white;
  padding: 8px 25px;
  max-width: max-content;
  border: 0;
  outline: 0;
  margin-top: 25%;
  font-size: 20px;
}

.more_about:hover {
  cursor: pointer;
  border: 2px solid #008385;
  background-color: transparent;
  color: #008385;
}
/*end here*/

.carousel-main-heading {
  display: flex;
}

.image_container {
  /* position: relative; */
  display: flex;
  width: 100%;
  max-width: 55%;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.box-container {
  border-top: 15px solid #008385;
  background-color: #ededed;
  width: 40%;
  min-height: 90vh;
  margin: 0rem 3rem;
  opacity: 1;
}

.left_slide_animate {
  animation: left_slide 1s linear;
  opacity: 1;
}

.right_slide_animate {
  animation: right_slide 1s linear;
  opacity: 1;
}

@keyframes left_slide {
  0% {
    transform: translate(-100%);
    opacity: 0;
  }
  100% {
    transform: translate(0%);
    opacity: 1;
  }
}

@keyframes right_slide {
  0% {
    transform: translate(100%);
    opacity: 0;
  }
  100% {
    transform: translate(0%);
    opacity: 1;
  }
}

.animated-heading {
  display: inline-block;
  font-size: 5rem;
  font-weight: bold;
  overflow: hidden;
  opacity: 0;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.rotating-char {
  display: inline-block;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.5s ease;
}

.rotating-char.visible {
  transform: translateY(0px);
  opacity: 1;
}

@keyframes opacity-animation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.carousel-content {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
  font-size: 5rem;
  padding: 0px 5rem;
  word-wrap: break-word;
  z-index: 1;
}
.carousel-content::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-color: black;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4;
}

.carousel-content p {
  font-size: 1.5rem;
  text-align: center;
}

.greybox {
  position: relative;
  display: flex;
  background-color: #d9d9d9;
  width: max-content;
  margin: 2%;
  height: 80vh;
  justify-content: center;
  align-content: center;
  flex-direction: row;
  align-items: center;
  padding: 3% 2%;
}

.greenbox {
  position: absolute;
  left: -3%;
  top: -3%;
  z-index: -1;
  height: 30%;
  width: 30%;
  background-color: #008385;
}

.greybox img {
  max-width: 95%;
  height: 95%;
  object-fit: cover;
}

.text {
  margin-left: 15px;
  /* font-family: "Poppins" !important; */
}

.heading p {
  font-size: 2rem;
  color: rgb(0, 131, 133);
  padding: 0;
  margin: 50px 0 0 0;
}

.heading h1 {
  font-size: 3rem;
  padding: 0;
  margin: 0 0 5px 0;
  overflow: hidden;
}

.upper_section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow-x: hidden;
}

.content {
  font-size: 1.5rem;
}

.content p {
  width: 90%;
  text-align: justify;
}

#more_about {
  font-size: 1.75rem;
  display: flex;
  color: white;
  background-color: #008385;
  border: none;
  outline: none;
  padding: 5px 45px 5px 45px;
  margin-top: 10vh;
  border: 2px solid transparent;
  box-sizing: border-box;
}

#more_about:hover {
  cursor: pointer;
  background-color: transparent;
  border: 2px solid #008385;
}

#more_about:hover a {
  color: #008385 !important;
}

#more_about .inquiry {
  margin-top: 10vh;
}

.inquiry {
  margin-top: 3.5rem;
}

.inquiry p {
  color: #008385;
  font-size: 1.75rem;
}
.inquiry #mobile_no {
  color: black;
  font-size: 2rem;
}

.inquiry #mobile_no:hover {
  cursor: pointer;
  color: #008385;
  text-shadow: 0 0 2px white;
}

.background_container {
  position: relative;
  display: flex;
  background: url(../assets/background_image.jpg);
  background-position: center;
  background-size: cover;
  top: 45vh;
  left: 50%;
  transform: translate(-50%, -50%);
  justify-content: space-between;
  min-height: 50vh;
  width: 90%;
  margin: 0;
}

.background_color {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #008385ad;
}

.attributes_container {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  position: relative;
  gap: 5vh;
  margin: 5vh;
  width: 100%;
}

.curated_quality_container {
  display: flex;
  justify-content: space-evenly;
}

.cost_ontime_container {
  display: flex;
  justify-content: space-evenly;
}

#learn_more {
  position: relative;
  top: 1rem;
  font-size: 1.5rem;
  text-decoration: none;
  color: #008385;
}

#learn_more:hover {
  color: black;
  text-shadow: 0 0 2px white;
}

/* line code */
.line {
  margin: 10px auto;
  display: flex;
  flex-direction: row;
}

.line .l1 {
  width: 45px;
  height: 2px;
  background-color: #008385;
  margin-top: 2px;
}

.line .l2 {
  width: 8px;
  height: 2px;
  background-color: #008385;
  margin-top: 2px;
  margin-left: 2px;
}

.line .l3 {
  width: 10px;
  height: 2px;
  background-color: #008385;
  margin-top: 2px;
  margin-left: 2px;
}
/* end here */

@media (min-width: 768px) and (max-width: 1024px) {
  html {
    font-size: 12px;
  }

  .more_about {
    margin-top: 2rem;
    padding: 0.75rem 2rem;
    font-size: 1.5rem !important;
  }

  .carousel-content {
    padding: 0rem;
  }

  /* end */
  .upper_section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
  }

  .image_container {
    display: flex;
    max-width: 75%;
    justify-content: center;
    align-items: center;
  }

  .greybox {
    margin: 5%;
    height: 100%;
  }

  .box-container {
    /* position: relative; */
    display: flex;
    border-top: 15px solid #008385;
    background-color: #ededed;
    width: 90%;
    max-width: 90%;
    min-height: fit-content;
    align-items: center;
    flex-direction: column;
    margin: 5rem 3rem;
  }

  .heading p {
    font-size: 2rem;
    color: rgb(0, 131, 133);
    padding: 0;
    margin: 50px 0 0 0;
  }

  .heading h1 {
    font-size: 3rem;
    padding: 0;
    margin: 0 0 5px 0;
  }

  .content p {
    font-size: 1.75rem;
    width: 90%;
    text-align: justify;
  }

  #more_about {
    font-size: 1.75rem;
    display: flex;
    color: white;
    background-color: #008385;
    border: none;
    outline: none;
    padding: 5px 30px 5px 30px;
    margin-top: 5vh;
  }

  .inquiry {
    margin-top: 3.5rem;
  }

  .inquiry p {
    color: #008385;
    font-size: 1.75rem;
  }

  .inquiry #mobile_no {
    color: black;
    font-size: 2rem;
  }

  .background_container {
    position: relative;
    display: flex;
    background: url(../assets/background_image.jpg);
    background-position: center;
    background-size: cover;
    top: 30vh;
    left: 50%;
    transform: translate(-50%, -50%);
    justify-content: space-between;
    min-height: 50vh;
    width: 90%;
    margin: 0;
    flex-direction: row;
  }

  .attributes_container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: relative;
    gap: 2vh;
    margin: 2vh;
    width: 100%;
  }

  .curated_quality_container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 2vh;
  }

  .cost_ontime_container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 2vh;
  }
}

/* media queries for responsive webpage */
@media (max-width: 767px) {
  .home-page-container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
  }

  .carousel-upper-section-div {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .carousel-content {
    padding: 1rem;
  }

  .carousel-main-heading {
    flex-direction: column;
  }

  .product-background-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  /* carousel */
  .carousel-item img {
    height: 45rem;
    object-fit: cover;
  }

  .carousel-item span {
    font-size: 3rem !important;
  }

  .carousel-item p {
    font-size: 1rem !important;
  }

  .more_about {
    margin-top: 2rem;
    padding: 0.75rem 2rem;
    font-size: 1rem !important;
  }

  /* end */
  .upper_section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
  }

  .image_container {
    display: flex;
    max-width: 100%;
    justify-content: center;
    align-items: center;
  }

  .greybox {
    margin: 5%;
    height: 100%;
  }

  .box-container {
    /* position: relative; */
    display: flex;
    border-top: 15px solid #008385;
    background-color: #ededed;
    width: 90%;
    max-width: 90%;
    min-height: fit-content;
    align-items: center;
    flex-direction: column;
    margin: 0;
  }

  .heading p {
    font-size: 1.5rem;
    color: rgb(0, 131, 133);
    padding: 0;
    margin: 50px 0 0 0;
  }

  .heading h1 {
    font-size: 3rem;
    padding: 0;
    margin: 0 0 5px 0;
  }

  .content p {
    font-size: 1.25rem;
    width: 90%;
    text-align: justify;
  }

  #more_about {
    font-size: 1.75rem;
    display: flex;
    color: white;
    background-color: #008385;
    border: none;
    outline: none;
    padding: 5px 30px 5px 30px;
    margin-top: 5vh;
  }

  .inquiry {
    margin-top: 3.5rem;
  }

  .inquiry p {
    color: #008385;
    font-size: 1.25rem;
  }

  .inquiry #mobile_no {
    color: black;
    font-size: 1.5rem;
  }

  .background_container {
    position: relative;
    display: flex;
    background: url(../assets/background_image.jpg);
    background-position: center;
    background-size: cover;
    top: 40vh;
    left: 50%;
    transform: translate(-50%, -50%);
    justify-content: space-between;
    min-height: 50vh;
    width: 90%;
    margin: 0;
    flex-direction: row;
  }

  .attributes_container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: relative;
    gap: 2vh;
    margin: 2vh;
    width: 100%;
  }

  .curated_quality_container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 2vh;
  }

  .cost_ontime_container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 2vh;
  }
}
