* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: Inter, sans-serif;
  background-color: #FAFBFB;
}
header{
  background-color: #fff;
  box-shadow: 1px 1px 5px #888888;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  padding: 35px;
}

.main-header .container {
  padding: 0 20px;
}

.menu__list {
  display: flex;
  gap: 10px;
  list-style: none;
  align-items: center;
}

.menu__list li a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  padding: 6px 12px;
  display: inline-block;
  border-radius: 12px;
  transition: 0.3s;
}

.menu__list li a.active {
  color: #fff;
  background-color: #512A5F;
}

.bg_container {
  padding: 66px 5%;
  background: linear-gradient(137deg, #512A5F 25%, #FFD900 100%);
  text-align: left;
}

.heading {
  color: #fff;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.para-text {
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 24px;
}

.button {
  background-color: #fff;
  color: #512A5F;
  font-size: 20px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
}

.info {
  padding: 80px 0px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.info_heading {
  color: #512A5F;
  font-size: 36px;
  font-weight: 300;
}

.info_heading strong {
  font-size: 48px;
  font-weight: 700;
}
.about_info{
    padding: 80px 0px;
}
.info_text,
.about_text p {
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.band {
    width: auto !important;
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 10px;
  background-color: #FFE44C;
  text-decoration: none;
}

.band_text {
  color: #512A5F;
}

@media screen and (max-width: 767px) {

  .bg_container {
    padding: 24px 10px;
    text-align: center;
  }

  .heading {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .para-text {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 15px;
  }

  .button {
    font-size: 13px;
    padding: 6px 10px;
  }

  .info {
    padding: 24px;
  }

  .info_heading {
    font-size: 18px;
    font-weight: 500;
  }

  .info_heading strong {
    font-size: 24px;
    font-weight: 700;
  }

  .info_text,
  .about_text p {
    font-size: 17px;
    line-height: 1.3;
  }
  .about_info{
    padding: 24px 18px;
  }
}

footer{
    background-color: #512A5F;
    padding: 35px 60px;
}
.footer-logo{
    display: flex;
    gap: 35px;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px ;
}
.footer-text{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;

}


.category{
  padding: 80px 0px;
}

.card{
  text-decoration: none;
  text-align: center;
  border: 5px solid #512A5F !important;
  border-radius: 15px !important;
}

.dg_image{
  display: flex;
  justify-content: center;
  align-items: center;
  
}
.dg_image img{
  border-radius: 25px;
  border: 3px solid #512A5F;
}

.image_wrapper {
  position: relative;
  display: inline-block;
}

.image_text {
  position: absolute;
  bottom: -5%;
  left: 50%; 
  transform: translateX(-50%); 
  background-color: #512A5F; 
  color: #fff;
  padding: 6px 12px;
  font-size: 16px;
  border-radius: 10px; 
  white-space: nowrap;
}

/* Wrapper */
.wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  background: white;
  overflow: hidden;
  /* border: 1px solid #000; */
  border-radius: 25px;
}

/* Card image */
.box.grey {
  width: 280px;
  height: 145px;
  left: 200px;
  top: 180px;
  position: absolute;
  background-image: url(./Loyalty\ Card.png);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
}

/* Pills */
.pill {
  width: 624px;
  height: 50px;
  position: absolute;
  transform: rotate(-45deg);
  border-radius: 100px;
  opacity: 0;
}
.purple { background: #512a5f; }
.yellow { background: #fee44c; }

.pill-1 { left: -390px; top: 250px; }
.pill-2 { left: 115px; top: -90px; }
.pill-3 { left: -290px; top: 570px; }
.pill-4 { left: 290px; top: 230px; }

/* Pills animations */
.pill-left-up { animation: slideInLeftUp 1.5s ease forwards; }
.pill-right-down { animation: slideInRightDown 1.5s ease forwards; }

@keyframes slideInLeftUp {
  0% { opacity: 0; transform: translate(-100px, 50px) rotate(-45deg); }
  100% { opacity: 1; transform: translate(0, 0) rotate(-45deg); }
}

@keyframes slideInRightDown {
  0% { opacity: 0; transform: translate(100px, -50px) rotate(-45deg); }
  100% { opacity: 1; transform: translate(0, 0) rotate(-45deg); }
}

/* Bars and box animation */
.bar, .box.grey {
  opacity: 0;
}

.slide-in-left {
  animation: slideInLeft 1s ease forwards;
}

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Bars positioning */
.bar {
  position: absolute;
  background: #25488D;
  border-radius: 100px;
  height: 15px;
  opacity: 0;
}
.bar-1 { width: 50px; left: 140px; top: 220px; }
.bar-2 { width: 100px; left: 90px; top: 250px; }
.bar-3 { width: 150px; left: 40px; top: 280px; }

/* Text animation */
.text-card {
  font-size: 20px;
  font-weight: 600;
  position: absolute;
  left: 290px;
  top: 110px;
  opacity: 0;
}
.text-card.slide-in-down { animation: slideInDown 1s ease forwards; }

@keyframes slideInDown {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}


@media (max-width: 786px) {
  /* Wrapper */
  .wrapper {
    width: 100%;
    height: 100%;
    /* padding: 15px; */
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  /* Card image */
  .box.grey {
    width: 230px;
    height: 150px;
    /* margin: 10px auto; */
    position: relative;
    left: 50px;
    top: 100px;
    transform: none;
    background-size: contain;
    background-position: center;
  }

  /* Pills */
  .pill {
    width: 240px;
    height: 45px;
    transform: rotate(-45deg);
    margin: 6px 0;
    position: relative;
    left: auto;
    top: auto;
  }

  .pill-1{
    top: -100px;
    left: -160px;
  }
  .pill-2{
    top: -250px;
    left: 40px;
  }
  .pill-3{
    top: 50px;
    left: -140px;
  }
  .pill-4{
    top: -100px;
    left: 180px;
  }

  /* Bars */
  .bar {
    height: 10px;
    /* margin: 4px auto; */
    position: relative;
  }
  .bar-1 { 
    width: 40px;
    top: -230px;
    left: -100px;
  }
  .bar-2 { 
    width: 70px;
    top: -220px;
    left: -115px;
   }
  .bar-3 { 
    width: 100px;
    top: -210px;
    left: -130px;
   }

  /* Text */
  .text-card {
    font-size: 14px;
    line-height: 1.4;
    /* text-align: center; */
    position: relative;
    margin: 10px 0;
    left: 75px;
    top: 120px;
  }
}

