/* cookies close button */
.close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  color: #050505;
  font-size: 24px;
  cursor: pointer;
  padding: 5px !important;
  border-radius: 100%;
}

.cookie-consent .close-btn {
  background: #000;
}
.mySwiper {
  width: 100%;
  padding: 50px 0;
}

.swiper-slide {
  text-align: center;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  perspective: 1000px; /* For 3D flip effect */
}

.flip-card {
  background-color: transparent;
  width: 100%;
  max-width: 300px;
  height: 400px;
  border: none;
  cursor: pointer;
  position: relative;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
}

.flip-card-front {
  background-color: #f0f0f0;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-card-back {
  background-color: #333;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card-image {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.bio {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.rows-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.rows-icons i {
  font-size: 1.2rem;
  color: #666;
  transition: color 0.3s ease;
}

.rows-icons i:hover {
  color: #ff7f50;
}

.rating {
  margin-top: 10px;
}

.rating i {
  font-size: 1.2rem;
  color: #ffd700;
}

/* Dark Mode Styles */
.dark-mode .flip-card-front {
  background-color: #2c2c2c;
  color: white;
}

.dark-mode .bio {
  color: #bbb;
}

.dark-mode .rating i {
  color: #ffdf00;
}

.dark-mode .rows-icons i {
  color: #aaa;
}

.dark-mode .rows-icons i:hover {
  color: #ff7f50;
}


/*repetition*/
swiper-container {
  width: 100%;
  height: 75%;
}

/*repetition*/
/* Theme Change Button Style */
.switch-container {
  margin-right: 2rem;
  margin-top: 3.5rem;
}

/*repetition with 988px*/
@media (max-width: 990px) {
  .switch-container {
    margin-top: 3.2rem;
    margin-right: -0.5rem;
  }
}

/*repetition*/
@media (max-width: 575px) {
  .switch-container {
    margin-top: 2.4rem;
    margin-right: -0.5rem;
  }
  /* Navbar Toggle Button placed in center */
  .nav-toggle-btn {
    margin-top: -2rem;
    margin-left: 2.2rem;
  }
}

/*repetition*/
/* testimonal card fix by harshcodesit */

/* ########### */

/*repetition*/
swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: hsl(357, 37%, 62%);
}

/*repetition*/
swiper-container {
  margin: auto;
}

/* pankaj bind */
#cookie-consent {
  position: fixed;
  bottom: 10px;
  left: 10px;
  background-color: #f1f1f1;
  padding: 20px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 300px;
  height: fit-content;
  z-index: 10000;
  border-radius: 10px;
  margin-bottom: 5px;
  margin: 20px;
  border-right: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: border-color 0.3s;
}
#cookie-consent:hover {
  border-right-color: #a30f17;
  border-bottom-color: #a30f17;
}
.dark-mode #cookie-consent {
  background-color: #252423;
  color: white;
}

.accept-cookies {
  width: 260px;
  height: 40px;
  color: white;
  border-radius: 6px;
  background-color: #a30f17;
  margin: auto;
}
.reject-cookies {
  margin-top: 10px;
  padding-top: 5px;
  height: 40px;
  width: 260px;
  border-radius: 6px;
  color: white;
  background-color: #a30f17;
}
.accept-cookies:hover,
.reject-cookies:hover {
  transform: scale(0.9);
}

.accept-cookies:hover {
  background-color: white;
  color: red;
  border: 1px solid #a30f17;
}

.reject-cookies:hover {
  background-color: white;
  color: red;
  border: 1px solid #a30f17;
}

/*repetition*/
.flip-card {
  background-color: transparent;
  width: 400px;
  height: 370px;
  /* margin: 2px; */
  /* border: 1px solid #f1f1f1; */
  perspective: 1000px;
  /* Remove this if you don't want the 3D effect */
}

/*repetition*/
/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.7s;
  transform-style: preserve-3d;
  padding: 10px;
}

