@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --left-position: 55%;
  --transition-time: 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

html,
body {
  height: 100%;
  width: 100%;
}

/* carousel */
#carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

#carousel .list .item {
  width: 180px;
  height: 250px;
  position: absolute;
  bottom: 150px;
  left: calc(var(--left-position) + 3%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  background-position: center;
  background-size: cover;
  z-index: 100;
  transform: translate(0, 0px);
  transition: all var(--transition-time);
}

#carousel .list .item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(33, 33, 33, 0.5);
  z-index: 1;
}

#carousel .list .item:nth-child(1),
#carousel .list .item:nth-child(2) {
  bottom: 0px;
  left: 0;
  border-radius: 0;
  transform: translate(0, 0px);
  width: 100%;
  height: 100%;
}

#carousel .list .item:nth-child(3) {
  left: var(--left-position);
}

#carousel .list .item:nth-child(4) {
  transition-delay: 0.1s;
  left: calc(var(--left-position) + 200px);
}

#carousel .list .item:nth-child(5) {
  transition-delay: 0.2s;
  left: calc(var(--left-position) + 400px);
}

#carousel .list .item:nth-child(6) {
  transition-delay: 0.3s;
  left: calc(var(--left-position) + 600px);
}

#carousel .list .item:nth-child(n + 7) {
  transition-delay: 0.4s;
  left: calc(var(--left-position) + 800px);
}

.list .item .content {
  position: absolute;
  text-align: left;
  color: #fff;
  z-index: 3;
  left: 0;
  top: 100%;
  transform: translateY(-100%);
  width: 100%;
  padding: 10px;
  transition: all var(--transition-time);
}

.content .title::before {
  content: "";
  display: block;
  height: 1px;
  width: 20px;
  background-color: #fff;
  margin-bottom: 10px;
}

.content .title {
  font-size: 12px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 10px;
  transition: all var(--transition-time);
  position: relative;
}

.content .title::after {
  content: attr(data-item);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  position: absolute;
  top: -20px;
  left: 0px;
  z-index: 2;
  font-weight: 400;
}

.content .name {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1;
  transition: all var(--transition-time);
  margin-bottom: 10px;
  color: #d36e10;
}

.content .des {
  font-size: 16px;
  font-weight: 400;
  transition: all var(--transition-time);
  opacity: 0;
  display: none;
}

.list .item:nth-child(1) .content,
.list .item:nth-child(2) .content {
  transform: translateY(-50%);
  left: 100px;
  width: 600px;
  top: 50%;
  padding: 0;
}

.list .item:nth-child(1) .content .title::before,
.list .item:nth-child(2) .content .title::before {
  width: 50px;
  height: 3px;
  margin-bottom: 20px;
}

.list .item:nth-child(1) .content .title::after,
.list .item:nth-child(2) .content .title::after {
  font-size: 20px;
  top: -40px;
  left: 15px;
}

.list .item:nth-child(1) .content .title,
.list .item:nth-child(2) .content .title {
  font-size: 30px;
  margin-bottom: 20px;
}

.list .item:nth-child(1) .content .name,
.list .item:nth-child(2) .content .name {
  font-size: 20px;
  margin-bottom: 20px;
}

.list .item:nth-child(1) .content .des,
.list .item:nth-child(2) .content .des {
  font-size: 16px;
  opacity: 1;
  display: block;
  width: 400px;
}

@keyframes animate {
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
  }

  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}

/* Carousel */

/* next prev arrows */

.arrows {
  position: absolute;
  bottom: 50px;
  left: var(--left-position);
  width: calc(100% - var(--left-position) - 2%);
  z-index: 100;
  display: flex;
  gap: 5%;
  align-items: center;
}

.arrows button {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  border: 2px solid rgb(255, 255, 255);
  color: rgb(255, 255, 255);
  background-color: transparent;
  outline: none;
  font-size: 25px;
  font-weight: bold;
  transition: all var(--transition-time);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrows button:hover {
  border: 2px solid #ffffff;
  color: #ffffff;
  background-color: transparent;
}

.slide-number {
  font-size: 25px;
  color: #ffffff;
  font-weight: 400;
  margin-left: auto;
  letter-spacing: 5px;
  opacity: 0;
  animation: animate 0.5s ease-in-out 0.3s 1 forwards;
}

.progress-bar-container {
  width: 60%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 100%;
  background-color: #d36e10;
  transition: all var(--transition-time);
}

/* time running */
#carousel .timeRunning {
  position: fixed;
  z-index: 1000;
  width: 0%;
  height: 4px;
  background-color: #ffffff;
  left: 0;
  top: 0;
  animation: runningTime 7s linear 1 forwards;
}

@keyframes runningTime {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}






/* Subscribe button styles */
.subscribe-btn {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 999;
}

/* SVG inside subscribe button */
.subscribe-btn svg {
  height: 60px;
  width: 60px;
}

/* Floating YouTube Button Styling */
.youtube-button {
  position: fixed;
  bottom: 20px; /* Distance from the bottom */
  left: 20px; /* Distance from the right */
  background-color: #ff0000; /* YouTube red color */
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 999;
}

/* Icon Styling */
.youtube-button i {
  font-size: 24px;
}

/* Hover Effect */
.youtube-button:hover {
  background-color: #e60000; /* Darker shade of red */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px); /* Slight upward movement */
}



.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 18px;
}
.carousel-indicators button {
    background-color: black;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.slide-in-left {
    animation: slideInLeft 1s ease-in-out;
}
.slide-in-right {
    animation: slideInRight 1s ease-in-out;
}
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}