@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');

body{
    background-color: #e1dad0;
    margin: 0;
    font-family: Poppins;
    font-size: 15px;
}

.carousel{
    width: 100%;
    background-color: #555;
    height: 720px;
    color: #eee;
    margin-top: -50px;
    position: relative;
}
.carousel .list{
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}
.carousel .list .item{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel .list .item::before{
    position: absolute;
    width: 100%;
    height: 100%;
    /*background-color: var(--bg-color);*/
background-image: url(https://bitpixelcoders.com/wp-content/uploads/2025/04/Blue-Tech-Digital-Marketing-Conference-Zoom-Virtual-Background.png) !important;
    content: var(--title);
    font-size: 15em;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #eee4;
    z-index: -1;
}
.carousel .list .item .image{
    flex-shrink: 0;
    width: 300px;
    height: 330px;
    --left: -200px;
    background: 
        var(--img-src) var(--left) 0,
        url('images/bottle.png') no-repeat;
    background-size: 100% auto;
    background-blend-mode: multiply;
    -webkit-mask-image: url('images/bottle.png');
    -webkit-mask-size: 100% auto;
    -webkit-mask-repeat: no-repeat;
    mask-image: url('images/bottle.png');
    mask-size: 100% auto;
    mask-repeat: no-repeat;
    transition: background 1s ease-in-out;
    border-radius: 0 0 20px 20px;
border-bottom:10px solid #ccc;
border-image: linear-gradient(
    to right,
    #5a5a5a, 
    #7f8c8d, 
    #aab1b5, 
    #cfd8dc  
  ) 1;
}
.carousel .list .item .content {
  position: relative;
  z-index: 2;
}
.carousel .list .item:before {
    background-image: url(https://bitpixelcoders.com/wp-content/uploads/2025/04/Blue-Tech-Digital-Marketing-Conference-Zoom-Virtual-Background.png) !important;
    background-size: cover;
    background-position: center;
}
.carousel .list .item .content{
    width: 1140px;
    max-width: 90%;
    margin: auto;
    height: 100%;
    padding-top: 50px;
    box-sizing: border-box;
    display: flex;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
}
.carousel .list .item .info .title{
    font-size: 6em;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1em;
}
.carousel .list .item .info .category{
    opacity: .7;
}
.carousel .list .item .info .des{
    margin: 1em 0;
}
.carousel .list .item .info a{
    display: inline-flex;
    gap: 20px;
    text-decoration: none;
    color: #eee;
    font-weight: 500;
}
/* set active item */
.carousel .list .item{
    z-index: 1;
}
.carousel .list .item.active{
    z-index: 2;
}
.carousel .list .item.active .image{
    --left: 0;
}
/* arrows */
.arrow button{
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-family: monospace;
    background-color: #eee3;
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: large;
    cursor: pointer;
    left: 10%;
    transition: background 0.5s,
                color 0.5s;
}
.arrow button#next{
    left: unset;
    right: 10%;
}
.arrow button:hover{
    background-color: #eee;
    color: #000;
}
.dots li{
    width: 15px;
    height: 15px;
    background-color: #eee5;
    border-radius: 50%;
    cursor: pointer;
}
.dots li.active{
    background-color: #eee;
}
.dots{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    position: absolute;
    bottom: 30px;
    z-index: 2;
    width: max-content;
    left: 50%;
    transform: translateX(-50%);
    transition: background 0.5s;
}
.carousel{
    overflow: hidden;
}
.arrow button {
    pointer-events: all; /* if arrows has pointer-events: none */
}
/* responsive */
@media screen and (max-width: 767px){
    .carousel{
        height: 100vh;
    }
    .carousel .list .item .info{
        position: absolute;
        bottom: 10%;
        width: 100%;
        padding: 30px;
        box-sizing: border-box;
        text-align: center;
        backdrop-filter: blur(20px);
    }
    .carousel .list .item .info .title{
        font-size: 2em;
    }
    .carousel .list .item .info .des{
        font-size: 0.8em;
        text-align: justify;
    }

    .carousel .list .item .content{
        justify-content: center;
        align-items: start;
    }
    .arrows button{
        top: unset;
        bottom: 20px;
    }
}

/* effect */
@keyframes transformAnimation{
    from{
        transform: translateX(var(--transform-from));
    }to{
        transform: translateX(var(--transform-to));
    }
}

.carousel.effect .item .image{
    animation: transformAnimation 1s ease-in-out 1 forwards;
}
.carousel.effect .item .info .title,
.carousel.effect .item .info .category,
.carousel.effect .item .info .des,
.carousel.effect .item .info a{
    animation: transformAnimation 1s ease-in-out 1 forwards;
}
.carousel.effect .item .info .category{
    animation-delay: 0.1s;
}
.carousel.effect .item .info .des{
    animation-delay: 0.2s;
}
.carousel.effect .item .info a{
    animation-delay: 0.3s;
}
.carousel.effect .item.active{
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: animationClipPath 0.9s ease-in-out 1 forwards;
}
@keyframes animationClipPath{
    to{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

.carousel.effect{
    --transform: 300px;
}
.carousel.effect .item.active{
    --transform-from: calc(var(--transform) * -1);
    --transform-to: 0px;
}
.carousel.effect .item{
    --transform-from: 0;
    --transform-to: var(--transform);
}

/* arrows */
.carousel.effect .arrow button{
    position: absolute;
    bottom: 18%;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-family: monospace;
    background-color: #eee3;
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: large;
    cursor: pointer;
    right: 15%;
    transition: background 0.5s,
                color 0.5s;
}
.arrow button {
    pointer-events: all; /* if arrows has pointer-events: none */
}
.carousel.effect .arrow button#next{
    left: unset;
    right: 10%;
}
.carousel.effect .arrow button:hover{
    background-color: #eee;
    color: #000;
}
.carousel .list .item .image{
	height: 350px;

border-bottom:10px solid #ccc;
Border-radius:0 0 15px 15px;
border-image: linear-gradient(
    to right,
    #5a5a5a, 
    #7f8c8d, 
    #aab1b5, 
    #cfd8dc  
  ) 1;
}
.carousel .list .item .info a {
  display: inline-block;
  padding: 12px 30px;
  background: #1e90ff;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.carousel .list .item .info a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
  z-index: 0;
}

.carousel .list .item .info a:hover::before {
  left: 0;
}
.carousel .list .item .info a:hover {
  background-color: #0066cc;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}
.carousel .list .item .info a {
    padding: 10px 30px;
    background: #ffffff4d;
    border-radius: 30px;
}
/* Base styles for all slider items (hidden by default) */
.carousel .list .item {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

/* Only the active item is visible and interactive */
.carousel .list .item.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Always show arrows */
.carousel .arrow {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
 
}


.carousel .list .item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url(https://bitpixelcoders.com/wp-content/uploads/2025/04/Dark-Blue-Futuristic-Technology-Keynote-Presentation.jpg)!important;
  background-size: 110%;
  background-position: center center;
  background-repeat: no-repeat;
  animation: gentleZoomPan 25s ease-in-out infinite alternate;
}

/* Smooth zoom and pan animation */
@keyframes gentleZoomPan {
  0% {
    background-size: 110%;
    background-position: center center;
  }
  100% {
    background-size: 120%;
    background-position: right center;
  }
}
/* mouse effect*/
.carousel:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: none;
  transform: scale(0);
  transition: transform 0.5s ease-out, opacity 1s ease;
}

.carousel:hover:before {
  transform: scale(10);
  opacity: 0;
}

.carousel:hover {
  cursor: pointer;
}

@media (max-width: 768px) {
  .carousel .list .item::before {
    background-position: center top;
    animation: gentleZoomPanMobile 20s ease-in-out infinite alternate;
background-size: 240% !important;
  }

  @keyframes gentleZoomPanMobile {
    0% {
      transform: scale(1.05) translateY(0);
    }
    100% {
      transform: scale(1.1) translateY(-3%);
    }
  }
.carousel .list .item .image {
    height: 50%;
	width: 50%;}
.carousel.effect .item .info .des {
    line-height: 1.2;
}
.carousel.effect .arrow button {bottom: 5%;
right: 80%;
}
.carousel {
        height: 98vh;
    }
.carousel .list .item .info {
        backdrop-filter: blur(0px);
    }
}