/* Smooth Scroll & Custom Scrollbar */
textarea::-webkit-scrollbar {
    width: 6px;
}

textarea::-webkit-scrollbar-track {
    background: #f1f5f9;
}

textarea::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

/* Marquee Animation */
.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    gap: 2rem;
    min-width: 100%;
    justify-content: space-around;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 2rem));
    }
}

/* Button Shine Effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn-shine:hover::after {
    left: 100%;
}

/* Partner Logo Badge Styles */
.partner-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid;
    transition: transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.partner-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Partner Badge Grid Alignment */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns on Mobile */
    gap: 0.75rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .partner-grid {
        grid-template-columns: repeat(4, 1fr);
        /* 4 Columns on Desktop */
    }
}

.partner-badge-full {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Pushes content to edges */
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid #e2e8f0;
    width: 100%;
    /* Forces full width of grid cell */
    transition: all 0.2s;
}

.partner-badge-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background: white;
}

/* Shine Animation */
@keyframes shine {
    0% {
        left: -100%;
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

.btn-shine-effect {
    position: relative;
    overflow: hidden;
}

.btn-shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

/* Pulse Ring Animation */
@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(234, 88, 12, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0);
    }
}

.animate-pulse-ring {
    animation: pulse-ring 2s infinite;
}