@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;1,600&display=swap");

:root {
  --purple: #6f42c1;
  --pink: #ff00ff;
  --green: rgba(39, 209, 4, 0.753);
  --red: red;
  --black: #000;
  --white: #fff;
  --light-color: #666;
  --light-bg: #eee;
  --box-shadow: 0 .5rem 1rem #ff00ff;
  --border: .1rem solid rgba(0, 0, 0, .3);
}

* {
  font-family: "DM Sans", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: all .2s linear;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 9rem;
}

html::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-thumb {
  background: var(--purple);

}

html::-webkit-scrollbar-track {
  background: transparent;

}

section {
  padding: 5rem 7%;
}

.nbtn{
  border: 1px solid black;
  border-radius: 8px;
  padding: 1rem 2rem;
  color: var(--purple);
  background: var(--pink);
}
.nbtn:hover{
  background: rgb(242, 202, 242);
  color: var(--white);
}

.heading {
  position: relative;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4rem;
  color: var(--purple);
  text-align: center;
  margin-bottom: 3rem;
}

/* .heading::after {
  content: url(/images/separator.svg);
  display: block;
  width: 1rem;
  margin-inline: auto;
  margin-top: -1rem;
  border: 2px solid var(--purple);
} */

.heading::after {
  content: "";
  display: block;
  background: url(/images/separator.svg) no-repeat center/contain;
  width: 10rem;
  height: 5rem;
  margin-inline: auto;
  margin-top: -1rem;
}


.btn {
  position: relative;
  display: inline-block;
  margin-top: 1rem;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  max-width: max-content;
  border: .1rem solid var(--purple);
  background: var(--pink);
  padding: 1.2rem 4.5rem;
  overflow: hidden;
  z-index: 1;
  border-radius: .5rem;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 200%;
  height: 200%;
  background-color: var(--pink);
  z-index: -1;
  transform: translateX(-50%);
  border-radius: 50%;
  transition: transform 500ms ease;
}

.btn .text {
  transition: 250ms ease;
}

.btn .text-2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  max-width: max-content;
  color: var(--white);
}

.btn:is(:hover, :focus-visible)::before {
  bottom: -50%;
}

.btn:is(:hover, :focus-visible) .text-1 {
  transform: translateY(-4rem);
}

.btn:is(:hover, :focus-visible) .text-2 {
  top: 50%;
  transform: translate(-50%, -50%);
}

/* header styling */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 2rem 9%;
  background-color: var(--purple);
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo {
  font-size: 2.5rem;
  font-weight: bolder;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: .2rem;
}

.header .logo img {
  width: 5rem;
  height: 4rem;
  border-radius: 5%;
  margin-right: 1rem;
}

.header .navbar a {
  font-size: 1.7rem;
  color: var(--white);
  margin: 0 1rem;
  padding-block: 1rem;
}

.header .navbar a:hover {
  color: var(--pink);
}

.header .navbar .hover-underline {
  position: relative;
  max-width: max-content;
}

.header .navbar .hover-underline::after {
  content: "";
  position: absolute;
  width: 100%;
  height: .5rem;
  border-block: .1rem solid var(--pink);
  left: 0;
  bottom: 0;
  transform: scaleX(0.2);
  opacity: 0;
  transition: transform 500ms ease;
}


.header .navbar .hover-underline:is(:hover, :focus-visible)::after {
  transform: scaleX(1);
  opacity: 1;
}

.header .icons {
  font-size: 2.5rem;
  margin-left: 1.7rem;
  color: var(--white);
  cursor: pointer;
}

.header .icons:hover {
  color: var(--pink);
}

