/* Stats Section */
.stats h3 {
    font-weight: bold;
    margin-bottom: 0;
}

/* Testimonials */
.testimonial {
    margin-bottom: 1rem;
}

.testimonial-author {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Card Images */
.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Service Icons */
.service-icon {
    margin-bottom: 1rem;
}

.service-icon i {
    transition: transform 0.3s ease;
}

.service-icon:hover i {
    transform: scale(1.1);
}

/* Carousel Styles */
.carousel.slide.position-relative {
    position: relative;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 10;
}

.carousel,
.carousel-inner,
.carousel-item {
    height: 100vh;
}

.slider-img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

/* Carousel Caption */
.carousel-caption-custom {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    color: #fff;
    z-index: 19;
}

/* Slide Title */
.slide-title {
    font-size: 4rem;
    font-weight: 700;
    max-width: 700px;
    z-index: 19;
    opacity: 0;
    transform: translateX(-100px);
    animation: titleIn 2s ease forwards;
}

/* Slide Description */
.slide-desc {
    margin-top: 20px;
    font-size: 1.3rem;
    max-width: 600px;
    z-index: 19;
    opacity: 0;
    transform: translateY(60px);
    animation: descIn 1s ease forwards;
    animation-delay: 0.4s;
}

/* Animations */
@keyframes titleIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes descIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show Up Animation */
.showup {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.showup.active {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel Wave */
.carousel-with-wave {
    margin-bottom: 0;
    position: relative;
}

.wave-bottom-cover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    overflow: visible;
    z-index: 20;
    pointer-events: none;
}

.wave-bottom-cover svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 150px;
    display: block;
}

/* Binary Rain Canvas */
#binaryRain {
    position: absolute;
    inset: 0;
    z-index: 9;
    pointer-events: none;
}

.wave-animated-3 {
    transform-origin: center;
}

/* Features Section */
.features-section {
    position: relative;
    z-index: 1;
}

/* Service Cards */
.service-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.service-card.featured {
    border: 3px solid #FF6B6B;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FF6B6B;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    z-index: 10;
    font-weight: bold;
}

.service-icon-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features li {
    padding: 8px 0;
    color: #555;
}

.service-features i {
    color: #db3444;
    margin-right: 10px;
}

.service-price {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.price-value {
    font-size: 24px;
    font-weight: bold;
    color: #db3444;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .wave-bottom-cover {
        height: 80px;
    }
    
    .wave-bottom-cover svg {
        height: 80px;
    }
    
    @keyframes wave-flow-1 {
        0%, 100% { transform: translateX(0) scaleY(1); }
        50% { transform: translateX(-15px) scaleY(0.98); }
    }
    
    @keyframes wave-flow-2 {
        0%, 100% { transform: translateX(0) scaleY(1); }
        50% { transform: translateX(15px) scaleY(1.02); }
    }
    
    @keyframes wave-flow-3 {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(-10px); }
    }
}
