@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&family=Urbanist:wght@300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --colorPrimary: #ec0b43;
  --colorSecondary: #031927;
  --colorTertiary: #fffcf9;
  --color4: #0c084b;
  /* --color4: #0090c1; */
  --color5: #b1ede8;
  --colorGrey: #1e2019;
  --colorBlack: rgb(227, 227, 227);
  --colorWhite: #ffffff;
  --colorDark: black;
  --font1: "Poppins", sans-serif;
  --font2: "Roboto", sans-serif;
  --font3: "Urbanist", sans-serif;
}
body {
  overflow-x: hidden;
  font-family: var(--font1);
  background: var(--colorBlack);
  color: var(--colorWhite);
}
.text-tertiary {
  color: var(--color3);
}
.text-secondary {
  color: var(--colorPrimary);
}
.btn {
  border-radius: 20px;
  padding: 0.3rem 2rem;
  background: var(--color4);
}

.btn:hover {
  background-color: var(--colorPrimary);
}
.mainHeading {
  /* color: var(--color1); */
  color: var(--colorPrimary);
  font-size: 2.2rem;
  position: relative;
  text-transform: uppercase;
  width: max-content;
  transition: all 0.5 linear;
  cursor: pointer;
  z-index: 2;
}
.mainHeading:hover::after {
  width: 100%;
}
.mainHeading::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 50%;
  background: var(--colorPrimary);
  bottom: 3%;
  left: 0;

  transition: all 0.5s linear;
}
li {
  list-style-type: none;
}
a {
  text-decoration: none;
}
.subHeading {
  font-size: 1.6rem;
  color: var(--color5);
}
/* ---------- navbar ------------  */
.navbar {
  /* background: url("https://cdn.pixabay.com/photo/2018/09/05/16/33/dna-3656587_1280.jpg"); */
  position: relative;
  transition: all 0.2s ease-in-out;
}
.navbar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: -1;
  /* transform: skewY(2deg); */
  clip-path: polygon(8% 0, 100% 0%, 100% 100%, 0% 100%);

  background-color: var(--colorPrimary);
}
.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: -1;
  /* transform: skewY(2deg); */
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);

  background-color: var(--colorDark);
}
.navbar a {
  text-transform: uppercase;
  color: var(--color6);
  font-weight: bold;
}
.navbar-nav .nav-link.active {
  color: var(--color3);
}
.navbar a:hover,
.navbar .active:hover {
  color: var(--color3);
  /* background-color: rgb(6, 6, 6); */
  border-radius: 5px;
}
.navbar-toggler-icon {
  background-image: none;
  border-radius: 50%;
  color: white;
}

.dropdown-menu {
  background: var(--colorPrimary);
  border: none;
}
.dropdown-menu a {
  font-weight: 500;
}
.dropdown-menu li:hover a {
  background-color: white;
  color: black;
  text-transform: uppercase;
}