#menu-btn {
  display: none;
}


  /*hero section styling*/
  .home {
    padding: 0;
  }
  .home .slide {
    height: 63rem;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
  }
  .home .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  .home .slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #3b013b7a;
  }
  .home .slide .content {
    position: relative;
    width: 100%;
    align-items: center;
    text-align: center;
    z-index: 1;
  }
  .home .slide .content h3 {
    margin-bottom: 20px;
    padding-bottom: 40px;
    font-size: 6rem;
    color: var(--white);
    text-transform: uppercase;
   
  }
  .home .slide .content h3 span{

    cursor: pointer;
    width: auto;
    background-color: #ff00ff8a;
    color: var(--black);
    box-sizing: border-box;
    box-shadow: #ff00ff 1px 1px 10px 1px;
    border-radius: 5px;  
  }
  
  .home .slide .content p {
    font-size: 2rem;
    color: var(--white);
    line-height: 1.6;
    padding: 1rem 0;
    border-radius: 8px;
  }
  .home .swiper-button-next,
  .home .swiper-button-prev {
    top: auto;
    bottom: 0;
    right: 2rem;
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2.5rem;
    background: var(--purple);
    border-radius: 50%;
  }
  .home .swiper-button-next:hover,
  .home .swiper-button-prev:hover {
    background: var(--pink);
  }
  .home .swiper-button-next::after,
  .home .swiper-button-prev::after {
    font-size: 2rem;
    color: var(--black);
  }
  .home .swiper-button-prev {
    right: 10rem;
  }

  /*responsiveness*/
  @media screen and (max-width: 768px) {
    .home .slide {
        min-height: 70rem;
        margin-top: 50px;
       
    }
    .home .slide img{
      width: 100%;
      height: 100%;
      border: 1px solid yellow;
    }

    .home .slide .content h3 {
        font-size: 4rem;
    }

    .home .slide .content p {
        font-size: 1.6rem;
        padding-bottom: 0;
        margin-bottom: 100px;
    }

    .home .swiper-button-next,
    .home .swiper-button-prev {
        height: 4rem;
        width: 4rem;
        line-height: 4rem;
        font-size: 2rem;
    }

    .home .swiper-button-prev {
        right: 6rem;
    }
}

@media screen and (max-width: 480px) {
    .home .slide {
        min-height: 40rem;
    }

    .home .slide .img{
      width: 100%;
      height: 100%;
    }

    .home .slide .content h3 {
        font-size: 2.5rem;
        padding-bottom: 20px;
    }

    .home .slide .content p {
        font-size: 1.4rem;
    }

    .home .swiper-button-next,
    .home .swiper-button-prev {
        height: 3.5rem;
        width: 3.5rem;
        line-height: 3.5rem;
        font-size: 1.8rem;
    }

    .home .swiper-button-prev {
        right: 5rem;
    }
}



/* About section styling */
.about .container {
  display: flex;
  flex-wrap: wrap;
}

.about .container .about-image {
  flex: 1 1 40rem;
  position: relative;
}

.about .container .about-image img {
  width: 80%;
  height: auto;
  border-radius: 10px;
}

.about .container .about-image .about-img {
  position: absolute;
  bottom: -10rem;
  right: -1rem;
  width: 25rem;
  padding-block: 5rem;
}

.about .container .about-content {
  flex: 1 1 40rem;
  padding-left: 6rem;
  padding-top: 8rem;
}

.about .container .about-content h3 {
  font-size: 3rem;
  color: var(--purple);
  line-height: 1.2;
}

.about .container .about-content p {
  font-size: 1.6rem;
  line-height: 2;
  color: var(--light-color);
  padding: 1rem 0;
}

/* projects styling */
.projects {
  margin-top: 10px;
  padding: 5rem 2rem;
  background: rgba(255, 192, 203, 0.42);
}
.projects .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2rem;
}

.projects .box-container .box {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}

.projects .box-container .box .image {
  height: 25rem;
  overflow: hidden;
  position: relative;
}

.projects .box-container .box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .2s linear;
}

.projects .box-container .box .image:hover img {
  transform: scale(1.1);
}