/*repetition*/
/* Do a horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/*repetition*/
/* Position the front and back side */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  /* Safari */
  backface-visibility: hidden;
}

/*repetition*/
/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: white;
  color: black;
}

/*repetition*/
/* Style the back side */
.flip-card-back {
  background-color: white;
  color: black;
  transform: rotateY(180deg);
}

/*repetition*/
/* Light mode styles */
.light-mode .readmore-anim {
  font-size: 18px;
  letter-spacing: 0;
  color: hsl(357, 37%, 62%);
}

/*repetition*/
.light-mode .readmore-anim:hover {
  color: red;
  letter-spacing: 1px;
  transition: ease-in-out;
}

/*repetition with some differences*/
/* 
    margin: auto;
    no bottom attribute
    padding: 20px 24px;
  */
.cta {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  bottom: 30px;
  padding: 20px 24px;
  color: hsl(357, 37%, 62%);
  font-family: Avenir, sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
  &:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 28px;
    background: rgba(255, 171, 157, 0.5);
    width: 56px;
    height: 56px;
    transition: all 0.3s ease;
  }

  /*repetition*/
  span {
    position: relative;
    font-size: 8px;
    line-height: 18px;
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    vertical-align: middle;
    margin: 0;
  }

  /*repetition*/
  svg {
    position: relative;
    top: 0;
    margin-left: 5px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: hsl(357, 37%, 62%);
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
  }

  /*repetition*/
  &:hover {
    &:before {
      width: 9%;
      background: #ffab9d;
    }
    svg {
      transform: translateX(0);
    }
    .active {
      transform: scale(0.96);
    }
  }
}

/*repetition*/
/* Dark Mode Styles */
.dark-mode .readmore-anim {
  font-size: 18px;
  letter-spacing: 0;
  color: hsl(357, 37%, 62%);
}

/*repetition with 
    color:hsl(357, 37%, 62%);
  */
.readmore-anim .icon:hover {
  color: red;
}

/*repetition with 
    color:hsl(357, 37%, 62%);
  */
.dark-mode .readmore-anim:hover {
  color: red;
  letter-spacing: 1px;
  transition: ease-in-out;
}

/*repetition*/
.dark-mode .header.scrolled {
  background-color: #232222; /* Change to a darker color when scrolled */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */
}

#back-to-top-container {
  position: fixed;
  display: none;
}

#cookie-content {
  display: none;
  margin-top: 10px;
}

/*repetition
    position: fixed;
  */
/* Basic navbar styling */
.header {
  position: absolute;
  width: 100%;
  top: 10px;
  z-index: 1000;
  transition: top 0.3s;
}

/*repetition*/
/* Hide the navbar */
.header.hidden {
  top: -93px; /* Adjust according to your header height */
}

/*repetition
  background-color: #222;
  */
/* Navbar styling when scrolled */
.header.scrolled {
  background-color: #efefef; /* Change to a darker color when scrolled */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */
}

.icons .icon i {
  font-size: 24px;
  /* Set the default font size for icons */
  transition: all 0.3s ease;
  /* Add transition for smooth animation */
}

.icons .icon:hover i {
  transform: scale(1.2);
  /* Scale the icon on hover */
}

.icons .icon:hover .fab.fa-facebook {
  color: #3b5998;
  /* Change to Facebook color on hover */
}

.icons .icon:hover .fab.fa-twitter {
  color: #090e11;
  /* Change to Twitter color on hover */
}

.icons .icon:hover .fab.fa-instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  background-clip: text;
  border-radius: 20%;
  transform: scale(1.5);
  color: transparent;
  /* Change to Instagram color on hover */
}

.icons .icon:hover .fab.fa-youtube {
  color: #c31a1e;
  /* Change to YouTube color on hover */
}
.icons .icon:hover .fab.fa-github {
  color: #333;
}
.icons .icon:hover .fab.fa-linkedin {
  color: #0077b5;
}
.icons.icon:hover .fab.fa-discord {
  color: #7289da;
}