.navbar-toggler {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-brand img {
  width: 8rem;
}
.btn-success {
  background-color: var(--color1);
  border: none;
}
.navbar .navbar-toggler {
  outline: none !important;
  border: none !important;
}
.navbar .navbar-toggler.collpased {
  outline: none !important;
  border: none !important;
}

/* ---- hero  section ----  */
.hero-section {
  height: 80vh;
  /* background: url("../images/newbannerplain-2.png"); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  position: relative;
  overflow: hidden;
}
.hero-section .mobile-image-home {
  display: none;
}
@media screen and (max-width: 650px) {
  .hero-section .mobile-image-home {
    display: block;
  }
  .hero-section .large-image-home {
    display: none !important;
  }
}
.hero-section picture {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero-section picture img {
  object-fit: cover;
}
.fixed-top {
  position: fixed;
}

.hero-section .carousel-inner {
  height: 100%;
}
.hero-section .carousel-inner .item,
.hero-section .carousel-inner img {
  height: 80vh !important;
  width: 100% !important;
  object-fit: fill;
  object-position: center center;
}
@media screen and (max-width: 650px) {
  .hero-section {
     height: 50vh; 
  }
  .hero-section .carousel-inner .item,
  .hero-section .carousel-inner img {
    width: 100% !important;
     height: 50vh !important; 
    object-fit: fill;
  }
  .mainHeading {
    font-size: 1.5rem;
    text-align: center;
    margin: 0 auto;
  }
}

/* --------- about us section /page ---------  */
.about-us {
  position: relative;
}
.about-page-section {
  background-color: var(--colorSecondary);
}
.about-us::after {
  top: 0;
  content: "";
  width: 60%;
  height: 100%;
  background: var(--color4);
  border-radius: 30px 0 0 30px;
  position: absolute;
  right: 0;
  z-index: -1;
}

.about-us .btn {
  background: var(--colorPrimary);
}
.about-us a {
  color: var(--colorWhite);
}
.about-us .container .aboutImage {
  filter: hue-rotate(329deg);
  border-radius: 8px;
  transition: all 0.2s linear;
}
.about-us .aboutImage:hover {
  scale: 1.2;
}

/* ------- product section -----------  */
.products {
  padding: 2rem 0;
  position: relative;
  background: var(--colorSecondary);
}

.swiper {
  padding: 2rem 0;
}

.products .imgContainer {
  position: relative;
  background-color: #ededed;
  cursor: pointer;
  background-attachment: fixed;
}

.imgContainer:hover .rating {
  opacity: 1;
  z-index: 0;

  background-image: linear-gradient(135deg, #f74c2e 0%, #181919bd 100%);
  top: 0;
  height: 100%;
}
.swiper-slide button {
  background-color: var(--colorPrimary);
}
.swiper-slide button:hover {
  background-color: var(--colorDark);
}
.products .productImage {
  transition: all 0.4s ease-in-out;
}
.card-product-small {
  width: 95%;
  background-color: var(--colorSecondary);
  border-radius: 5px;
  padding: 4px;
}
.oralProducts .single-product {
  background: var(--colorDark);
}
.oralProducts.all-products {
  background: var(--colorDark);
}
.oralProducts .card-product-small {
  width: 95%;
  background-color: var(--colorSecondary);
  border-radius: 5px;
  padding: 4px;
}
.productCard {
  position: relative;
}
.swiper-slide {
  padding: 0.5rem;
  width: fit-content;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.155),
    0px -4px 10px rgba(0, 0, 0, 0.41);
  background: var(--colorBlack) !important;
}
.swiper-slide.swiper-slide-active {
  padding: 0.5rem;
}
.card {
  background: transparent;

  color: white;

  border: 1px solid var(--colorWhite);
  padding: 1rem;
}
.productName {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--colorPrimary);
  font-weight: 600;
}
.rating {
  position: absolute;
  top: 100%;
  left: 0;
  transform-origin: 0 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 0%;
  opacity: 0;
  z-index: -2;
  color: white;
  transition: all 0.4s ease-in-out;
}

/* ----- category section -----------  */
.category {
  position: relative;
  padding: 6rem 0;
}
.categoryCard {
  background-color: var(--colorTertiary);
  color: black;
}
.category::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  border-radius: 0 30px 30px 0;

  background: var(--color4);
  /* background-color: rgb(255, 228, 228); */
  z-index: -1;
}

/* ---------- contact us section ------------ */
.contact-us {
  position: relative;
  padding: 6rem 0;
  background: var(--colorSecondary);
}

.contact-left,
.contact-right {
  border-top: 4px solid var(--colorPrimary);
  border-bottom: 4px solid var(--colorPrimary);
  border: 1px solid var(--colorWhite);

  background-color: transparent;
  color: var(--colorWhite);
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
}
.contact-left .icon-wrapper {
  width: 4rem;
  height: 4rem;
  background: var(--colorPrimary);
  color: var(--colorTertiary);
  border-radius: 50%;
  font-size: 2rem;
}
.contact-right input,
.contact-right textarea {
  outline: none;

  border-radius: 5px;
}
.contact-right input:focus,
.contact-right textarea:focus {
  border: 2px solid red;
}
.contact-right .contactForm textarea {
  height: 25rem;
  width: 100%;
  resize: none;
}
/* ----------- footer section------------  */
.footer-section {
  background: var(--colorDark);
  box-shadow: inset 0px 10px 40px rgba(124, 124, 124, 0.318);
}
.footer-section .social i {
  color: var(--colorWhite);
  padding: 0.5rem;
  background-color: var(--colorPrimary);
  border-radius: 50%;
}
.footer-section h4 {
  color: var(--colorPrimary);
}
.footer-section .explore a {
  color: var(--colorWhite);
}
.footer-section .explore a:hover {
  color: var(--colorPrimary);
}
.footer-section .copyright {
  background-color: var(--colorDark);
}
/* ----------- swuper  */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  /* background: #0090c1; */
  background-color: var(--colorGrey) !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ---------- products page  banner ----------- */
