/* Card Specific Styles */
.floating-card {
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.floating-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.floating-card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
}

.floating-card h4 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.floating-card h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: currentColor;
    opacity: 0.3;
    border-radius: 3px;
}

.card-subtitle {
    font-size: 1rem;
    color: #555;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.card-dots {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: 1;
    transition: all 0.3s ease;
}

.floating-card:hover .card-dots {
    transform: scale(1.1);
    opacity: 0.15;
}

@media (max-width: 768px) {
    .floating-card {
        padding: 1.5rem 1rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}