/* Fade-in Animation (Once) */
@keyframes fadeInUpOnce {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-once {
    animation: fadeInUpOnce 1s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.3s;
}

/* Button Hover Animation */
@keyframes buttonPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(0, 123, 255, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }
}

.btn-animate {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-animate:hover {
    animation: buttonPulse 0.8s infinite alternate;
}

@media (hover: none) {
    .btn-animate:hover {
        animation: none;
    }
}

/* List Items Animation */
ul li {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: calc(0.3s * var(--i)); /* Faster stagger */
}

/* Keyframes for fade-in */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon Color */
#icon {
    color: #17B19D;
}

/* Image Animation */
.work-img img {
    animation: shakeImage 2s ease-in-out infinite;
    transform-origin: center;
    max-width: 100%;
    height: auto;
}

/* Keyframes for shaking */
@keyframes shakeImage {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(2deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-2deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* "How It Works" Section */
.work-heading {
    opacity: 0;
    transform: translateY(-50px);
    animation: slideIn 1s ease-out forwards;
}

/* Blinking animation */
.work-heading h1 {
    animation: blinkText 1s infinite alternate;
}

/* Slide-in keyframes */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blinking keyframes */
@keyframes blinkText {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

/* Reviews */
.single-ongoing-update {
    border: 2px solid #333333ab;
}

/* Highlight text */
#span {
    color: #17B19D;
}

/* Responsive Carousel */
#carouselExampleSlidesOnly img {
    width: 100vw; /* Full-screen width */
    height: 60vh; /* Adjusted height for better responsiveness */
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
    ul li {
        animation-delay: calc(0.2s * var(--i)); /* Adjusted for smaller screens */
    }

    .btn-animate {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    #carouselExampleSlidesOnly img {
        height: 50vh;
    }
}

@media (max-width: 768px) {
    .work-heading {
        font-size: 1.5rem;
    }

    .btn-animate {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    #carouselExampleSlidesOnly img {
        height: 40vh;
    }
}

@media (max-width: 480px) {
    .work-heading h1 {
        font-size: 1.2rem;
    }

    ul li {
        font-size: 0.9rem;
    }

    .btn-animate {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    #carouselExampleSlidesOnly img {
        height: 35vh;
    }
}

.custom_menu-btn button span {
    background: linear-gradient(to right, #17b19c97, #000000);
}