.banner {
  height: 75vh;
  width: 100%;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
@media screen and (max-width: 720px) {
  .banner {
    height: 60vh;
  }
  .all-products .py-5 {
    padding: 1rem 0 !important;
  }
  .img-fluid {
    max-width: 100%;
  }
  .contact-right .contactForm textarea {
    height: 15rem;
  }

  .about-us .subHeading {
    color: var(--colorPrimary) !important;
  }
  .about-us p {
    color: black;
  }
  .single-product-btn .btn {
    width: 100% !important;
    font-size: 12px;
  }
}

.contact-us .row .contact-image img {
  width: 100%;
  height: 90%;
}
.contact-us .heading {
  color: var(--color1);
}
.contact-us .btn {
  background: var(--colorPrimary);
  color: var(--color5);
  border: none;
  margin-bottom: 2rem;
}

.all-products .img-fluid {
  width: 100%;
  height: 90%;
  object-fit: cover;
  display: block;
  margin: 1rem auto;
  transition: all 0.2s ease-in-out;
}

.img-fluid:hover {
  scale: 1.3;
  /* background-color: red; */
}

/* --------- single product page -------  */
.single-product-page {
  /* background: red; */
  background-color: rgb(209, 209, 209);
}
.singleProductName {
  font-size: 2rem;
  color: var(--color5);
}
.single-product {
  background-color: var(--colorSecondary);
}
.single-image {
  transition: all 0.5s ease-in-out;
  background-color: var(--colorPrimary) !important;
  /* background: transparent !important; */
}

.single-image img {
  width: 100%;
  transition: all 0.5s ease-in-out;
}
.oralProducts {
  background-color: var(--colorSecondary);
}

.singleAllProduct .productImage img {
  width: 85%;
}
.singleAllProduct .productDescription h4 {
  font-size: 1.4rem;
  text-transform: capitalize;
  color: var(--color5);
}
.productDescription .btn {
  background-color: var(--colorWhite);
  color: black;
}
.single-product-btn .btn {
  width: 70%;
  margin: 0 auto;
  display: block;
  padding: 0.8rem 0;
  background-color: transparent;
  border: none;
  text-transform: uppercase;
  color: var(--colorWhite);
}
.single-product-btn .btn-active {
  background: var(--colorPrimary);
}
.view-btn {
  position: absolute;
  bottom: 50%;
  bottom: -5%;
  /* border: 2px solid #000000; */
  background: var(--color5);
}
.view-btn:hover,
.view-btn:active {
  background: var(--colorSecondary);
  color: white !important;
}

.btn-container {
  background-color: var(--colorSecondary);
}
@keyframes animateImage {
  0% {
    transform: translateX(-2rem);
  }
  25% {
    transform: translateX(-1rem);
  }
  50% {
    transform: translateX(0rem);
  }
  75% {
    transform: translateX(-1rem);
  }
  100% {
    transform: translateX(-2rem);
  }
}
.ratingName {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color5);
}
@media (max-width: 768px) {
  .single-image {
    border-bottom: 1px solid var(--colorPrimary);
    border-right: none;
    height: auto;
  }
  .single-image:hover {
    border-radius: 0;
  }
}
@media (max-width: 650px) {
  .img-fluid:hover img {
    scale: 1;
  }

  .products .imgContainer {
    width: 90%;
  }
  .rating {
    font-size: 1rem;
  }
  .swiper .rating .srating {
    font-size: 1rem;
  }
  .swiper .rating .mrating {
    font-size: 1rem;
  }
  .swiper .rating .erating {
    font-size: 1rem;
  }
}
@media screen and (max-width: 1080px) {
  .about-us::after,
  .category::after {
    display: none;
  }
  .about-us .subHeading {
    color: var(--color4);
  }
}

form input,
form textarea {
  padding: 0.3rem 1rem;
}

/* ---- auth page ----------  */
.section-auth {
  background-color: var(--colorSecondary);

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.section-auth img {
  border-radius: 8px;
  width: 80%;
  padding-bottom: 2rem;
}
.section-auth .auth-box button {
  background: var(--color1);
  color: white;
}
@media screen and (max-width: 780px) {
  .section-auth .auth-box {
    row-gap: 2rem !important;
    align-items: center;
    justify-content: center;
  }

  .section-auth .auth-box input {
    width: 70%;
    margin: 0 auto;
    outline: none;
  }

  .section-auth .auth-box button {
    width: 40%;
    margin: 0 auto;
  }
}