.projects .box-container .box .image h3 {
  font-size: 1.5rem;
  color: var(--white);
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .5rem 1.5rem;
  background: var(--purple);
}

.projects .box-container .box .content {
  padding: 2rem;
  position: relative;
  border: 0.1rem solid var(--purple);
  border-radius: 5px;
}

.projects .box-container .box .content p {
  padding-top: 0.5rem;
  font-size: 1.4rem;
  color: var(--black);
  line-height: 1.2;
}

.projects .box-container .box .content h3 {
  font-size: 2rem;
  color: var(--purple);
  border-bottom: 1px solid var(--pink);
  padding-bottom: 0.5rem;
}

.shine {
  position: relative;
}

.shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-image: linear-gradient(to right, transparent 0%, var(--light-bg) 100%);
  transform: skewX(-0.08turn) translateX(-180%);
}

.shine:is(:hover, :focus-within)::after {
  transform: skewX(-0.08turn) translateX(275%);
  transition: 1000ms ease;
}

/* team section styling */
.team {
  padding: 5rem 2rem;
  background: rgba(92, 2, 92, 0.292);
  text-align: center;
}
.team .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
}

.team .box-container .box {
  position: relative;
  border-radius: .5rem;
  text-align: center;
  background: var(--white);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.team .box-container .box .image {
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
}

.team .box-container .box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--pink);
}

.team .box-container .box:hover .image .share {
  bottom: 0;
}

.team .box-container .box .image .share {
  position: absolute;
  bottom: -10rem;
  left: 0;
  right: 0;
  padding: 2rem;
}

.team .box-container .box .image .share a {
  height: 4rem;
  width: 4rem;
  line-height: 4rem;
  font-size: 2rem;
  margin: 0 1rem;
  color: var(--pink);
  background: var(--purple);
  border-radius: .5rem;
}

.team .box-container .box .image .share a:hover {
  background: var(--pink);
  color: var(--white);
}

.team .box-container .box .content {
  padding: 2rem;
  padding-top: 1rem;
  align-items: center;
}

.team .box-container .box .content h3 {
  font-size: 2rem;
  color: var(--purple);
  padding-bottom: 0.5rem;
}

.team .box-container .box .content span {
  font-size: 1.5rem;
  color: var(--light-color);
  padding: 0.5rem 0;
}

/* Shop section styling */
.shop-section {
  position: relative;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.2; /* Adjust visibility */
}

.shop {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
  background: transparent; /* Remove background color */
  text-align: center;
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
}

.product {
  background: var(--white);
  padding: 2rem;
  border-radius: .5rem;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s;
  height: 85vh;
}

.product:hover {
  transform: translateY(-0.5rem);
}

.product img {
  width: 100%;
  height:50%;
  object-fit: cover;
  border-radius: .5rem;
  margin-bottom: 1rem;
}

.product h3 {
  font-size: 2rem;
  margin: 1rem 0;
}

.product .price {
  font-size: 1.8rem;
  color: var(--pink);
  margin: 0.5rem 0;
}

.product .rating {
  font-size: 1.6rem;
  color: var(--purple);
  margin-bottom: 1rem;
}

.product .btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 1.6rem;
  color: var(--white);
  background: var(--pink);
  border: none;
  border-radius: .5rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}

.product .btn:hover {
  background: var(--purple);
}

.shop-description {
  font-size: 1.6rem;
  color: var(--black);
  margin-bottom: 3rem;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.product-description {
  font-size: 1.4rem;
  color: #555;
  margin: 1rem 0;
}

/* styling blog section */
.blog .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

.blog .box-container .box {
  border-radius: 2rem;
  box-shadow: var(--box-shadow);
}

.blog .box-container .box .image {
  height: 25rem;
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 2rem 2rem 0 0;
}

.blog .box-container .box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .2s linear;
}

.blog .box-container .box:hover .image img {
  transform: scale(1.1);
}

