/*==================================================================================
    Custom Stylesheet (Any custom styling you want to apply should be defined here).
====================================================================================*/

/* Video loading animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Mobile banner image optimizations */
@media (max-width: 576px) {
  .banner-image {
    margin-top: 20px !important;
  }
  .banner-image .bottle {
    width: 45% !important;
    max-width: 250px;
  }
  .banner-image .ice1,
  .banner-image .ice2 {
    width: 20% !important;
    max-width: 120px;
  }
  .figure-caption {
    top: -15px !important;
    right: 15px !important;
  }
  .image-sell-offer h5 {
    font-size: 14px !important;
  }
}

/* Feature Icons - Make icons larger to fit properly in circles */
.single-feature-inner .feature-icon img.svg {
    width: 60px !important;
    height: 60px !important;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: brightness(0) invert(1); /* Make icons white */
}

/* Override the existing small SVG sizing */
.single-feature-inner .feature-icon svg {
    width: 60px !important;
    height: 60px !important;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: brightness(0) invert(1); /* Make icons white */
}

/* Specific styling for water-cooler icon to make it larger due to its large viewBox */
.single-feature-inner .feature-icon img[src*="water-cooler.svg"] {
    width: 120px !important;
    height: 120px !important;
}

/* Fix alignment - ensure proper centering of feature content */
.single-feature-inner {
    text-align: center !important;
}

.single-feature-inner .feature-icon {
    margin: 0 auto 20px auto !important;
}

.single-feature-inner h4 {
    text-align: center !important;
    margin-top: 0 !important;
}

/* Purity to the Max section - Type 2 features */
.type2 .single-feature img.svg {
    filter: brightness(0) invert(1) !important; /* Make icons white */
    margin: 0 auto 22px auto !important;
    display: block !important;
}

.type2 .single-feature svg {
    filter: brightness(0) invert(1) !important; /* Make icons white */
    margin: 0 auto 22px auto !important;
    display: block !important;
}

.type2 .single-feature {
    text-align: center !important;
}

.type2 .single-feature h3 {
    text-align: center !important;
    margin-top: 0 !important;
}

/* Ensure experience icon has consistent sizing and spacing */
.type2 .single-feature img[src*="experience.svg"],
.type2 .single-feature svg[src*="experience.svg"] {
    width: 64px !important;
    height: 64px !important;
    margin: 0 auto 22px auto !important;
    display: block !important;
}

/* Responsive styles for experience icon */
@media (max-width: 991.98px) {
    .type2 .single-feature img[src*="experience.svg"],
    .type2 .single-feature svg[src*="experience.svg"] {
        width: 64px !important;
        height: 64px !important;
        margin: 0 auto 22px auto !important;
        display: block !important;
    }
}

@media (max-width: 767.98px) {
    .type2 .single-feature img[src*="experience.svg"],
    .type2 .single-feature svg[src*="experience.svg"] {
        width: 64px !important;
        height: 64px !important;
        margin: 0 auto 22px auto !important;
        display: block !important;
    }
}

/* Video Play Button Styling */
.video-play-button {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.video-play-button i {
    color: #333;
    font-size: 24px;
    margin-left: 4px; /* Slight offset to center the play icon */
}

/* Background Video Container */
.bottle-video-wrap {
    position: relative;
    min-height: 500px;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

/* Ensure video covers the entire container */
.bottle-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video container positioning */
.bottle-video-wrap .relative {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Ensure background image is visible immediately */
.bottle-video-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video loading states */
.bottle-video-wrap .loading-indicator {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 18px;
    font-weight: 500;
}

