/* Buttons */
.btn-secondary-custom {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--secondary-foreground);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius);
    box-shadow: 0 0 20px rgba(242, 153, 17, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-secondary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(242, 153, 17, 0.6);
    color: var(--secondary-foreground);
}

/* Animations */
@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(194, 255, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 25px rgba(194, 255, 0, 0.6);
    }
}

.animate-glow-pulse {
    animation: glow-pulse 2s infinite;
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.text-reveal {
    clip-path: inset(100% 0 0 0);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal.active {
    clip-path: inset(0 0 0 0);
}

/* Service Cards */
.service-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    background: var(--card);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(41, 70, 116, 0.2);
}

.service-card .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #0a58ca);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* Testimonials Carousel */
.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .testimonial-slide {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (min-width: 992px) {
    .testimonial-slide {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

/* Fixed Elements */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce-slow 2s infinite;
}

@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

#back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Badges */
.badge-soft-primary {
    background-color: rgba(41, 70, 116, 0.1);
    color: #294674;
    font-weight: 600;
}

.badge-soft-accent {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-weight: 600;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(41, 70, 116, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Section Divider */
.section-divider {
    height: 1px;
    width: 100%;
    margin: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(41, 70, 116, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    position: relative;
    overflow: hidden;
}