.blog .box-container .box .image h3 {
  font-size: 1.5rem;
  color: var(--white);
  position: absolute;
  top: 1.5rem;
  left: 1rem;
  padding: .5rem 1.5rem;
  background: var(--purple);
  border-radius: 2rem 0 2rem 0;
}

.blog .box-container .box .content {
  padding: 2rem 2rem;
  background: rgba(238, 130, 238, 0.413);
  border-radius: 0 0 2rem 2rem;
}

.blog .box-container .box .content .icons {
  margin-bottom: 1rem;
  align-items: center;
}

.blog .box-container .box .content .icons a {
  font-size: 1.4rem;
  color: var(--purple);
  margin-right: 1rem;
}

.blog .box-container .box .content .icons a i {
  padding-right: .5rem;
}

.blog .box-container .box .content h3 {
  font-size: 2rem;
  color: var(--black);
}

.blog .box-container .box .content p {
  font-size: 1.4rem;
  color: var(--black);
  line-height: 1.2;
  padding: 1rem 0;
}

/* donations styling */
.donate {
  padding: 5rem 2rem;
  background: var(--light-bg);
}

.donate span {
  color: var(--purple);
}

.donate-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
}

.donate-left,
.donate-right {
  text-align: center;
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--box-shadow);
}

.donate-left h2,
.donate-right h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.donate-left img,
.donate-right img {
  width: 100%;
  max-width: 300px;
  margin: 1.5rem 0;
  border-radius: 1rem;
}

.donate-left p {
  font-size: 1.6rem;
  color: #555;
  line-height: 1.6;
}

.donate-right p {
  font-size: 1.6rem;
  color: #555;
  line-height: 1.6;
}

.donate-right .btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 3rem;
  font-size: 1.6rem;
  color: var(--white);
  background: var(--pink);
  border: none;
  border-radius: .5rem;
  cursor: pointer;
  transition: background 0.3s;
}

.donate-right .btn:hover {
  background: var(--black);
}

/* footer styling */
.footer {
  background: violet;
  text-align: center;
}

.footer .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
}

.footer .box-container .box h3 {
  font-size: 2.2rem;
  color: var(--purple);
  padding: 1rem 0;
}

.footer .box-container .box p {
  font-size: 1.5rem;
  color: var(--black);
  line-height: 2;
  padding: 1rem 0;
}

.footer .box-container .box img {
  width: 50%;
  height: 80%;
  margin-right: 1rem;
  border-radius: 5px;
}

.footer .box-container .box .share {
  margin-top: 1rem;
}

.footer .box-container .box .share a {
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.5rem;
  font-size: 1.7rem;
  border-radius: 10%;
  border: .1rem solid var(--purple);
  color: var(--purple);
  margin-right: .3rem;
  text-align: center;
}

.footer .box-container .box .share a:hover {
  background: var(--purple);
  color: var(--white);
}

.footer .credit {
  line-height: 2;
  font-size: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  text-align: center;
  color: var(--black);
  border-top: .1rem solid var(--purple);
}

.footer .credit span {
  color: var(--black);
}

.footer .credit span a {
  color: var(--white);
  border: 1px solid var(--purple);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  background: var(--purple);
}

/* responsiveness */
@media (max-width: 991px) {
  html{
    font-size: 55%;
  }
  .header{
    padding: 2rem 4rem;
  }
  section{
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  #menu-btn {
    display: block;
  }

  .header .navbar {
    position: absolute;
    top: 110%;
    right: -110%;
    background: var(--purple);
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
  }

  .header .navbar.active {
    right: 4rem;
    transition: .4s linear;
    width: 70%;
  }

  .header .navbar a {
    display: block;
    margin: 1rem 2.5rem;
    font-size: 2rem;
  }

  .home .content h3{
    font-size: 3rem;
  }

  .about .container .about-content{
    padding-left: 0;
    
  }
}

@media (max-width: 450px) {
  html{
    font-size: 50%;
  }
}